Thanks Sean,
I am invoking 'defang' from the procmailrc. Unfortunately in this case I am
not having the users Authenticate themselves. This is our internal email
server so I see no need to do that to them .. at least not without copious
complaints coming my way.
Do you think I could create a file with the users that I wish to bypass the
'defang' and have procmail compare against that to decide whether to
'defang' or not?
Cheers,
-Andreas
-----Original Message-----
From: procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-bounces(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE]On Behalf Of
Professional
Software Engineering
Sent: Thursday, June 05, 2003 4:55 PM
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: disable defang on local users
At 16:04 2003-06-05 -0700, Andreas Freyvogel wrote:
Hello all,
I have a quick question about procmail mangling. Is it possible to disable
defanging of attachments sent by local users?
This 'defang' you refer to is something that someone wrote and may have
used procmail to develop. Generally speaking, consulting with the author
or support forum for 'defang' would be the best place to start.
If you're invoking it from procmail (say, in /etc/procmailrc ), you could
try NOT invoking it when the message is from an AUTHENTICATED local
user. If your SMTP doesn't authenticate senders from your own domain(s),
then you're going to have issues trying to weed out what is really from
local users and what is forged to be from them (which most likely would
include crap you'd want to filter out).
If by "local users", you mean shell users of your system, then depending
upon how your MTA operates, it should be possible to check the Received:
lines and verify that:
* there's only ONE
* that it originated from localhost (i.e. a shell user)
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer:
<http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail