Loading ...
Sorry, an error occurred while loading the content.

Re: put procmail between postfix and dovecot

Expand Messages
  • mouss
    ... it is generally better to have distinct users for different tasks. so create a vmail (or chose another name) user and use it. this assumes your imap server
    Message 1 of 25 , Dec 29, 2006
    View Source
    • 0 Attachment
      M. Fioretti wrote:
      > On Fri, Dec 29, 2006 17:28:21 PM +0100, mouss (usebsd@...) wrote:
      >
      >
      >>> Dec 28 16:49:18 fm postfix/pipe[4529]: 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?
      >

      it is generally better to have distinct users for different tasks. so
      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
      mail too.
    Your message has been successfully submitted and would be delivered to recipients shortly.