On Thu, Mar 25, 2010 at 03:40:55PM +0000, Jamie Griffin wrote: > > Hello > > My isp has sent a message that my postfix is rejecting. I have spent the > morning reading through what i think are the relevent parts of the > documentation and through the archives but the changes i've made to my > configuration are not working and I don't understand what i've done wrong. > > The logfile has the following entry: > > Mar 25 15:04:45 fix postfix/smtpd[11095]: NOQUEUE: reject: RCPT from > pih-inmx03.plus.net[212.159.10.4]: 450 4.1.8 > <www-d...@fhw-workplace02.servers.plus.net>: Sender address > rejected: Domain not found; > from=<www-d...@fhw-workplace02.servers.plus.net> > to=<grif...@fantomatic.co.uk> proto=ESMTP helo=<pih-inmx03.plus.net > The reject should be expected since fhw-workplace02.servers.plus.net neither owns an A nor an MX-RR.
> Mar 25 15:04:45 fix postfix/smtpd[11095]: disconnect from > pih-inmx03.plus.net[212.159.10.4] > > So i tried letting this domain through by putting .plus.net into a file: > > hash:/usr/pkg/etc/postfix/whitelist_sender > > like so: > /usr/pkg/etc/postfix/main.cf : > smtpd_sender_restrictions = > check_sender_access hash:/usr/pkg/etc/postfix/whitelist_sender, > [ ... ] > > /usr/pkg/etc/postfix/whitelist_sender: > .plus.net OK I think -- whilst I'm not entirely sure -- you should whitelist @fhw-workplace02.servers.plus.net and not only .plus.net. Oh, and don't forget to invoke postmap to create /usr/pkg/etc/postfix/whitelist_sender.db > Before this, I thought the problem might with configuration i've used in > $smtpd_recipient_restrictions but I tried a similar approach as above but > that didn't work either. > > I know I've made a mistake but i can't see what it is, i'm stuck. I'm > wondering if someone on list could give some guidance. My postconf -n is > below, thank you. IHMO you did no mistake, all postfix installations I know use reject_unknown_sender_domain to prevent SPAM. And no one should send emails with no valid A and MX-RR. > Jamie. Dennis