Re: Multiple instances (incoming)

2009-02-09 Thread Magnus Bäck
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


Multiple instances (incoming)

2009-02-08 Thread David Cottle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

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/

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
ipaddress2:smtp inet n - - - - smtpd -o hostname=domain2 -o
smtpd_proxy_filter=127.0.0.1:10025
ipaddress3:smtp inet n - - - - smtpd -o hostname=domain3 -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

Any ideas?

Thanks!


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmP18IACgkQi1lOcz5YUMgirgCg4Y92qCy2R5g8BPEn/aymIy2I
kPQAoKlqkScthh0qo6a39a0Vn1BkYmqf
=F+0K
-END PGP SIGNATURE-

begin:vcard
fn:David Cottle
n:Cottle;David
email;internet:webmas...@aus-city.com
title:Webmaster
version:2.1
end:vcard