userforward:
driver = forwardfile
no_verify
check_ancestor
file = .forward
###modemask = 002
filter
...
After commenting modemask the error seems to go away. I only have one
user on the system right now (me).
My question is why should I have been getting this error in the first
place?
>A message that you sent could not be delivered to all of its
>recipients. The
>following address(es) failed:
>
> d...@dsj.net:
> generated | /usr/bin/procmail -p
>
>The following text was generated during the delivery attempt:
>
>------ | /usr/bin/procmail -p ------
>
>procmail: [30016] Wed Nov 17 17:23:03 1999
>procmail: Assigning "PATH=/bin:/usr/bin:/usr/sbin"
>procmail: Assigning "MAILDIR=/home/dsj/mail"
>procmail: Assigning "PMDIR=/home/dsj/procmail"
>procmail: Assigning "LOGFILE=/home/dsj/procmail/log"
>procmail: Opening "/home/dsj/procmail/log"
>
>------ This is a copy of the message, including all the headers.
>------
Any help gladly appreciated!
TIA
--
David S. Jackson http://www.dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Zen is not some kind of excitement, but concentration on our
usual everyday routine." --Shunryu Suzuki
--
Unsubscribe? mail -s unsubscribe debian-us...@lists.debian.org < /dev/null
Something to check.
My /usr/bin/procmail permission got changed from
-rwsr-sr-x after a recent upgrade and my maillog
would indicate that it was sending bounce messages
back out.
> I have been getting an error procmail which has been bouncing my
> mails to debian-user. Basically, the procmail log messages get
> echoed back to the debian list server. I edited a line in
> /etc/exim.conf:
A more elegant way of running procmail under Exim as an LDA is to
install the following transport and director in /etc/exim.conf:
The director:
procmail_pipe:
driver = pipe
command = "/usr/bin/procmail"
user = ${local_part}
delivery_date_add
envelope_to_add
return_path_add
from_hack
The transport:
procmail:
driver = localuser
require_files = ${local_part}:${home}/.procmailrc
transport = procmail_pipe
--
J C Lawrence Internet: cl...@kanga.nu
----------(*) Internet: co...@kanga.nu
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...
>I have been getting an error procmail which has been bouncing my mails
>to debian-user.
You should probably not invoke procmail via .forward, but directly as a local
transport.
Grep for procmail in /usr/doc/exim/spec.txt.gz and modify exim.conf
accordingly. This is how I do it and I don't have any probs with my setup.
--
Sign the EU petition against SPAM: L I N U X .~.
http://www.politik-digital.de/spam/ The Choice /V\
of a GNU /( )\
Generation ^^-^^
I tried this, but I get:
Starting MTA: 1999-11-22 21:41:17 Exim configuration error
transport procmail: cannot find transport driver "localuser" in line 362
--
Andrew
Jumping in on this thread late, and I have absolutely no clue what you guys
are talking about, but...
Is the localuser part supposed to be the username of someone who has a local
account?
--
__ _
Mark Wagnon ( Debian GNU/ -o) / / (_)__ __ ____ __
Chula Vista, CA ) /\\/ /__/ / _ \/ // /\ \/ /
mwag...@home.com ( _\_v____/_/_//_/\_,_/ /_/\_\
No, it is a transport driver (for Exim).
--
Andrew
> I tried this, but I get: Starting MTA: 1999-11-22 21:41:17 Exim
> configuration error transport procmail: cannot find transport
> driver "localuser" in line 362
You should have a director stanza (after the procmail director I
quoted) in your exim.conf that reads something like:
localuser:
driver = localuser
transport = local_delivery
Where the local_delivery transport looks something like:
local_delivery:
driver = appendfile
group = mail
mode = 0660
mode_fail_narrower = false
file = /var/spool/mail/${local_part}
delivery_date_add
envelope_to_add
return_path_add
(The above is not the default stanza -- I've added several bits to it)
--
J C Lawrence Home: cl...@kanga.nu
----------(*) Other: co...@kanga.nu
--=| A man is as sane as he is dangerous to his environment |=--
> I have all of this, so it seems I just need to move the procmail
> director upward.
Yes, it must be above the localuser.