|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: /dev/null for MX
From: adi (adi
imt.co.id)
Date: Wed Oct 01 2003 - 22:25:04 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Oct 02, 2003 at 08:26:45AM +0700, Dapid Candra wrote:
> Is there a way to /dev/null-ing MX records for some address? I only want
> to receive e-mail to username
domain.com, not to
> username
www.domain.com, so I want to set MX for www.domain.com to a
> null address or something with /dev/null effect.
recent postfix snapshot has check_sender_mx_access for
smtpd_*_restrictions.
for example:
smtpd_sender_restrictions =
...
check_sender_mx_access = hash:/etc/postfix/mx_access
mx_access:
null.domain.com reject not accepted
dns:
www.domain.com. IN A 0 null.domain.com.
But, if I understand the problem you're trying to solve, you
could simply reject the sender using 'old' mechanism. e.g
using check_sender_access or if domain.com is suppose to be
delivered locally, then don't put www.domain.com into
$mydestinations or $virtual_alias_domains or $virtual_mailbox_domain.
Regards,
P.Y. Adi Prasaja
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]