Bryan Irvine writes:

I'm trying to get vacation messages working. It semi-works, it does
indeed send an auto-reply back to the send with the contents of my
vacation.msg file.  The only problem I'm having is that it sends the
message as the "vmail" user, and from the actual machine name.

so a message to [EMAIL PROTECTED], bounces back as
[EMAIL PROTECTED]

I'm sure I'm jsut missing some flags, perhaps in reformail?  The man
page speaks of a -f0 and -f1, which *look* like they might to the
trick.

Mail scripting with virtual mail accounts is tricky. reformail really does not know anything about the virtual mail accounts, it assumes that it's invoked from a garden-variety system account.

What you need to do is grab the environment variables (see the dot-courier man pages), which give you the mail account's parameters -- then take the output of reformail and fix it accordingly.

Attachment: pgpuVt9r9wHyD.pgp
Description: PGP signature

Reply via email to