procmail
[Top] [All Lists]

Re: [Procmail]problem with procmail

1997-02-03 15:27:21
-----BEGIN PGP SIGNED MESSAGE-----

Hi Zbigniew Baniewski!  I'm a UNIX administrator and I like to fight spam!
Listen, listen all you people !!!!!!!!!! This man is great !!!!!!!!   :)

        The spammers wouldn't agree with you on that statement. ;-)

        Seriously, as a sidenote to those on procmail-d, that's the 
secret to debugging, whether it's procmail recipes, shell scripts or C 
programs.  Simplify the commands as much as possible and try 
removing/adding items one at a time and see what happens.  More often 
than not it is one line of code which causes the program to break.  It is 
also important to make verbose logs (procmail) or dump the values of 
variables (C programming) to screen to understand just what your program 
is doing.  

        Remember, computers are logical devices.  They do just what they 
are told. :-)

----------------------------------------------------------------------
procmail: [12007] Mon Feb  3 17:13:04 1997
procmail: No match on ! "(^(Precedence:.*(junk|bulk|list)|To: Multiple
recipients of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
)([^>]*[^((_dot_)%(_at_)a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|
mmdf|n?uucp|LIST(SERV|proc)|NETSERV|owner|r(e(quest|sponse)|oot)|b(ounce|
bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp)|A(dmin(istrator)?|MMGR|
utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@>][^<)]*(\(.*\).*)?)?$([^>]|$)))"

        Hmm...what version of procmail are you using?  I have 3.10 on my 
system and my manpage for procmailrc doesn't list an expansion of 
FROM_DAEMON to be quite that verbose.

line ? How to replace it, to prevent mail-loops between daemons ? Simply

        Put this in your sendmail alias file:

MAILER-DAEMON: postmaster

        so that all the MAILER-DAEMON mail will get sent to the 
postmaster alias/account then you won't have to worry about catching 
stuff from the daemon.

And why in man-page there is obviously broken example ?   :(

        Good question.

        Regards,

- -- 
<Doug Muth>--<dmuth+3203602031997023120663283611062072(_at_)ot(_dot_)com> - 
Spam me and die!
Think your homepage sucks?  You haven't seen http://www.ot.com/~dmuth yet!!
Anti-virus software and utils: | The Transformers fanfiction:|"Est Sularus|
http://www.ot.com/~dmuth/virus | http://www.ot.com/~dmuth/tf |oth Mithas!"|
- -=-=-=-=- Send a spammer to the slammer! * http://www.vix.com/spam -=-=-=-=

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMvZk1B0LJlIsPN1JAQFtIQQAlMZZFq4IqVY7ErL+74FM4OmamGc/Hhv0
gcbsOGLz40rZVcc2IOXE4UOZAeOObx+fzOsEoWpQqW/xpPfxK+k7RSECcOTrkVXf
Tu9mhZspk7xbVlHGlopUBn+OsVX1jYvF8SFwaUuHohG0E7ipXzvW0uIpANJHXqI9
FbIxdriv69U=
=/d6C
-----END PGP SIGNATURE-----

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