From: Johan V. <fet...@bo...> - 2007-08-15 13:06:13
|
Rob MacGregor wrote: > On 8/15/07, Johan Vandeweerd <fet...@bo...> wrote: > >> Hello all, >> >> At the beginning of this month I changed the username of one of my users >> but I forgot to change the corresponding username in the fetchmailrc >> config (so the username in the fetchmailrc config didn't exist anymore). >> For the last month fetchmail has been fetching my mails but didn't found >> a user on the local system (errormsg see title). >> What did fetchmail do with these mails (they are not on the server)? Are >> they stored somewhere or did I loose all the mails? >> > > It depends on a lot of things you haven't told us, not least of which > is the configuration of fetchmail and whatever SMTP server you are > running. > > I would expect that, by default, your SMTP server returned a "no such > user" type error and fetchmail generated bounce message (as detailed > in the FAQ), deleting the message from the remote POP/IMAP server. If > you consult your mail log it should tell you. > > I use postfix and courier. My fetchmailrc looks like this: set no bouncemail set daemon 600 defaults: antispam -1 batchlimit 100 poll pluto.sygmanet.be with protocol pop3 user "myemail" there with password "mypassword" is myusername here In the logs I find things like this: Aug 12 06:12:01 cyclops fetchmail[3067]: awakened at Sun 12 Aug 2007 06:12:01 AM CEST Aug 12 06:12:01 cyclops fetchmail[3067]: Server certificate verification error: self signed certificate Aug 12 06:12:01 cyclops fetchmail[3067]: Server certificate verification error: certificate has expired Aug 12 06:12:01 cyclops fetchmail[3067]: 1 message for myemailaddress at remoteserver (20949 octets). Aug 12 06:12:01 cyclops postfix/smtpd[19248]: connect from localhost[127.0.0.1] Aug 12 06:12:01 cyclops postfix/smtpd[19248]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <oldusername@localhost>: Recipient address rejected: User unknown in local recipient table; from=<fre...@uc...> to=<oldusername@localhost> proto=ESMTP helo=<localserver> Aug 12 06:12:01 cyclops fetchmail[3067]: reading message remoteusername@remoteserver:1 of 1 (20949 octets) (log message incomplete) Aug 12 06:12:01 cyclops fetchmail[3067]: SMTP error: 550 5.1.1 <oldusername@localhost>: Recipient address rejected: User unknown in local recipient table Aug 12 06:12:01 cyclops postfix/smtpd[19251]: connect from localhost[127.0.0.1] Aug 12 06:12:01 cyclops postfix/smtpd[19251]: EBAE7214DF2: client=localhost[127.0.0.1] Aug 12 06:12:01 cyclops fetchmail[3067]: mail from MAILER-DAEMON@localserver bounced to fetchmail Aug 12 06:12:02 cyclops postfix/cleanup[19252]: EBAE7214DF2: message-id=<20070812041201.EBAE7214DF2@localserver> Aug 12 06:12:02 cyclops postfix/smtpd[19251]: disconnect from localhost[127.0.0.1] Aug 12 06:12:02 cyclops postfix/qmgr[2967]: EBAE7214DF2: from=<>, size=2340, nrcpt=1 (queue active) Aug 12 06:12:02 cyclops postfix/smtpd[19248]: 0B354214DF4: client=localhost[127.0.0.1] Aug 12 06:12:02 cyclops postfix/cleanup[19252]: 0B354214DF4: message-id=<be1a01c7dca5$f0d405d0$0fff6d29@fredcoxaaxue> Aug 12 06:12:02 cyclops postfix/local[19253]: EBAE7214DF2: to=<fetchmail@localserver>, orig_to=<fetchmail>, relay=local, delay=0.13, delays=0.1/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to maildir) Aug 12 06:12:02 cyclops postfix/qmgr[2967]: EBAE7214DF2: removed Aug 12 06:12:02 cyclops postfix/qmgr[2967]: 0B354214DF4: from=<fre...@uc...>, size=21319, nrcpt=1 (queue active) Aug 12 06:12:02 cyclops fetchmail[3067]: flushed Aug 12 06:12:02 cyclops postfix/local[19253]: 0B354214DF4: to=<fetchmail@localhost>, relay=local, delay=0.17, delays=0.17/0/0/0, dsn=2.0.0, status=sent (delivered to maildir) Aug 12 06:12:02 cyclops postfix/qmgr[2967]: 0B354214DF4: removed Where are those bouncemessage sent to? Or how could I have noticed this earlier? The old mails are lost, I presume? Thanks Johan Vandeweerd |