Hi!
I am trying to block e-mail from certain sites entering out network. The following is the configuration which i did. In /etc/mail/access I have added the following entries erocticmailers.com REJECT "Blocked site" mailheaven.com REJECT "Blocked Site" then I did makemap hash /etc/mail/access < /etc/mail/access Then i restarted sendmail : service sendmail restart
But i continue to get e-mails from this domain.Can somebody explain me how do I tackle this errror or is there anything which I have missed?
Thanks in advance
Ram-C
Tineeminee wrote:
Hi!
I am trying to block e-mail from certain sites entering out
network. The following is the configuration
which i did.
In /etc/mail/access
I have added the following entries
erocticmailers.com REJECT "Blocked site"
mailheaven.com REJECT "Blocked Site"
then I did
makemap hash /etc/mail/access < /etc/mail/access
Then i restarted sendmail :
service sendmail restart
First look in to the mail header are blocking the actual site from where mail is comming because these kind of site address are not xyz@eroticmailers.com as the username are generated randomly and site address is too long so yo will have to block the site from where it is comming and not eroticmailers.com that address can be found from the header
if not than while fetching mail i.e. while running fetchmail look for the address when the mail of that site is fetched
But i continue to get e-mails from this domain.Can somebody explain me how do I tackle this errror or
is there anything which I have missed?
Thanks in advance
Ram-C
hi The command for makemap is
makemap hash /etc/mail/access.db < /etc/mail/access
U forgot to put the db extension in access file.again make the access file and execute the above command.
bye Jitendra
--- Tineeminee tineeminee@hotmail.com wrote: > Hi!
I am trying to block e-mail from certain sites
entering out network. The following is the configuration which i did. In /etc/mail/access I have added the following entries erocticmailers.com REJECT "Blocked site" mailheaven.com REJECT "Blocked Site" then I did makemap hash /etc/mail/access < /etc/mail/access Then i restarted sendmail : service sendmail restart
But i continue to get e-mails from this domain.Can somebody explain me how do I tackle this errror or is there anything which I have missed?
Thanks in advance
Ram-C
===== ( >- GNU/LINUX, It's all about CHOICE -< ) /~\ __ __ /~\ | ) / mailto: jitendra@intellvisions.com \ (/ | |_|_ \ Network Engineer / _|_| ___________________________________/
________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com