procmail
[Top] [All Lists]

Re: data format error rfc822

2004-12-18 07:15:31
On Sat, Dec 18, 2004 at 02:34:12AM +0100, Gianluca wrote:

On Sat, 18 Dec 2004 02:23:47 +0100 (CET)
Dallman Ross <dman(_at_)nomotek(_dot_)com> wrote:

On Fri, Dec 17, 2004 at 10:41:54AM +0100, 
linux(_at_)users(_dot_)gamebox(_dot_)net
wrote:
--- file .procmailrc
#old account xxxxxx.com
:0 fHw
* ^TO_gianluca(_at_)xxxxxx(_dot_)com
| formail -i "Subject: ACCOUNT_DISABLE gianluca at xxxxxx.com"

Well, that recipe looks okay to me, except that you don't need the
H flag (that's the default) and setting it explicitly could cause
a problem due to a known bug.  So take the H out.

In the log procmail I see that 
- - - - 
procmail: Match on
"(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)
-To):(.*[^-a-zA-Z0-9_.])?)gianluca(_at_)hotpop(_dot_)com" procmail: Executing
"/usr/bin/formail,-i,Subject: ACCOUNT_DISABLE gianluca at hotpop.com"
procmail: Assigning "LASTFOLDER=/usr/lib/cyrus-imapd/deliver -a -m
gianluca" procmail: Assigning "EXITCODE=65"
procmail: Assigning "HOST"
procmail: HOST mismatched "locarno"
From gianluca(_at_)hotpop(_dot_)com  Sat Dec 18 01:24:32 2004
 Subject: ACCOUNT_DISABLE gianluca at hotpop.com
  Folder: /usr/lib/cyrus-imapd/deliver -a -m gianluca                   
  1490 
- - - - 

Your mail logs, which I've deleted here, don't tell me much, except

You can see to=<gianluca(_at_)localhost(_dot_)homelinux(_dot_)org> instead of
gianm.homelinux.org

I dont' understand why the mail is sent to localhost 

I don't understand why you are showing us a recipe that changes
the Subject and asking us why it doesn't deliver properly.  The
recipe you've shown has noting to do with delivery.  It is not
a delivering recipe!  It only changes the Subject.  What you
have *not* show, down below that recipe quoted above, is the
delivering recipe that attempts to send to cyrus-imapd.  And
it is obviously erroring out.  As to why it does or doesn't
do certain things, we can't tell without seeing the recipe itself.

-- 
dman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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