( Swifty | 2015. 09. 17., cs – 09:25 )

Ha valaki azonosítja magát, - 465-ről jön - akkor Ő lesz a levél első feladója, így csak 1 db Received lesz benne...
Más részről a többi előfordulást is kivenné... (man header_checks)

Nálam még ez is szerepel a master.cf-ben:

127.0.0.1:smtp inet n - - - - smtpd
-o always_add_missing_headers=yes
-o cleanup_service_name=cleanup_outgoing

192.168.255.254:smtp inet n - - - - smtpd
-o always_add_missing_headers=yes
-o cleanup_service_name=cleanup_outgoing

PUBLIKUS_IP:smtp inet n - - - 1 postscreen

#port 587
submission inet n - - - - smtpd
-o always_add_missing_headers=yes
-o cleanup_service_name=cleanup_outgoing

#port 465
smtps inet n - - - - smtpd
-o always_add_missing_headers=yes
-o cleanup_service_name=cleanup_outgoing

cleanup_outgoing unix n - n - 0 cleanup
-o header_checks=pcre:header_checks,pcre:header_checks_outgoing

--
Debian Linux rulez... :D