OSEC

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

From: AlxFrag (alxfraggmail.com)
Date: Fri Feb 15 2008 - 02:02:34 CST


Nigel Kendrick wrote:
>
> Just replying to myself!
>
> I have added the following to main.cf
>
> transport_maps = hash:/etc/postfix/transport
>
> so that alternative transports are actually noticed!
>
> I also created a user called 'noreply' and changed master.cf as follows:
>
> autoreply unix - n n - - pipe
> flags= user=noreply argv=/usr/local/bin/autoreply $sender $recipient
>
>
> Autoreplies are now working but they all come from
> 'noreplyourdomain.co.uk'. Is there a way to set the sender of the auto
> reply as the intended recipient of the original message? I have tried
> various macros in 'user=' without much success or does it come back down to
> the -a parameter in the mail command?
>
> Thanks
>
>
>
if you can't make it work, you can try the script 'vacation.pl'
contained in the postfixadmin package.
This has similar configuration with that you've described.