[ Renato wrote on Wed 17.Oct'12 at 16:06:40 +0200 ]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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.
>
> "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)
>
> 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.
>
> Could someone more expert than me point me in the right direction?
>
> many thanks,
> renato
Is your procmail in /usr/bin ? maybe it's in another part of the file
system, such as /usr/local/bin ?
Also, in the sample main.cf file that comes with postfix, an example is
provided:
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
However, as suggested, you could simply use the $HOME/.forward file to
pipe the mail through procmail. There are plenty of examples in the
procmail man pages and indeed online to guide you.