You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2009/02/11 12:41:56 UTC

[Bug 2536] vpopmail/qmail code neither warning- nor 100% taint-safe

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=2536





--- Comment #24 from Sossi Andrej <as...@dotcom.ts.it>  2009-02-11 03:41:54 PST ---
Created an attachment (id=4432)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4432)
Proposed Patch

I wrote a patch befor for Spamassassin 3.2.1 and now for Spamassassin 3.2.5.
which should solve the problems with the aliases. The patch searches for the
first real recipient it finds in the .qmail files. It looks through every
alias until it finds the first local recipient and sets the home
directory in this user in order to create the user_prefer.
There's a command in the patch to avoid indefinite iterations (eg.
alias1->alias2->alias1...). If it doesn't find real users (for example
if it only finds forwards to other programs or remote em-mails and not
local domains), from home directory it gets set to undefined.
We tested the patch for about 1 year on the Spamasassin 3.2.1 and now we
testing on the Spamassassin 3.2.5. On the production server seems work
fine.
Since I'm a new PERL user I apologize in advance if I haven't followed
the style rules elected from the Spamassassin dev team. So I beg you to
let me know eventual style errors in order to able to correct them.
I also kindly ask you to include the patch in the following versions of
Spamassassin.

Thanks


-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.