procmail
[Top] [All Lists]

Mr Fetchmail is not playing nice with Mr Procmail!

2000-04-13 12:59:56
Hello,

I am having problems with Fetchmail now...it is not using Procmail for mail,
just delivering it all to root...

I had FEATURE(local_procmail)dnl in my Sendmail .mc file, and I have checked
the Mlocal bit in sendmail.cf and it is set for /usr/bin/procmail (which
exists..)


My .fetchmailrc is:
------------------------
poll serverhere proto pop3
user usernamehere pass "passwordhere"
------------------------

Procmail is setup, and WORKS with the fetchmail -MDA switch, but then it
corupts the mailbox...long story, but basically I need to get it working the
"proper" way, i.e fetchmail passes mail to sendmail which uses Procmail for
delivery...

Here is the output of fetchmail -v:

2 Issues:
* There are some -ERR invalid commands here...anyone know why?
* Can anyone see why Procmail is not been used from this??

----------------------------------------------------------------------------
-
[SNIP USERNAME/PASSWORD BIT!]

fetchmail: POP3< +OK Congratulations!
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 11982
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Invalid command, try one of: STAT, LIST [msg], RETR
msg, TOP msg n, DELE msg, UIDL [msg], NOOP, RSET, QUIT
fetchmail: POP3> UIDL
fetchmail: POP3< +OK But remember to DELETE messages REGULARLY
fetchmail: POP3< 1 b31ef6b5a22e0000
fetchmail: POP3< .
1 message for removed username at removed servername (11982 octets).
fetchmail: POP3> LIST
fetchmail: POP3< +OK 1 messages (11982 octets)
fetchmail: POP3< 1 11982
fetchmail: POP3< .
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK 11982 octets
reading message 1 of 1 (11982 octets)
fetchmail: SMTP< 220 ICLinuxServer.ichilton.co.uk ESMTP Sendmail
8.10.1/8.10.1; Thu, 13 Apr 2000 19:32:54 +0100
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-ICLinuxServer.ichilton.co.uk Hello root(_at_)localhost
[127.0.0.1], pleased to meet you
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-EXPN
fetchmail: SMTP< 250-VERB
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250-DSN
fetchmail: SMTP< 250-ONEX
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-XUSR
fetchmail: SMTP< 250 HELP
fetchmail: SMTP> MAIL FROM:<ian(_at_)ichilton(_dot_)co(_dot_)uk> SIZE=11982
fetchmail: SMTP< 250 2.1.0 <ian(_at_)ichilton(_dot_)co(_dot_)uk>... Sender ok
fetchmail: SMTP> RCPT TO:<root(_at_)localhost>
fetchmail: SMTP< 250 2.1.5 <root(_at_)localhost>... Recipient ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
**************************.*************.*************.*************.*******
******.*************.*************.**************.*************.************
*.**********fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 e3DIWs900407 Message accepted for delivery
 flushed
fetchmail: POP3> DELE 1
fetchmail: POP3< +OK Message 1 deleted
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Was it as good for you, as it was for me?  (clean as a
baby)
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 ICLinuxServer.ichilton.co.uk closing connection
fetchmail: normal termination, status 0
----------------------------------------------------------------------------
-


THANKS!!


Bye for Now,

Ian


                     \|||/
                     (o o)
 /----------------ooO-(_)-Ooo---------------\
 |  Ian Chilton                             |
 |                                          |
 |  E-Mail:    ian(_at_)ichilton(_dot_)co(_dot_)uk           |
 |  Web Page:  http://www.ianchilton.co.uk  |
 \------------------------------------------/


All e-mail is forwarded to my mobile phone.
(Unless it includes an attachment)

However, I only receive the first 150 characters.
Please structure your message accordingly.


"Unix is user friendly - it's just picky about it's friends."

"Windows is a 32 bit patch to a 16 bit GUI based on a 8 bit operating system
written for a 4 bit processor by a 2 bit company which can not stand 1 bit
of competition."


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