procmail
[Top] [All Lists]

Re: clamavd & procmail

2004-03-03 13:28:15
Chmmm ... It looks like email program forged a little bit my email and
addede > to all From lines (no surprise in this case) and my question now
looks a little bit confusing. I'll try once again post in exact details all
my investigation. Sorry for additional trafic, but I am not very experienced
in procmailing and can't find info on the net.

Here are my investigation with | added to all lines :

| I have file test1 with an email inside. First two lines are :
|
|  $ head -2 test1
| From relygirrowd(_at_)tiggerfan(_dot_)com  Wed Mar  3 11:27:25 2004
| Return-Path: <relygirrowd(_at_)tiggerfan(_dot_)com>
|
| I proccess this email with clamdmail directly (to be sure it is not
clamdmail problem). Clamdmail just adds 2 lines :
|
|  $
/usr/local/clamav/bin/clamdmail --admin=root(_at_)mmlab(_dot_)ktu(_dot_)lt 
--mta=/usr/local/c
lamav/bin/sendmail --quar=/tmp < test1 | head -4
| X-Virus-Scan: Scanned by clamdmail 0.14 on rs6k (no viruses);
|   Wed, 03 Mar 2004 21:17:36 WET
| From relygirrowd(_at_)tiggerfan(_dot_)com  Wed Mar  3 11:27:25 2004
| Return-Path: relygirrowd(_at_)tiggerfan(_dot_)com
|
| Now I create test procmailrc file :
|
| $ cat testrc
|  :0fw
|  |
/usr/local/clamav/bin/clamdmail --admin=root(_at_)mmlab(_dot_)ktu(_dot_)lt 
--mta=/usr/local/c
lamav/bin/sendmail --quar=/tmp
|
| :0:
| test
| $
|
| And test it with same file :
|
| $ cat ./test1 | /usr/local/procmail/bin/formail -q- -s
| /usr/local/procmail/bin/procmail -tm VERBOSE=on ./testrc
|  procmail: [25300] Wed Mar  3 21:18:36 2004
|  procmail: Assigning "MAILDIR=."
|  procmail: Rcfile: "./testrc"
| procmail: Executing
|
"/usr/local/clamav/bin/clamdmail,--admin=root(_at_)mmlab(_dot_)ktu(_dot_)lt,--mta=/usr/local/
| clamav/bin/sendmail,--quar=/tmp"
| procmail: [25300] Wed Mar  3 21:18:37 2004
| procmail: Locking "test.lock"
| procmail: Assigning "LASTFOLDER=test"
| procmail: Opening "test"
| procmail: Acquiring kernel-lock
| procmail: [25300] Wed Mar  3 21:18:38 2004
| procmail: Unlocking "test.lock"
|  Subject: **SPAM: Re: Your Free Pay-Per View
|   Folder: test   2545
| $
|
| In folder test email is changed :
|
| $ head -4 test
| X-Virus-Scan: Scanned by clamdmail 0.14 on rs6k (no viruses);
|   Wed, 03 Mar 2004 21:18:37 WET
| >From relygirrowd(_at_)tiggerfan(_dot_)com  Wed Mar  3 11:27:25 2004
|  Return-Path: <relygirrowd(_at_)tiggerfan(_dot_)com>
|
|
| This problem isn't same always - just for some mails (don't know how to
identify mail that will have wrong From line). Why is it happening ? Thank
you for your valuable responses.

With best regards
Martynas



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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