Re: put procmail between postfix and dovecot
- View SourceM. Fioretti wrote:
> On Fri, Dec 29, 2006 17:28:21 PM +0100, mouss (usebsd@...) wrote:it is generally better to have distinct users for different tasks. so
>>> Dec 28 16:49:18 fm postfix/pipe: fatal: get_service_attr: unknown
>>> username: vmail
>> what is the result if you run the command manually:
>> # su vmail -c 'procmail ....' < message.eml
> su: user vmail does not exist...
> Sorry, I have no idea what happened here. OK, let's try to look at it
> from scratch, from another angle: what is the best/safer user under
> which procmail (as virtual transport for postfix) should run? The same
> as the IMAP server which will then manage the email?
create a vmail (or chose another name) user and use it. this assumes
your imap server can still access the mailstore, either because it runs
as root or is suid root. if not possible, then use this user to deliver