Could someone help me?
I was trying to use procmail as a Local Delivery Agent inside Sendmail.cf
(instead of /bin/mail).
So I have modified my sendmail.cf as:
Mlocal, P=/usr/local/bin/procmail, F=lsSDFMhPfn, S=10/30, R=20/40,
A=procmail -a $h -d $u
And also I have modified the config.h file (in the procmail
distribution) uncommenting the line :
#define SYSTEM_MBOX "$HOME/.mail"
so to have mail delivered in user's home directory.
I have put a very very simple .procmailrc file in my home directory in order
to test procmail. I report the file:
----------begin------------------------------------------------------------
PATH=/usr/bin:/usr/ucb:/usr/local/bin:.
MAILDIR=$HOME/
DEFAULT=$MAILDIR/mbox
LOGFILE=$MAILDIR/from
LOCKFILE=$HOME/.lockmail
:0
* ^From(_dot_)*michele(_at_)deis93(_dot_)deis(_dot_)unibo(_dot_)it
michele # mail from michele goes into
#$MAILDIR/michele
# other mail goes into $DEFAULT
----------end--------------------------------------------------------------
I have also set MAIL variable to : /home/my_user_name/mbox .
So the problem is:
when I have tried to send me a mail for testing procmail, mail has come back
to me with this message error:
----------begin-------------------------------------------------------------
From daemon Mon Oct 21 15:23:45 1996
Received: by deis93.deis.unibo.it (4.1/4.7); Mon, 21 Oct 96 15:23:41 +0100
Date: Mon, 21 Oct 96 15:23:41 +0100
From: MAILER-DAEMON (Mail Delivery Subsystem)
Subject: Returned mail: Remote protocol error
To: anto
Status: R
----- Transcript of session follows -----
Connected to deis91.deis.unibo.it:
MAIL From:<anto(_at_)deis93(_dot_)deis(_dot_)unibo(_dot_)it>
<<< 554 /etc/aliases: line 14: Postmaster... cannot alias non-local names
QUIT
<<< 554 /etc/aliases: line 18: MAILER-DAEMON... cannot alias non-local names
554 anto(_at_)deis91(_dot_)(_dot_)(_dot_) Remote protocol error
----- Unsent message follows -----
Received: by deis93.deis.unibo.it (4.1/4.7); Mon, 21 Oct 96 15:23:41 +0100
Date: Mon, 21 Oct 96 15:23:41 +0100
From: anto (Antonietta Orsini)
To: anto(_at_)deis91
Subject: 2
ciao
----------------end---------------------------------------------------------
I can't understand what is the problem.
What's wrong?
Thanks everybody.
Regards,
Antonietta