Note: I'm using Procmail v3.10
I have the following recipe
LOGFILE=${HOME}/mail.log
DEFAULT=/var/mail/steffi2
VERBOSE=no
LOGABSTRACT=yes
SHELL=/bin/sh
#:0 h c
#* !^FROM_DAEMON
#* !^X-Loop: steffi2(_at_)dgs(_dot_)dgsys(_dot_)com
#| (formail -r -A"Precedence: junk" \
# -A"X-Loop: steffi2(_at_)dgs(_dot_)dgsys(_dot_)com" ; \
# echo "Mail received.") | $SENDMAIL -t
:0 Whc: vacation.lock
* !^FROM_DAEMON
* !^X-Loop: steffi2(_at_)dgs(_dot_)dgsys(_dot_)com
| formail -rD 8192 vacation.cache
:0 ehc
| (formail -rA"Precedence: junk" \
-A"X-Loop: steffi2(_at_)dgs(_dot_)dgsys(_dot_)com"; \
cat $HOME/.message \
) | $SENDMAIL -oi -t
I have a domain name's mx record forward the mail to this pop account on
my ISP. My real address is robert(_at_)elastica(_dot_)com not
steffi(_at_)dgs(_dot_)dgsys(_dot_)com
and I'd like the from etc to reflect that when I generate the auto
respond message.
Exacly how should I do this? I don't want to get a mail loop occuring if
I screw up the X-Loop but I really don't want the user to see steffi2 at
all I want this to reflect that robert(_at_)elastica(_dot_)com autoresponded.
Can I just replace the From: with formail and set up the X-Loop's as
robert(_at_)elastica(_dot_)com instead?
The above is the .procmailrc of the steffi2 user.