Prev: calculate daily total email sent by postfix except for two orthree local domains.
Next: postfix smtp_loop() breaks SMTP
From: Danny on 23 Apr 2010 12:16 HI , I am well aware that postfix plays no part in the process I describe below, I merely wanted to know if the mailbox_command would play a part in it. That is why I gave you a little background (like normal) before I asked about the mailbox_command. Do not asume that all first-time posters are idiots, in fact, do not assume that anyone is an idiot. The mailbox_command is a postfix command, that is why I posted it here. It is part of the process of finding the fault. I just wanted an opinion not a lecture. Not all of us sit around computers everyday, some of us have a different dayjob than many on this list, just help us, don't scold us. But I apologise for posting such a simple query on the all mighty postfix mailing-list. Maybe you should have a list called : postfix-help-for-the-assumed-idiots(a)postfix.org. Don't you think that "it must be a bug" is a bit superflous? No it is not, it is the easiest way to send a first time poster on his way. It is obviuos that you have better things to discuss on this mailing than answer simple questions. Why don't you make this list an exclusive club for the initiated and seasoned postfix user only? Thank You Danny On Apr 22 10, /dev/rob0 : > To: postfix-users(a)postfix.org > Date: Thu, 22 Apr 2010 23:13:42 -0500 > From: /dev/rob0 <rob0(a)gmx.co.uk> > Subject: Re: mailbox_command > User-Agent: Mutt/1.5.19 (2009-01-05) > > On Thu, Apr 22, 2010 at 05:20:37PM +0200, Danny wrote: > > I am running Debian 5.4 with postfix 2.5.5-1.1, fetchmail > > 6.3.9rc2-4 and procmail 3.22-16. > > > > Now, before I upgraded to Debian 5.4 I had Debian 4.0 running the > > same postfix, fetchmail & procmail setup(with different versions > > obviously). > > > > Fetchmail got the mail, gave it to procmail via the ("mda formail > > -s procmail") flag in my /etc/fetchmailrc file. > > Nothing in any of that indicates that you really are doing anything > with Postfix. You use fetchmail(1) to retrieve (POP3 or IMAP) from a > remote server, then pass to the procmail(1) delivery agent. > > > Everything was running just nicely. > > > > So now I upgraded to Debian 5.4 and it seems like fetchmail is no > > longer calling procmail. Fetchmail just dumps everything into the > > /var/spool/mail/fetchmail file. It looks like it is bypassing the > > "mda" flag. > > Then I guess you might have a Debian packaging bug. You should > probably file a Debian bug against fetchmail. (It could be an > upstream bug too, but the Debian fetchmail maintainer should know.) > > > My .procmailrc file is fine I think. > > > > So someone I know said that I should delete the following command > > in postfix's main.cf file .... > > > > mailbox_command = /usr/bin/procmail -a "$EXTENSION" > > > > ... but this does not change anything. Am I missing something here? > > The right mailing list. :) Also, apparently not understanding that > Postfix plays no role in the mail handling you described. If there > really IS a Postfix issue, see here before posting again: > > http://www.postfix.org/DEBUG_README.html#mail > > > My /etc/fetchmail file is like this: > > ##################################### > > set syslog > > set postmaster "root" > > set no bouncemail > > set logfile "/var/log/fetchmail.log" > > set spambounce > > > > poll ###.###.###.### > > proto pop3 > > user "username" > > pass "password" > > fetchall > > expunge 50 > > mda "formail -s procmail" > > #################################### > > > > The top of my /root/.procmailrc file looks like this: > > This whole thing appears to be off topic, but one thing I will > mention: it's wrong and potentially dangerous to handle user tasks > like mail as root. This looks like it should all be done from a > non-root user account. > > > ################################### > > SHELL=/bin/sh > > PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin > > MAILDIR=~/Mail > > LOGFILE=/var/log/procmail.log > > LOGABSTRACT="all" > > VERBOSE="on" > > DEFAULT=~/Mail/inbox > > #DEFAULT=/var/mail/fetchmail > > PMDIR=$HOME=~/.procmail > > #INCLUDERC=$PMDIR/spam.rc > > > > I don't want to rewrite headers through formail or procmail. This > > is a home setup, and fetchmail must just go get the mail and pass > > it to procmail. > > -- > Offlist mail to this address is discarded unless > "/dev/rob0" or "not-spam" is in Subject: header
From: Wietse Venema on 23 Apr 2010 10:39
Danny: > HI , > > I am well aware that postfix plays no part in the process I describe below, I > merely wanted to know if the mailbox_command would play a part in it. That is > why I gave you a little background (like normal) before I asked about the > mailbox_command. Do not asume that all first-time posters are idiots, in fact, > do not assume that anyone is an idiot. You need to show logfile evidence that Postfix is actually part of your problem. I hope that is not too much to be asked. Wietse |