On Mon, February 9, 2009 8:14 am, David Cottle said:

> I want to have multiple incoming hostnames to match my domains so it
> passes spam checks better.
>
> I found this:
>
> http://www.linuxmail.info/postfix-multiple-ip-address-smtp-greeting/

I would seriously like to challenge the following statement on that site:

"This may cause a problem since some mail servers check the SMTP hostname
banner to see if the hostname points to the same mail server. If not, any
mail you send may be rejected or handled as spam."

Checks like these are not likely to reject any amount of spam at all, but
they will definitely block legitimate messages -- more or less all
messages hosted by a hosting provider few (if any, of them provide a
unique IP address for each hosted domain). Ignore the advice until you see
evidence that it's actually causing you problems.

(Besides, the advice doesn't even make sense. It's the banner of the SMTP
*server* we're talking about. When your server acts as a *client*, how
would the receiving server know your banner? Connect back to the
connecting client? Connect back to the MX of the sender address?)

> exactly what I want except it does not work :(
>
> master.cf (before)
>
> smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025
> smtps inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025 -o
> smtpd_tls_wrappermode=yes
> submission inet n - - - - smtpd -o smtpd_enforce_tls=yes -o
> smtpd_sasl_auth_enable=yes -o
> smtpd_client_restrictions=permit_sasl_authenticated,reject
>
> master.cf (updated trying to do this - i am using real domain names
> and ips)
>
> #smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025
> localhost:smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025
> ipaddressgateway:smtp inet n - - - - smtpd -o
> smtpd_proxy_filter=127.0.0.1:10025
> ipaddress1:smtp inet n - - - - smtpd -o hostname=domain1 -o
> smtpd_proxy_filter=127.0.0.1:10025

The name of the parameter is myhostname, not hostname.

[...]

-- 
Magnus Bäck
mag...@dsek.lth.se

Reply via email to