[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mail bounce unkown user



Hi,

Am Freitag, 6. Oktober 2006 09:41 schrieb NorLan:
> Matus UHLAR - fantomas schrieb:
> > On 05.10.06 12:07, NorLan wrote:
> >> problem: until now smtp takes mails from unkown users and bounces if the
> >> user does not exist.
> >>
> >> question: what could i do that a unkown user doesn't get a bounce mail ?
> >> (or is this problem solution not appropiate?)

you can merge all smtpd_*_restrictions in smtpd_recipient_restrictions.
Use reject_unauth_destination and reject_unlisted_recipient to reject unknown 
recipients:

smtpd_recipient_restrictions =
        permit_mynetworks,
        reject_unauth_destination
        reject_unlisted_recipient
        check_helo_access hash:/etc/postfix/helo_access,
        reject_invalid_hostname,
        reject_maps_rbl,
        reject_unknown_sender_domain,
        reject_unknown_recipient_domain,
        reject_non_fqdn_sender,
        reject_non_fqdn_recipient,
        reject_unauth_pipelining,
        check_relay_domains
	permit

hth
Greetings
Gregor
-- 
    @mazing.de         fon +49 8142 6528665
  Gregor Hermens       fax +49 8142 6528669
Brucker Strasse 12  gregor.hermens@a-mazing.de
D-82216 Gernlinden    http://www.a-mazing.de/



Reply to: