OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Debugging .forward-* files

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Thu Nov 01 2007 - 13:17:04 CDT


On Thu, Nov 01, 2007 at 03:36:53PM -0000, Ward, Martin wrote:

> I have a trouble ticket system (RT) that I am trying to get Postfix to
> work with. Currently I have a user www whose home directory is filled
> with lots of .forward files in the format .forward-queue where queue is
> the name of th RT queue, however I can't get Postfix to utilise these
> files.

Delivery logs?

> My main.cf file has the following in it:
>
> recipient_delimiter = -
> forward_path =
> $home/.forward${recipient_delimiter}${extension}
> ${extension?$home/.forward-default}
> ${extension:$home/.forward}
>
> As far as I understand it this means that when an email is sent to
> www-mailtt0 Postfix should look in the home directory of the www user
> for the .forward-mail file and act on its contents.
>
> What is happening is all emails are being forwarded to roottt0 instead.
>
> If I run "sendmail -bv www-mailtt0" I get:
> Mail Delivery Status Report will be mailed to <root>.

And did you read the resulting report mailed to root? You are not
understanding the "sendmail -bv" output. The results are emailed to
the user running the command, or supplied via the "-f sender" option.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.