Hello,
I have got Auto Replys working using the following:
-----------------------------------------------------------------------------
* ^X-ApparentlyTo: ian
*!^FROM_DAEMON
*!^X-Loop:ian(_at_)chiltons(_dot_)u-net(_dot_)com
{
:0c:
/var/spool/mail/ianmail
:0a
|(formail -r -a "Precedence: junk"\
-I"From: Auto Reply from Ian Chilton
<ian(_at_)chiltons(_dot_)u-net(_dot_)com> " \
-I"Subject: Delivery Successful" \
-A "X-Loop: ian(_at_)chiltons(_dot_)u-net(_dot_)com";\
cat /root/.procmail/reply.txt ) |$SENDMAIL -t
}
:0:
* ^X-ApparentlyTo: dennis
/var/spool/mail/denmail
:0:
* ^X-ApparentlyTo: dcit
/var/spool/mail/denmail
-----------------------------------------------------------------------------
This seems to work sometimes and not others.
I sent a test message from one of my accounts
(mailinglist(_at_)chiltons(_dot_)u-net(_dot_)com) to
ian(_at_)chiltons(_dot_)u-net(_dot_)com and it sent the auto reply to
chiltons(_at_)u-net(_dot_)net(_dot_) This is then not filtered properly by
procmail and goes into my miscmail file. I tried it from
dennis(_at_)chiltons(_dot_)u-net(_dot_)com and the same happened. I then tried
sending on from a totally different account on a differenct ISP. The autoreplys
got stuck in my mqueue and after about 5 times of 'sendmail -q' they were
still in the mqueue.
Does anyone have any ideas?
Thanks in Advance
Ian
-----------------------------------------------------
Ian Chilton
E-Mail: ian(_at_)chiltons(_dot_)u-net(_dot_)com
Homepage: http://www.chiltons.u-net.com
-----------------------------------------------------