-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 18 Oct 2012 10:37:00 +0100
Jamie Paul Griffin <ja...@kode5.net> wrote:

> Is your procmail in /usr/bin ? maybe it's in another part of the file
> system, such as /usr/local/bin ?

$ which procmail
/usr/bin/procmail

So I'm trying the .forward method; I commented out the mailbox_command
statement in main.cf, ran "postfix reload" and I've put 

"|/usr/bin/procmail"

in my ~/.forward but I still get the same type of error from postfix,
and nothing is written to my procmail log.

I really don't know what's wrong; if I do

cat some_mail_file | procmail

the mail gets correctly processed by procmail. Permissions on .forward
seem correct to me:

- -rw-r--r-- 1 renato users 20 Oct 18 12:42 /home/renato/.forward

How can I be sure that postfix is indeed reading my .forward file? Any
clever bash command to put in there for debugging this?

Also, when postfix reads/executes the .forward, as which user does he
do so? I.e. as which user is the procmail command going to be run?

renato
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBAgAGBQJQf9+hAAoJEBz6xFdttjrf+WIIAJNZukKvlrp+lhhnIkgMI8zd
pmETtLuSzbQHKSq0wYSAM0v7P+0fpQtLm45eWet0r+CbuNJt06uFwnrVumUhC6TN
mYJgXFKPC7sH3EW2Ojk8CgClVQ72r8aNIgrdl7Etr+sc+1RkWIeqCtPkqztRy+xl
oO656CkikClXjwbnM0ukdwrCeocG0EdyIM3uZ+kpbvPteBNyIMbAwDLfumoZY8qj
PCEiBUnGNWXMPI9eGu+NGyh+uBJ5joEgKMR+pC+KQc7LnMQWivMAIGh2z42Gh/Xy
HQWHvSDHV0YBmc8aICGM6vBiPXqaxMvf3oA9JUgyzEfkIO9oqHUIhM1C/0qyIS8=
=vvaF
-----END PGP SIGNATURE-----

Reply via email to