Hello world, I'm a Linux user from Italy and I need to generate
autoreplies for e-mail messages ...
That's my /etc/hosts
localhost localhost.localdomain 127.0.0.1
avalon avalon.underworld 0.0.0.1
My domain is : unige.it
My free e-mail addresses are : fsimon(_at_)nettaxi(_dot_)com,
fsimonetti(_at_)usa(_dot_)net
My e-mail "From:" is set to fsimon(_at_)nettaxi(_dot_)com
I use fetchmail for mail retrieving from POP servers listed, so I can
handle incoming messages and distribute them on multiple folders.
I duplicate an auto-reply recipe that I've found by "man procmailex",
adapting it to my own setup, but it doesn't work !!!
If I delete the last two lines * !X-Loop:, and I try to send a message
to myself, it works perfectly, but that doesn't happens when I receive
message from the outside world ...
My .fetchmailrc is:
poll pop1.nettaxi.com protocol pop3
user fsimon, with password *****, is ferdi here
poll pop.netaddress.com protocol pop3
user fsimonetti, with password *****, is ferdi here
My sendmail starts with : /usr/sbin/sendmail -bd -q1h
My mail-retrieving-and-sending script (that I run when I go on-line) is:
fetchmail -a -F -v -t 30
/usr/sbin/sendmail -q
My .procmailrc (finally !!!) is attached at this mail message ...
Please excuse me for bad use of English ... and many thanks in advance
for help !!!
I joined just now to procmail mailing-list, so I prefer answers mailed
directly to my own mail address ... however, thank a lot !!!
--
Regards from F.A. Simonetti, Linux User
Via Borgoratti 37 int.H, Genova ( Italy )
Tel. 010 3992384
Email fsimon(_at_)nettaxi(_dot_)com
PATH=/bin:/usr/bin:/usr/sbin
MAILDIR=$HOME/nsmail
DEFAULT=$MAILDIR/Inbox
LOGFILE=$MAILDIR/.from
DATE=`date`
:0
* ^From(_dot_)*(_at_)winsite(_dot_)com
/dev/null
:0
* ^From(_dot_)*(_at_)GAMECENTER(_dot_)COM
/dev/null
:0
* ^From(_dot_)*(_at_)netscape(_dot_)com
/dev/null
:0
* ^From(_dot_)*(_at_)amazon(_dot_)com
Amazon
:0
* ^Subject.*mulet*
Amulet
:0
* ^From(_dot_)*(_at_)DeliverE(_dot_)com
Excite
:0 c
* ^From(_dot_)*(_at_)avalon(_dot_)underworld
Local
:0
* ^From.*unige.it
University
:0 h c
* !^FROM_DAEMON
* !^X-Loop: fsimon(_at_)nettaxi(_dot_)com
* !^X-Loop: fsimonetti(_at_)usa(_dot_)net
* !^X-Loop: ferdi(_at_)localhost
* !^X-Loop: root(_at_)localhost
| (formail -r -A"Precedence: junk" -A"X-Loop: fsimon(_at_)nettaxi(_dot_)com" ;
echo "Mail received on: $DATE") | $SENDMAIL -t