The 03.09.25 at 23:15, H du Plooy wrote:
I thought that postfix only got to see the mail after fetchmail has downloaded it. OK, so let me see if I understand this correctly. Fetchmail starts downloading the message, and as it comes in it sends it on to postfix. Postfix sees this message is bad news and warns fetchmail. Fetchmail aborts.
Is this correct?
Right :-) At least, that is the sequence I see in the logs - I always have the mail.debug log file enabled.
Now just one problem - I use sendmail. For some reason, since SuSE 8.2 refuses to drop the mail in my local mailbox. It happened on the first install, and on a re-install. No idea why, but I simply told yast2 to use sendmail instead, and now it works.
Er... you don't mean root mailbox? It will not work. It is documented on the postfix faq, that if you use postfix and procmail, postfix will be unable to deliver mail to "root", and instead will be delivered to "nobody". You have to setup a mail alias for "root" instead. It seems that root should not read his email, anyway, because root should not be working as root, anyway X-) -- no, the real reason is that postfix can not call procmail as user root, so that the procmail program can not read the configuration of "root", or even /etc/procmailrc. In short: if using postfix and procmail, do not use "/root/.procmailrc", nor "/etc/procmailrc". And set an email alias for root, to a local user that will read the root mail (ie, yourself). I know because it happened to me :-) -- Cheers, Carlos Robinson