<<< Date Index >>>     <<< Thread Index >>>

Re: Postfix and fetchmail woes



René Clerc wrote:
>* Erik Jakobsen <eja@xxxxxxxxxxx> [13-04-2005 16:34]:
>
>  
>>>It could be that Postfix has a $mailbox_command configured, something
>>>like:
>>>
>>> mailbox_command = /usr/bin/procmail
>>>
>>>This means Postfix passes the message to procmail, which takes care of
>>>the actual delivery in a mailbox.
>>> 
>>>      
>>#mailbox_command = /some/where/procmail
>>#mailbox_command = /some/where/procmail -a "$EXTENSION
>>mailbox_command =
>>This is what stands in my /etc/postfix/main.cf file.
>>    
>
>Ok, so procmail is not called by Postfix.  Then postfix should do
>local delivery (again, I assume the most obvious)..
>
>  

I have no running Postfix.
>>I have not been lucky to have had mails when I ran fetchmail -v, so I
>>have no idea where mails are stored.
>>    
>
>Then *start* sending yourself some mail, to the addresses which you
>try to fetch with fetchmail!!
>
>  
I have now received some mails with Mutt.

>>This is what I mean by working:
>>
>>erikja@lajka3:~> fetchmail -v
>>    
>
>I don't use fetchmail.  It seems that you have a few accounts, one of
>which indeed has no mail, and one of which you have supplied a wrong
>username password combo:
>
>  
What are you using instead fo fetchmail ? About the wrong uername password.
It has been fixed now.


>[...]
>
>  
>>fetchmail: No mail for xxx at urbakken.dk
>>    
>
>[...]
>
>  
>Long story short:  you don't experience a mutt problem, you're just
>not ready setting up your MTA (postfix) and fetchmail yet.  I also
>noticed / read that you use a Mozilla mail client for reading and
>sending mail.  This may be the cause that the spool directories are
>empty, and that their contents are copied to somewhere in your home
>directory.  I bet my ass that this is all documented somewhere out
>there, on the web..
>
>  
I have switched off the Mozilla mailer now.

You have new mail in /var/spool/mail/erikja
erikja@lajka3:~> fetchmail -v
fetchmail: 6.2.5 querying pop3.mail.dk (protocol POP3) at Wed 13 Apr
2005 05:58:03 PM CEST: poll started
fetchmail: POP3< +OK InterMail POP3 server ready.
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< TOP
fetchmail: POP3< USER
fetchmail: POP3< RESP_CODES
fetchmail: POP3< PIPELINING
fetchmail: POP3< EXPIRE NEVER
fetchmail: POP3< UIDL
fetchmail: POP3< IMPLEMENTATION Openwave Email vM.6.01.04.00
201-2131-118-200410
fetchmail: POP3< 27
fetchmail: POP3< .
fetchmail: POP3> USER yyyyyyyyyyyy
fetchmail: POP3< +OK please send PASS command
fetchmail: POP3> PASS *
fetchmail: POP3< +OK yyyyyyyyyyyyyyy is welcome here
fetchmail: POP3> STAT
fetchmail: POP3< +OK 0 0
fetchmail: No mail for yyyyyyyyy at pop3.mail.dk
fetchmail: POP3> QUIT
fetchmail: POP3< +OK yyyyyyyyyyyy InterMail POP3 server signing off.
fetchmail: 6.2.5 querying pop3.mail.dk (protocol POP3) at Wed 13 Apr
2005 05:58:07 PM CEST: poll completed
fetchmail: 6.2.5 querying urbakken.dk (protocol auto) at Wed 13 Apr 2005
05:58:07 PM CEST: poll started
fetchmail: 6.2.5 querying urbakken.dk (protocol IMAP) at Wed 13 Apr 2005
05:58:07 PM CEST: poll started
fetchmail: IMAP< * OK dovecot ready.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES
MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN LISTEXT LIST-SUBSCRIBED
NAMESPACE STARTTLS AUTH=PLAIN
fetchmail: IMAP< A0001 OK Capability completed.
fetchmail: IMAP> A0002 STARTTLS
fetchmail: IMAP< A0002 OK Begin TLS negotiation now.
fetchmail: Issuer Organization: SomeOrganization
fetchmail: Issuer CommonName: localhost.localdomain
fetchmail: Server CommonName: localhost.localdomain
fetchmail: Server CommonName mismatch: localhost.localdomain != urbakken.dk
fetchmail: urbakken.dk key fingerprint:
1F:17:2D:5D:A3:FA:C3:0E:52:F5:D0:90:83:EA:0A:36
fetchmail: Warning: server certificate verification: self signed certificate
fetchmail: Issuer Organization: SomeOrganization
fetchmail: Issuer CommonName: localhost.localdomain
fetchmail: Server CommonName: localhost.localdomain
fetchmail: Server CommonName mismatch: localhost.localdomain != urbakken.dk
fetchmail: Warning: server certificate verification: self signed certificate
fetchmail: IMAP> A0003 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES
MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN LISTEXT LIST-SUBSCRIBED
NAMESPACE AUTH=PLAIN
fetchmail: IMAP< A0003 OK Capability completed.
fetchmail: IMAP> A0004 LOGIN "aaa" *
fetchmail: IMAP< A0004 OK Logged in.
fetchmail: IMAP> A0005 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen
\Draft \*)] Flags permitted.
fetchmail: IMAP< * 0 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 1108318214] UIDs valid
fetchmail: IMAP< * OK [UIDNEXT 13322] Predicted next UID
fetchmail: IMAP< A0005 OK [READ-WRITE] Select completed.
fetchmail: No mail for aaa at urbakken.dk
fetchmail: IMAP> A0006 LOGOUT
fetchmail: IMAP< * BYE Logging out
fetchmail: IMAP< A0006 OK Logout completed.
fetchmail: 6.2.5 querying urbakken.dk (protocol IMAP) at Wed 13 Apr 2005
05:58:07 PM CEST: poll completed
fetchmail: 6.2.5 querying urbakken.dk (protocol auto) at Wed 13 Apr 2005
05:58:07 PM CEST: poll completed
fetchmail: 6.2.5 querying urbakken.dk (protocol auto) at Wed 13 Apr 2005
05:58:07 PM CEST: poll started
fetchmail: 6.2.5 querying urbakken.dk (protocol IMAP) at Wed 13 Apr 2005
05:58:07 PM CEST: poll started
fetchmail: IMAP< * OK dovecot ready.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES
MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN LISTEXT LIST-SUBSCRIBED
NAMESPACE STARTTLS AUTH=PLAIN
fetchmail: IMAP< A0001 OK Capability completed.
fetchmail: IMAP> A0002 STARTTLS
fetchmail: IMAP< A0002 OK Begin TLS negotiation now.
fetchmail: Issuer Organization: SomeOrganization
fetchmail: Issuer CommonName: localhost.localdomain
fetchmail: Server CommonName: localhost.localdomain
fetchmail: Server CommonName mismatch: localhost.localdomain != urbakken.dk
fetchmail: urbakken.dk key fingerprint:
1F:17:2D:5D:A3:FA:C3:0E:52:F5:D0:90:83:EA:0A:36
fetchmail: Warning: server certificate verification: self signed certificate
fetchmail: Issuer Organization: SomeOrganization
fetchmail: Issuer CommonName: localhost.localdomain
fetchmail: Server CommonName: localhost.localdomain
fetchmail: Server CommonName mismatch: localhost.localdomain != urbakken.dk
fetchmail: Warning: server certificate verification: self signed certificate
fetchmail: IMAP> A0003 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES
MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN LISTEXT LIST-SUBSCRIBED
NAMESPACE AUTH=PLAIN
fetchmail: IMAP< A0003 OK Capability completed.
fetchmail: IMAP> A0004 LOGIN "bbbb" *
fetchmail: IMAP< A0004 OK Logged in.
fetchmail: IMAP> A0005 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen
\Draft \*)] Flags permitted.
fetchmail: IMAP< * 1 EXISTS
fetchmail: IMAP< * 1 RECENT
fetchmail: IMAP< * OK [UNSEEN 1] First unseen.
fetchmail: IMAP< * OK [UIDVALIDITY 1108318214] UIDs valid
fetchmail: IMAP< * OK [UIDNEXT 2329] Predicted next UID
fetchmail: IMAP< A0005 OK [READ-WRITE] Select completed.
fetchmail: IMAP> A0006 EXPUNGE
fetchmail: IMAP< A0006 OK Expunge completed.
fetchmail: IMAP> A0007 SEARCH UNSEEN NOT DELETED
fetchmail: IMAP< * SEARCH 1
fetchmail: IMAP< A0007 OK Search completed.
1 message for bbbb at urbakken.dk.
fetchmail: IMAP> A0008 FETCH 1 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 3932)
fetchmail: IMAP< A0008 OK Fetch completed.
fetchmail: IMAP> A0009 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {2650}
reading message cccc@xxxxxxxxxxx:1 of 1 (2650 header octets)
fetchmail: SMTP< 220 lajka3.urbakken.dk ESMTP Postfix
fetchmail: SMTP> EHLO localhost
fetchmail: SMTP< 250-lajka3.urbakken.dk
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250 8BITMIME
fetchmail: SMTP> MAIL FROM:<kde-bounces-+erik=urbakken.dk@xxxxxxxxxxxx>
BODY=7BIT SIZE=3932
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<cccc@localhost>
fetchmail: SMTP< 550 <cccc@localhost>: Recipient address rejected: User
unknown in local recipient table
fetchmail: SMTP error: 550 <cccc@localhost>: Recipient address rejected:
User unknown in local recipient table
fetchmail: SMTP listener doesn't like recipient address `cccc@localhost'
fetchmail: SMTP< 220 lajka3.urbakken.dk ESMTP Postfix
fetchmail: SMTP> HELO localhost
fetchmail: SMTP< 250 lajka3.urbakken.dk
fetchmail: SMTP> MAIL FROM:<FETCHMAIL-DAEMON@xxxxxxxxxxxxxxxxxx>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> RCPT TO:<kde-bounces-+erik=urbakken.dk@xxxxxxxxxxxx>
fetchmail: SMTP< 250 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
fetchmail: SMTP: (bounce-message body)
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as 4A4CC6A0FC
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: SMTP> RCPT TO:<erikja@localhost>
fetchmail: SMTP< 250 Ok
fetchmail: no address matches; forwarding to erikja.
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#
fetchmail: IMAP< )
fetchmail: IMAP< A0009 OK Fetch completed.
fetchmail: IMAP> A0010 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {1282}
 (1282 body octets) **********************.********
fetchmail: IMAP< )
fetchmail: IMAP< A0010 OK Fetch completed.
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok: queued as 674796A104
 flushed
fetchmail: IMAP> A0011 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Deleted \Seen \Recent))
fetchmail: IMAP< A0011 OK Store completed.
fetchmail: IMAP> A0012 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE
fetchmail: IMAP< A0012 OK Expunge completed.
fetchmail: IMAP> A0013 LOGOUT
fetchmail: IMAP< * BYE Logging out
fetchmail: IMAP< A0013 OK Logout completed.
fetchmail: 6.2.5 querying urbakken.dk (protocol IMAP) at Wed 13 Apr 2005
05:58:07 PM CEST: poll completed
fetchmail: 6.2.5 querying urbakken.dk (protocol auto) at Wed 13 Apr 2005
05:58:07 PM CEST: poll completed
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye
fetchmail: normal termination, status 0


There is some errors I can see. Why are they here, and what can I do
about it ?.

Erik