Re: postfix and mail origin checks

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



> hi,
> 
> Whats the 'robust' way to make sure email to a specific destination is 
> only accepted if it came over the localhost:25 or /usr/sbin/sendmail 
> route ? anything else should get a 5xx error. Emails to other 
> destinations should remain unaffected.
> 
I guess you should need to configure two incoming variant in master.cf,
so you have one smtpd listening for localhost and one on the real ip.
For the one on the real ip you just set a recipient restriction that
disallows your specific destination (directly in master.cf itself).

I didn't test, but it should work.

Regards,
Andreas

-- 
Solvention
Egermannstr. 6-8
53359 Rheinbach

Tel: +49 2226 158179-0
Fax: +49 2226 158179-9

http://www.solvention.de
mailto:info@xxxxxxxxxxxxx

<<attachment: smime.p7s>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux