Prev: private/smtp-amavis: No such file or directory helps for master.cf
Next: postfix-2.7.1 mail_params.c:531: error: expected expression before'/' token
From: Sahil Tandon on 11 Jul 2010 21:44 On Mon, 2010-07-12 at 02:55:40 +0200, David Touzeau wrote: > Jul 12 02:48:31 appliance postfix-mail.touzeau.biz/qmgr[15659]: > warning: connect to transport private/smtp-amavis: No such file or > directory > > root(a)appliance:/var/spool/postfix-mail.touzeau.biz/private# ls -la > srw-rw-rw- 1 postfix root 0 2010-07-12 02:38 smtp-amavis:127.0.0.1:1026 Odd. > Master.cf : > -o content_filter=smtp-amavis:127.0.0.1:1026 You might want to use brackets here to encapsulate the IP. > smtp-amavis:127.0.0.1:1026 unix - - - - 7 smtp Why are you using 'inet' service name syntax with the 'unix' service type? Remove ':127.0.0.1:1026' and restart Postfix. And unless you want chroot, you can change the third '-' to 'n'. To familiarize yourself with what is supported in master.cf, see the master(5) manual. -- Sahil Tandon <sahil(a)FreeBSD.org>
From: Sahil Tandon on 12 Jul 2010 07:35 On Mon, 2010-07-12 at 10:19:34 +0200, David Touzeau wrote: > On 12/07/2010 03:44, Sahil Tandon wrote: > >Why are you using 'inet' service name syntax with the 'unix' service > >type? Remove ':127.0.0.1:1026' and restart Postfix. And unless you > >want chroot, you can change the third '-' to 'n'. To familiarize > >yourself with what is supported in master.cf, see the master(5) manual. > > thanks for your help but this did not fix the problem nnow postfix claim : > > Jul 12 10:16:55 appliance postfix-mail.touzeau.biz/master[31968]: > fatal: /etc/postfix-mail.touzeau.biz/master.cf: line 29: valid > hostname or network address required in "smtp-amavis:127.0.0.1:1026" > > i have set this : > > smtp-amavis:127.0.0.1:1026 inet - - n - 7 smtp Uh, I asked you to remove ':127.0.0.1:1026' from the above line, and instead, you kept that and changed 'unix' -> 'inet'. Why? -- Sahil Tandon <sahil(a)FreeBSD.org>
From: Victor Duchovni on 12 Jul 2010 10:58
On Mon, Jul 12, 2010 at 03:17:49PM +0200, David Touzeau wrote: > smtp-amavis unix - - n - 7 smtp > -o smtp_data_done_timeout=1200 > -o smtp_send_xforward_command=yes > -o disable_dns_lookups=yes I notice people still using "disable_dns_lookups=yes" long after the reason for doing so became moot. This setting is no longer necessary for content filters, and is rarely, if ever, necessary otherwise. It should be removed from HOWTO guides, ... -- Viktor. |