Re: Mutt strating up.
René Clerc wrote:
>Mutt and Postfix don't depend on eachother. Postfix should be
>configured to put received mail for "erikja" in /var/mail/erikja.
>Mutt should be (and is, so it seems) configured to read mail from this
>same location. If mutt spits an error like:
>
> /var/mail/erikja: No such file or directory (errno = 2)
>
>This is because:
>
>- no mail has been received for erikja
>- Postfix delivered mail for erikja in an other location, possible
> through $mailbox_command
>- (some less obvious explanations left out)
>
>
Ok.
>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.
>>Sorry for asking again, but I also have puzzled with fetchmail, and got
>>it up working.
>>
>
>What do you mean by "working"? Where is the mail stored that was
>retrieved through fetchmail? Perhaps also filtered through procmail?
>
>
I have not been lucky to have had mails when I ran fetchmail -v, so I
have no idea where mails
are stored.
This is what I mean by working:
erikja@lajka3:~> fetchmail -v
fetchmail: 6.2.5 querying urbakken.dk (protocol auto) at Wed 13 Apr 2005
04:26:3
3 PM CEST: poll started
fetchmail: 6.2.5 querying urbakken.dk (protocol IMAP) at Wed 13 Apr 2005
04:26:3
3 PM CEST: poll started
fetchmail: IMAP< * OK dovecot ready.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES
MULTIAPPEND UNSEL
ECT 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:E
A: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 UNSEL
ECT LITERAL+ IDLE CHILDREN LISTEXT LIST-SUBSCRIBED NAMESPACE AUTH=PLAIN
fetchmail: IMAP< A0003 OK Capability completed.
fetchmail: IMAP> A0004 LOGIN "xxx" *
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 13301] Predicted next UID
fetchmail: IMAP< A0005 OK [READ-WRITE] Select completed.
fetchmail: No mail for xxx 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
04:26:3
3 PM CEST: poll completed
fetchmail: 6.2.5 querying urbakken.dk (protocol auto) at Wed 13 Apr 2005
04:26:3
3 PM CEST: poll completed
fetchmail: 6.2.5 querying pop3.mail.dk (protocol auto) at Wed 13 Apr
2005 04:26:
33 PM CEST: poll started
fetchmail: 6.2.5 querying pop3.mail.dk (protocol IMAP) at Wed 13 Apr
2005 04:26:
33 PM CEST: poll started
fetchmail: IMAP< * OK IMAP4 server (InterMail vM.6.01.03.04
201-2131-111-106-200 40729)
ready Wed, 13 Apr 2005 16:26:33 +0200 (MEST)
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 UIDPLUS NAMESPACE QUOTA
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: IMAP> A0002 LOGIN "yyyyyyyyyyy" *
fetchmail: IMAP< A0002 NO Account is not allowed to use IMAP
fetchmail: IMAP> A0003 *
fetchmail: Authorization failure on yyyyyyyyyy@xxxxxxxxxxxx
fetchmail: IMAP> A0004 LOGOUT
fetchmail: IMAP< A0003 BAD Unrecognized command, please login
fetchmail: IMAP< * BYE IMAP4 server terminating connection
fetchmail: IMAP< A0004 OK LOGOUT completed
fetchmail: 6.2.5 querying pop3.mail.dk (protocol IMAP) at Wed 13 Apr
2005 04:26: 33 PM CEST: poll
completed
fetchmail: 6.2.5 querying pop3.mail.dk (protocol auto) at Wed 13 Apr
2005 04:26: 33 PM CEST: poll
completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: normal termination, status 3
>>Then I would get back to mutt, and typed mutt at the
>>prompt, but this occured:
>>
>>/var/mail/erikja: No such file or directory (errno = 2)
>>
>
>See my story above, replace Postfix with fetchmail - the same might be
>the case.
>
>