procmail
[Top] [All Lists]

Auto-responder & notify

1998-03-15 07:32:45
Hi People,

Im another newbie here when it comes to Procmail and have spent many hours
scanning the past digests without being able to solve my 2 problems.

Any help would be appreciated.

Im running a FreeBSD system.

1) I have managed to set up an auto responder on a particular email address
which sends back a preformated text file.  This works fine. What I cant
work out is what else to add to the recipe to do the following.

I need to notify a different email address that email was receieved and
responded by including the basic headers from the original sender in the
body of the notify email. (ie from, subject, date & time fields)  here is
my .procmailrc file:

LOGFILE =       /var/log/letters.log
VERBOSE= on
:0 h c
              * !^FROM_DAEMON
              * !^X-Loop: letters(_at_)joy(_dot_)org(_dot_)au
              | (formail -r -A"Precedence: junk" \
                  -I"From: JOY Melbourne 
<webmaster(_at_)joy(_dot_)org(_dot_)au> " \
                  -I"Subject: Thank You for your letter " \
                  -A"X-Loop: letters(_at_)joy(_dot_)org(_dot_)au" ; \
                  cat $HOME/.response ; \
                 echo "    ") | $SENDMAIL -t       

What do I add to perform the notify requirement????

2) When the auto-response gets sent out, due to many systems requiring
reverse DNS lookup my domain name and machine name are duffernet and so
some auto-responses are bouncing.

The domain name is "joy.org.au" but sendmail sends them out as being from
"xxxxx(_at_)gateway(_dot_)joy(_dot_)org(_dot_)au" and when the recipient mail 
server does a
reverse DNS lookup they bounce.  How do I over come this? 

Hope somebody can help....  Im going out of my brain!


Brett Gray
beatteam(_at_)austasia(_dot_)net
The B.E.A.T. Team
(Brett Enterprises And Technology - Technical support Equipment And
Maintenance)


"Intel Inside"...The world's most widely used warning label!!

<Prev in Thread] Current Thread [Next in Thread>