|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Juan Miscaro (scry_mr
yahoo.ca)
Date: Wed Oct 17 2007 - 11:35:30 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
--- Victor Duchovni <Victor.Duchovni
MorganStanley.com> wrote:
> On Wed, Oct 17, 2007 at 10:05:22AM -0400, Juan Miscaro wrote:
>
> > user_autoreply unix - n n - - pipe
> > flags= user=admin argv=/usr/local/bin/user_autoreply.sh
> > ${sender} ${recipient}
> >
> > 4. user_autoreply.sh
> >
> > #!/bin/sh
> > mail -s "User's name" $1 < /etc/postfix/user_autoreply.txt
>
> It is a bad idea to not quote "$1" here. Sender addresses with
> whitespace
> produce unexpected results. Also this fails to check for "List:"
> headers
> "Auto-Submitted:" headers, "owner-foo" envelopes "foo-request
"
> envelopes,
> "Precedence: junk" headers...
>
> See RFC 3834 for a comprehensive set of recommendations.
I didn't think of the issues raised in the RFC. Any suggestions on how
I can avoid them without using maildrop? I can't use the mentioned
vacation tool because my users are virtual (I believe I need a $HOME).
// juan
Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://mrd.mail.yahoo.com/try_beta?.intl=ca
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]