Le 06/09/2010 11:54, Reuben (Plexus IT) a écrit :
Hey,
let me brain dump all I know here. I am using an instance of Postfix that is
running on a server setup using Plesk control panel. From what I can make
out that means that means they have configured Postfix in a nonstandard way.
The reason that Qmail seems to appear is that originally Plesk only support
Qmail and when they implemented Postfix they retained /var/qmail/mailnames
as the email directory.
the email directory is not the issue. your logs suggest that qmail is
being used.
Sorry I have no idea about the SPF stuff, seems to
be how postfix is setup on a Plesk server.
The reason that the chdir is not working is that there is no mail name
return+test=bob....@give2partners.org. I need it to strip the email so it
delivers it to ret...@give2partners.org address.
with postfix, you do this with
recipient_delimiter = +
that's all you need with postfix. you need to check that your system is
using postfix and only postfix. mixing MTAs will only cause problems.
Can you tell me what is
wrong with my VERP configuration that means this is not happening.
I have added the following to the configuration file according to
http://www.postfix.org/VERP_README.html:
recipient_delimiter = +
forward_path = $home/.forward${recipient_delimiter}${extension},
$home/.forward
propagate_unmatched_extensions = canonical, virtual
I appreciate any help.
Thanks
Reubs
-----Original Message-----
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of mouss
Sent: Thursday, 2 September 2010 11:25 a.m.
To: Postfix Users
Subject: Re: Using VERP on Postfix server
Le 01/09/2010 12:42, Reuben (Plexus IT) a écrit :
Hey,
Here is the relevant part of the mail logs as far as I can tell. Would you
be able to help me understand what is happening to the email with my VERP
setup:
Sep 1 22:06:07 host before-queue[24095]: check handlers for addr:
reub...@gmail.com
Sep 1 22:06:07 host before-queue[24095]: check handlers for addr:
return+test=bob....@give2partners.org
Sep 1 22:06:07 host before-queue[24095]: Processing handlers...
Sep 1 22:06:07 host before-queue[24095]: hook_dir =
'/usr/local/psa/handlers/before-queue'
Sep 1 22:06:07 host before-queue[24095]: call_handlers: call executable =
'/usr/local/psa/handlers/info/10-spf-EVbieC/executable'
Sep 1 22:06:07 host spf filter[24101]: Starting spf filter...
Sep 1 22:06:08 host spf filter[24101]: SPF result: pass
Sep 1 22:06:08 host spf filter[24101]: SPF status: PASS
Sep 1 22:06:08 host before-queue[24095]: handlers_stderr: PASS
Sep 1 22:06:08 host before-queue[24095]: call_handlers: PASS during call
'/usr/local/psa/handlers/info/10-spf-EVbieC/executable' handler
Sep 1 22:06:08 host before-queue[24095]: recipient[3] =
'return+test=bob....@give2partners.org'
Sep 1 22:06:08 host before-queue[24095]: handlers dir =
'/usr/local/psa/handlers/before-queue/recipient/return+test=bob....@give2par
tners.org'
Sep 1 22:06:08 host before-remote[24097]: check handlers for addr:
reub...@gmail.com
Sep 1 22:06:08 host before-remote[24097]: check handlers for addr:
return+test=bob....@give2partners.org
Sep 1 22:06:08 host postfix/cleanup[24100]: BE72CEA0255:
message-id=<aanlktinz4-5sr83p1maurvwywwbqucnmgkrvtotyx...@mail.gmail.com>
Sep 1 22:06:08 host postfix/qmgr[16285]: BE72CEA0255:
from=<reub...@gmail.com>, size=2281, nrcpt=1 (queue active)
Sep 1 10:06:08 host postfix/smtpd[24098]: disconnect from
unknown[127.0.0.1]
Sep 1 22:06:08 host postfix-local[24106]: postfix-local:
from=reub...@gmail.com, to=return+test=bob....@give2partners.org,
dirname=/var/qmail/mailnames
Sep 1 22:06:08 host postfix-local[24106]: hook_dir =
'/usr/local/psa/handlers/before-local'
Sep 1 22:06:08 host postfix-local[24106]: recipient[3] =
'return+test=bob....@give2partners.org'
Sep 1 22:06:08 host postfix-local[24106]: handlers dir =
'/usr/local/psa/handlers/before-local/recipient/return+test=bob....@give2par
tners.org'
Sep 1 22:06:08 host postfix-local[24106]: call_handlers: call executable
=
'/usr/local/psa/handlers/info/10-dd52-domainkeys-3POSy3/executable'
Sep 1 22:06:08 host postfix-local[24106]: handlers_stderr: PASS
Sep 1 22:06:08 host postfix-local[24106]: call_handlers: PASS during call
'/usr/local/psa/handlers/info/10-dd52-domainkeys-3POSy3/executable'
handler
Sep 1 22:06:08 host postfix-local[24106]: cannot chdir to mailname dir
return+test=bob.com: No such file or directory
call_handlers? are your running qmail?
what are these "postfix-local" and "spf filter" in your logs (the latter
breaks syslog format. don't put space in process names).
anyway, the log line above shows an error that you may want to fix.
Sep 1 22:06:08 host postfix-local[24106]: Unknown user:
return+test=bob....@give2partners.org
Sep 1 22:06:08 host postfix/pipe[17625]: BE72CEA0255:
to=<return+test=bob....@give2partners.org>, relay=plesk_virtual,
delay=0.39,
delays=0.32/0/0/0.07, dsn=2.0.0, status=sent (delivered via plesk_virtual
service)
whatever program your exec from pipe is borked (returns OK when it fails).
Sep 1 22:06:08 host postfix/qmgr[16285]: BE72CEA0255: removed