* Oliver Kohll - Mailing Lists <oliver.li...@gtwm.co.uk>: > Hello, > > My postfix manages mail for a number of domains, e.g. gtwm.co.uk. The MX > records are set so that mail is filtered through a third party spam > catcher. > > However the server has one domain that is the 'main' hostname of the > server, listed in /etc/hosts: > 62.73.174.227 eul0001189.eu.verio.net eul0001189 > and in 'mydestination' in /etc/postfix/main.cf > > The MX record for this just points to itself: > eul0001189.eu.verio.net. 3600 IN MX 100 eul0001189.eu.verio.net. > > Addresses are mapped to accounts in /etc/postfix/virtual, e.g. > oli...@gtwm.co.uk wmoliver > > Now the problem is that if a spammer sends email directly to > wmoli...@eul0001189.eu.verio.net it bypasses the third party spam filter > and gets delivered. This has been happening.
Then don' use eul0001189.eu.verio.net as myhostname/mydestination, but: eul0001189.eu.verio.net.invalid and in virtual use: oli...@gtwm.co.uk wmoli...@eul0001189.eu.verio.net.invalid > I've tried removing eul0001189.eu.verio.net from mydestination but this > stopped any mail from being able to be delivered, probably because address > rewriting uses this as the final destination. e.g. here is some of the > header of an example mail to oli...@gtwm.co.uk Yes. -- Ralf Hildebrandt Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.computerbeschimpfung.de It is better to live rich than to die rich. -- Samuel Johnson