>My IMGate machine (mx1.netdotcom.com) is the MX specified in my DNS. My
>Imail server host name is mail.netdotcom.com which is NOT specified as an MX
>in DNS.

it's good not to have your mailbox server in DNS MX records.

>A lot of spam is addressed in the to field as: [EMAIL PROTECTED]
>or [EMAIL PROTECTED]

I get a little bit of that. The jerks assume the mx is the mailbox 
server.  wrong.

>Could I safely use a regexp header filter in IMGate to block specifically
>spam to undisclosed@mx1 (or some variant) without blocking legit mail that
>as I think should really be addressed to [EMAIL PROTECTED] or
>some such variation?

evaluating .regexp is one place to do it, but .regexp evaluations are 
probably more expensive than .map table lookups.  It's better to have the 
SMTPD process reject, than to have the cleanup process reject.

in smtpd_client_restrictions, add this

check_recipient_access hash:/etc/postfix/recipient.map

In recipient.map,

mx1.netdotcom.com REJECT

Len


http://MenAndMice.com/DNS-training
http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K
http://IMGate.MEIway.com  : Build free, hi-perf, anti-abuse mail gateways


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to