On Wed, Oct 17, 2012 at 04:06:40PM +0200, Renato wrote:
> Hi, I'm new to postfix and MTAs in general; I'd like to set it up 
> for local delivery only on my Archlinux box. I've followed the 
> instructions on the archwiki [1] and my configuration files are 
> exactly as explained there, except that I have *not* set neither 
> home_mailbox nor mail_spool_directory, but instead I've setted
> 
> mailbox_command = /usr/bin/procmail
> 
> since I use procmail to sort my mail. 

That's fine, if you want to use procmail. However, you should have 
consulted procmail documentation and enabled procmail logging to 
solve this procmail (non-Postfix) issue.

You might also consider leaving out mailbox_command and using a 
~/.forward file to invoke procmail. *You* use procmail, but does it 
have to be system-wide?

> "mail -s test renato" though silently fails (renato is my username) 
> - i.e. mail never gets passed to procmail. In /var/log/mail.log I 
> see something like:
> 
> Oct 17 15:15:26 localhost postfix/pickup[472]: B3322200238: uid=1000 
> from=<renato>
> Oct 17 15:15:26 localhost postfix/cleanup[2246]: B3322200238: 
> message-id=<20121017131526.B3322200238@localhost>
> Oct 17 15:15:26 localhost postfix/qmgr[473]: B3322200238: 
> from=<renato@localhost>, size=669, nrcpt=1 (queue active)
> Oct 17 15:15:26 localhost postfix/local[2248]: B3322200238: 
> to=<renato@localhost>, orig_to=<renato>, relay=local, delay=3.6, 
> delays=3.5/0/0/0.05, dsn=4.3.0, status=deferred (temporary failure)

This is what you get when $mailbox_command fails for an unspecified 
reason (not one of the defined sysexits.h errors.)

> So I guessed the error is in local; I've substitued "local" with 
> "local -v" in master.cf and I get a much more detailed log:
> 
> http://pastebin.com/Lf95k9mG
> 
> which unfortunately doesn't tell me much.

I'm sure your verbose log, which I did not review, will show an 
attempt to invoke your mailbox_command. But again, Postfix logging 
only helps with Postfix problems. It does not know what's wrong in 
procmail.

> Could someone more expert than me point me in the right direction?
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Reply via email to