rejecting mail / pattern
Alex Neuman van der Hans
alex at rtpty.com
Sat Aug 30 16:34:08 IST 2008
Look into milter-cli from snertsoft.com - that way you can reject
before it gets to MailScanner.
Sent from my iPhone
On Aug 30, 2008, at 7:03 AM, "Jan Agermose" <ja at conviator.com> wrote:
> im not sure if this is mailscanner or a sendmail setting. I want to
> be able to block mails based on TO-address. I see sometimes one of
> my customers gets like 5000 mailer daemon mails or maybe just is hit
> by some spam. Often its to/from something I could easy block if I
> could use a perl pattern like ".+olga at blabla.com" or something like
> this. I know I can do this as part of the "definitly spam" setting
> and then its blacklisted and stored - but often I simply want to
> block the mail - like on the MTA level so its rejected and not stored.
> Can I do this in Mailscanner or is it sendmail? But if its sendmail
> - then I cannot use patterns, right? I mean in /etc/mail/access - I
> can ofcause write like "olga at blabla.com
> REJECT" equal to "*olga at blabla.com".
> That would reject 1olga@ and 2olga@ and so on so Im almost there but
> it would also reject "olga at ..." and thats not what I want - can I
> use patterns somehow - stronger patterns than ?
> best regards
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> Before posting, read http://wiki.mailscanner.info/posting
> Support MailScanner development - buy the book off the website!
More information about the MailScanner