Re: .forward ignored

2011-10-13 Thread Nikolaos Milas
On 13/10/2011 9:36 μμ, Wietse Venema wrote: The DEBUG_README example has a ';' between PATH=stuff and '('. debugger_command = PATH=/bin:/usr/bin:/usr/local/bin; (truss -p $process_id 2>&1 | logger -p mail.info)& sleep 5 Without this ';' you have a syntax error. Ahh,

Re: .forward ignored

2011-10-13 Thread Wietse Venema
Nikolaos Milas: > I added in /etc/postfix/main.cf: > debugger_command = > PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin > (strace -p $process_id 2>&1 | logger -p mail.info) & sleep 5 The DEBUG_README example has a ';' between PATH=stuff and '('. debugger_command = PATH=/bin:/usr/b

Re: .forward ignored

2011-10-13 Thread Nikolaos Milas
On 13/10/2011 6:40 μμ, Wietse Venema wrote: A few messages ago, I asked this: To find out what system call is failing, see the strace instructions in http://www.postfix.org/DEBUG_README.html, and compare strace results. Hi Wietse, First, I found the cause: It was selinux (once more...). Alt

Re: .forward ignored

2011-10-13 Thread Wietse Venema
Nikolaos Milas: > On 13/10/2011 4:59 ??, Wietse Venema wrote: > > > You need to STRACE the program that reads .forward files! That would > > be the local(8) delivery agent. > > Thanks Wietsie, > > I ran with: > > local unix - n n - - local -D -vv A few messages ago, I asked this: > To find ou

Re: .forward ignored

2011-10-13 Thread Nikolaos Milas
On 13/10/2011 4:59 μμ, Wietse Venema wrote: You need to STRACE the program that reads .forward files! That would be the local(8) delivery agent. Thanks Wietsie, I ran with: local unix - n n - - local -D -vv and found: Oct 13 17:48:47 vpnspot postfix/local[12683]: deliver_dotforward[3]: lo

Re: .forward ignored

2011-10-13 Thread Wietse Venema
Nikolaos Milas: > On 13/10/2011 2:05 ??, Wietse Venema wrote: > > > To find out what system call is failing, see the strace instructions > > in http://www.postfix.org/DEBUG_README.html, and compare strace results. > > > > Thank you Wietsie. > > (In the meantime I upgraded to postfix v2.8.5 but t

Re: .forward ignored

2011-10-13 Thread Nikolaos Milas
On 13/10/2011 2:05 μμ, Wietse Venema wrote: To find out what system call is failing, see the strace instructions in http://www.postfix.org/DEBUG_README.html, and compare strace results. Thank you Wietsie. (In the meantime I upgraded to postfix v2.8.5 but the behavior didn't change.) I ran

Re: .forward ignored

2011-10-13 Thread Wietse Venema
Nikolaos Milas: > I have two identical CentOS 6 servers using > postfix-2.6.6-2.1.el6_0.x86_64 (provided as a standard distribution > package through the repos). To find out what system call is failing, see the strace instructions in http://www.postfix.org/DEBUG_README.html, and compare strace r