Le jeudi 13 septembre 2007, Justin Piszcz a écrit : > Aug 20 18:23:36 l2 postfix/smtpd[11969]: NOQUEUE: reject: RCPT from > smtp2.netcabo.pt[212.113.174.29]: 550 5.7.1 <[EMAIL PROTECTED]>: Recipient > address rejected: Mail appeared to be SPAM or forged. Ask your > Mail/DNS-Administrator to correct HELO and DNS MX settings or to get > removed from DNSBLs; MTA helo: exch01smtp09.hdi.tvcabo, MTA hostname: > smtp2.netcabo.pt[212.113.174.29] (helo/hostname mismatch); > from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP > helo=<exch01smtp09.hdi.tvcabo> > > # VERSION: 0.1.14 beta-6 > > We see here that the ISP is tvcabo in Portugal but that they are going > through an exchange server and it passed all of my postfix checks no > errors, but it died here. > > Can we make either an exception for exch* (exhcange hosts) or somehow be > more careful with this type of mail? > > I am not sure of the best approach but just reporting this and asking > for suggestions. > > Thanks! >
This should be done at the Postfix level. A good way of doing this is to add in smtpd_recipient_restrictions the following: smtpd_recipient_restrictions = <whatever>, check_client_access hash:/etc/postfix/client_exceptions, <whatever> Be sure to add the check_client_access BEFORE policyd. In /etc/postfix/client_exceptions, put: the.ip.address OK # You can put a hostname instead of an IP address if you wish and compile the map with: postmap /etc/postfix/client_exceptions Once it's done, reload postfix (a restart is NOT needed). Hope it helps, -- Francis Galiegue, [EMAIL PROTECTED] [ATTENTION - CHANGEMENT D'ADRESSE !] 40 av Raymond Poincaré, 75016 PARIS +33178945570, +33683877875 ____________________________________________________________ Policyd-weight Mailinglist - http://www.policyd-weight.org/