On Saturday 05 November 2011 04:13:17 Kamil Raczyński wrote: > On 2011-11-05 11:27, David Southwell wrote: > > Lets assume that is the case. If so can anyone please help me > > identify the > > > error? > > [...] > > > policyd-spf unix - n n - 0 spawn > > Is there whitespace at the beginning of this line? You have to remove it. > > man 5 master.cf says: > > SYNTAX > The general format of the master.cf file is as follows: > [...] > A logical line starts with non-whitespace text. A line that starts with > whitespace continues a logical line. > > So it has to start with: "policyd-spf" instead of: " policyd-spf". > > Best Regards
Thank you Kamil Great observation .. this has moved it on a long way. But there is still one problem. You will see in the extract from maillog that spf does not like "spf- policy_time_limit" and there is still a report of server configuration error. Where can I find a definitive list of the correct commands and syntax for these commands (running postfix-policyd-spf-perl-2.007). (Currently the web site for openspf.org is down.) Hopefully this may be the last obstacle! David Extract from maillog: Nov 5 04:20:29 dns1 postfix/postfix-script[28619]: refreshing the Postfix mail system Nov 5 04:20:29 dns1 postfix/master[1324]: reload -- version 2.8.5, configuration /usr/local/etc/postfix Nov 5 04:20:48 dns1 postfix/smtpd[28626]: connect from mail-bw0- f58.google.com[209.85.214.58] Nov 5 04:20:49 dns1 postfix/policy-spf[28631]: : SPF pass (Mechanism 'ip4:209.85.128.0/17' matched): Envelope-from: rubyonrails-talk+bncCPHKr- etfxcmunt1bboeiub...@googlegroups.com Nov 5 04:20:49 dns1 postfix/policy-spf[28631]: handler sender_policy_framework: is decisive. Nov 5 04:20:49 dns1 postfix/policy-spf[28631]: : Policy action=PREPEND Received-SPF: pass (googlegroups.com ... _spf.google.com: 209.85.214.58 is authorized to use 'rubyonrails-talk+bncCPHKr- etfxcmunt1bboeiub...@googlegroups.com' in 'mfrom' identity (mechanism 'ip4:209.85.128.0/17' matched)) receiver=dns1.vizion2000.net; identity=mailfrom; envelope-from="rubyonrails-talk+bncCPHKr- etfxcmunt1bboeiub...@googlegroups.com"; helo=mail-bw0-f58.google.com; client- ip=209.85.214.58 Nov 5 04:20:49 dns1 postfix/smtpd[28626]: warning: unknown smtpd restriction: "spf-policy_time_limit" Nov 5 04:20:49 dns1 postfix/smtpd[28626]: NOQUEUE: reject: RCPT from mail- bw0-f58.google.com[209.85.214.58]: 451 4.3.5 Server configuration error; from=<rubyonrails-talk+bnccphkr-etfxcmunt1bboeiub...@googlegroups.com> to=<da...@atf4.com> proto=ESMTP helo=<mail-bw0-f58.google.com> Nov 5 04:20:49 dns1 postfix/cleanup[28632]: D32BA119C4B: message- id=<20111105112049.d32ba119...@dns1.vizion2000.net> Nov 5 04:20:49 dns1 postfix/smtpd[28626]: disconnect from mail-bw0- f58.google.com[209.85.214.58] Nov 5 04:20:49 dns1 postfix/qmgr[28625]: D32BA119C4B: from=<double- bou...@dns1.vizion2000.net>, size=967, nrcpt=1 (queue active) Nov 5 04:20:49 dns1 postfix/local[28633]: D32BA119C4B: to=<r...@vizion2000.net>, orig_to=<postmaster>, relay=local, delay=0.03, delays=0.01/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox) Nov 5 04:20:49 dns1 postfix/qmgr[28625]: D32BA119C4B: removed Nov 5 04:21:50 dns1 postfix/smtpd[28626]: connect from unusquinquenovem.phi.ec-cluster.com[195.140.184.159] Nov 5 04:21:51 dns1 postfix/policy-spf[28631]: : SPF pass (Mechanism 'ip4:195.140.184.0/22' matched): Envelope-from: gbounce-6239235277-6160-600446737-1320491364...@bounce.youraccount.mbna.co.uk Nov 5 04:21:51 dns1 postfix/policy-spf[28631]: handler sender_policy_framework: is decisive. Nov 5 04:21:51 dns1 postfix/policy-spf[28631]: : Policy action=PREPEND Received-SPF: pass (bounce.youraccount.mbna.co.uk ... _spf.muc.ec- messenger.com: 195.140.184.159 is authorized to use 'gbounce-6239235277-6160-600446737-1320491364...@bounce.youraccount.mbna.co.uk' in 'mfrom' identity (mechanism 'ip4:195.140.184.0/22' matched)) receiver=dns1.vizion2000.net; identity=mailfrom; envelope- from="gbounce-6239235277-6160-600446737-1320491364...@bounce.youraccount.mbna.co.uk"; helo=unusquinquenovem.phi.ec-cluster.com; client-ip=195.140.184.159 Nov 5 04:21:51 dns1 postfix/smtpd[28626]: warning: unknown smtpd restriction: "spf-policy_time_limit" Nov 5 04:21:51 dns1 postfix/smtpd[28626]: NOQUEUE: reject: RCPT from unusquinquenovem.phi.ec-cluster.com[195.140.184.159]: 451 4.3.5 Server configuration error; from=<gbounce-6239235277-6160-600446737-1320491364...@bounce.youraccount.mbna.co.uk> to=<pa...@vizion2000.net> proto=ESMTP helo=<unusquinquenovem.phi.ec- cluster.com> Nov 5 04:21:51 dns1 postfix/cleanup[28632]: 5ABAA119C4B: message- id=<20111105112151.5abaa119...@dns1.vizion2000.net> Nov 5 04:21:51 dns1 postfix/smtpd[28626]: disconnect from unusquinquenovem.phi.ec-cluster.com[195.140.184.159] Nov 5 04:21:51 dns1 postfix/qmgr[28625]: 5ABAA119C4B: from=<double- bou...@dns1.vizion2000.net>, size=1152, nrcpt=1 (queue active) Nov 5 04:21:51 dns1 postfix/local[28633]: 5ABAA119C4B: to=<r...@vizion2000.net>, orig_to=<postmaster>, relay=local, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Nov 5 04:21:51 dns1 postfix/qmgr[28625]: 5ABAA119C4B: removed Nov 5 04:22:56 dns1 postfix/postfix-script[28656]: refreshing the Postfix mail system Nov 5 04:22:56 dns1 postfix/master[1324]: reload -- version 2.8.5, configuration /usr/local/etc/postfix Nov 5 04:22:56 dns1 postfix/anvil[28628]: statistics: max connection rate 1/60s for (smtp:209.85.214.58) at Nov 5 04:20:48 Nov 5 04:22:56 dns1 postfix/anvil[28628]: statistics: max connection count 1 for (smtp:209.85.214.58) at Nov 5 04:20:48 Nov 5 04:22:56 dns1 postfix/anvil[28628]: statistics: max cache size 1 at Nov 5 04:20:48