On 2007/09/25 10:29, Stuart Henderson wrote:
> Also: all hosts listed in MX records should be aware of the
> list of valid users and do the same. For sendmail, this is easy
> to do with the access map.

I had a question off-list about how to do this, so I guess
some other people will benefit from an example of how to set
this up.

To:domain.com            error:550 5.1.1 No such user
To:[EMAIL PROTECTED] OK
To:[EMAIL PROTECTED]      OK
To:[EMAIL PROTECTED]      OK

then (cd /etc/mail; sudo makemap hash access < access)

Reply via email to