I have a problem with my procmail. It seems that I can't forward mail either
locally or out onto the Internet.
I've looked through as much documentation/FAQ's as I can find but haven't got
an answer yet.
Linux 2.0.30
Sendmail 8.8.7
This is my $HOME/.procmailrc for user 'sheds'
----------------------------------------------------------------------
PATH=/bin:/usr/bin
MAILDIR=$HOME/mail
DEFAULT=$MAILDIR/mbox
LOGFILE=$MAILDIR/from
:0 c
* !^Subject:.ags_order*
/var/spool/mail/sheds
:0 c
* ^Subject:.ags_order*
! jtn(_at_)acenet(_dot_)com(_dot_)au
-----------------------------------------
The first recipie works fine.
The second doesn't forward onto the jtn account. It ends up as a dead letter in
the home directory.
A typical syslog entry is:
----------------------------------------
Sep 25 12:35:38 www sendmail[317]: MAA00317: SYSERR(sheds): Too many hops 26
(25 max): from sheds via localhost, to jtn(_at_)acenet(_dot_)com(_dot_)au
----------------------------------------------------
This is all on the same system.
There is an entry in /etc/sendmail.cw for acenet.com.au
My cf/acenet.mc file for sendmail is:
-----------------------------------------
include(`../m4/cf.m4')
VERSIONID(`linux for smtp-only setup')dnl
OSTYPE(linux)
DOMAIN(acenet)
FEATURE(use_cw_file)
FEATURE(genericstable, dbm -o /etc/mail/genericstable)
FEATURE(virtusertable, dbm -o /etc/mail/virtusers)
FEATURE(limited_masquerade)
FEATURE(local_procmail)
HACK(check_mail3)
FEATURE(nouucp)dnl
FEATURE(always_add_domain)dnl
MAILER(local)
MAILER(smtp)
MAILER(pop)
MAILER(procmail)
-----------------------------------------
My acenet domains/acenet.m4 file is:
-----------------------------------------
divert(-1)
divert(0)
VERSIONID(`@(#)generic.m4 8.3 (Berkeley) 3/24/96')
define(`confFORWARD_PATH', `$z/.forward.$w:$z/.forward')dnl
Can someone please point me in the right direction?
Thank you
Stephen Neander
jtn(_at_)acenet(_dot_)com(_dot_)au