howto stop 1 users outgong mail from being scanned & headers

Alex Neuman van der Hans alex at nkpanama.com
Wed Jul 13 18:03:38 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Dan Carl wrote:

>>>Dan Carl wrote:
>>>
>>>      
>>>
>>>>I have a user named "mailer" that I use to send  bulk emails.
>>>>I don't want Mailscanner to scan or change headers on any of its
>>>>outgoing
>>>>mail.
>>>>I made a virus.scanning.rules listed below.
>>>>From:   mailer at mydomain.com        no
>>>>FromOrTo:    default                 yes
>>>>
>>>>and a signing rule as follows
>>>>From:   mailer at mydomain.com        no
>>>>FromOrTo:    default                 yes
>>>>
>>>>When I send emails they are still sent via Mailscanner
>>>>
>>>>
>>>>        
>>>>
>>And besides, you want messages not to be "touched" by MailScanner, so
>>why not set an additional MTA process on a different port to take care
>>of this?
>>    
>>
>This sounds like the best solution.
>Could you elaborate on how to do this.
>Tried google and did some experimenting without success.
>example:
>DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
>DAEMON_OPTIONS(`Port=25025,Addr=127.0.0.1, Name=MTA-2')dnl
>
>MTA is sendmail.
>
>  
>
>>In any case, I hope this "bulk email" you talk about is not spam. I've
>>started to notice local spammers and local ISP-friendly spammers are
>>starting to use MailScanner, "amavisd", SpamAssassin's milter, and other
>>antispam tools. Ironic.
>>    
>>
>I email coupons to past attendees, we happen to have 1000's of them.
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
>Support MailScanner development - buy the book off the website!
>  
>
Remember how you "turn off sendmail" when you "turn on MailScanner" so
that mailscanner "calls" sendmail?

Well, you'd turn on sendmail by itself, apart from MailScanner - but
with a twist. You can go with one of two options:

1. Add "-ODaemonPortOptions=Port=25025,Addr=127.0.0.1,Name=MTA-2" to the
sendmail program called by /etc/rc.d/init.d/sendmail or,
2. Create a new sendmail.mc called sendmail.local.mc, for example, add
"DAEMON_OPTIONS(`Port=25025,Addr=127.0.0.1, Name=MTA-2')dnl" to it.
Compile it using m4 < /etc/mail/sendmail.local.mc >
/etc/mail/sendmail.local.cf, and add -C /etc/mail/sendmail.local.cf to
whatever parameters sendmail starts with in /etc/rc.d/init.d/sendmail.

This also fixes the "my messages come out garbled when sent from apache"
problem nobody seems to have figured out yet.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list