procmail
[Top] [All Lists]

problems using Hotwayd + fetchmail+ procmai

2004-02-19 00:14:33
Hi. I have setup fetchmail and procmail to work successfully together when
retrieving standard POP3 mail.

However, when just changing over to Hotway, via fetchmail, procmail never
seems to get forwarded the message (or at least is unable to read the
headers using formail so it can be processed). Below is some info to help
explain the issue.

when fetchmail+procmail+POP3 are used, procmail is able to get headers of
the messages just fine:

procmail: Executing "formail,-X,To:"
procmail: Assigning "HEADERTO=To: <rob(_at_)mysite(_dot_)net>";
procmail: Executing "formail,-X,Subject:"
procmail: Assigning "HEADERSUBJECT=Subject: fd"
procmail: Executing "echo $HEADERTO | cut -b 5-"
procmail: Assigning "MAILTO=<rob(_at_)mysite(_dot_)net>";
procmail: Executing "formail -rt -xTo: | expand | sed -e 's/^[ ]*//g' -e
's/[ ]*$//g'"
procmail: Assigning "FROM_=support(_at_)yoursite(_dot_)net";
procmail: Executing "echo "$MAILTO" | cut -d '>' -f 1 | cut -d '@' -f 2"
procmail: Assigning "MDOM=yoursite.net"
procmail: Executing "echo "$MAILTO" | cut -d '<' -f 2 | cut -d '@' -f 1"
procmail: Assigning "MUSER=rob"

When I just switch over to Hotway, procmail log looks like this. EMPTY!:


procmail: Assigning "LINEBUF=16384"
procmail: Executing "formail,-X,To:"
procmail: Assigning "HEADERTO="
procmail: Executing "formail,-X,Subject:"
procmail: Assigning "HEADERSUBJECT="
procmail: Executing "echo $HEADERTO | cut -b 5-"
procmail: Assigning "MAILTO="
procmail: Executing "formail -rt -xTo: | expand | sed -e 's/^[ ]*//g' -e
's/[ ]*$//g'"
procmail: Assigning "FROM_=foo(_at_)bar";
procmail: Executing "echo "$MAILTO" | cut -d '>' -f 1 | cut -d '@' -f 2"
procmail: Assigning "MDOM="
procmail: Executing "echo "$MAILTO" | cut -d '<' -f 2 | cut -d '@' -f 1"
procmail: Assigning "MUSER="



here is how I call them:
POP3:
fetchmail -vv -f .fetchmailrc

---------.fetchmailrc file contents-------------
poll mail.performancehosting.net
proto pop3
user 'rob(_at_)mysite(_dot_)net'
pass 'mypass'
wants mda '/usr/bin/procmail ~/.procmailrc'
---------END .fetchmailrc file contents----------

HOTWAY:
fetchmail -vv --port 111 -f .fetchmailrc2

---------.fetchmailrc2 file contents-------------
poll 127.0.0.1
proto pop3
user 'xxxxxxx(_at_)hotmail(_dot_)com'
pass 'mypass'
wants mda '/usr/bin/procmail ~/.procmailrc'
---------END .fetchmailrc2 file contents----------

Any suggestions would be appreciated. Like I mentioned, the only change is
the switch to Hotway, then this problem occurs, so I suspect Fetchmail is
reading/interpreting headers differently via Hotway or something like
that???? Is there a way to get Procmail to recognize the headers ?

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004


_______________________________________________
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>