Re: Aliases to file

From: Derrick 'dman' Hudson (dman_at_dman13.dyndns.org)
Date: 06/25/04

  • Next message: Faithful John: "debian sarge xfree86 problem"
    Date: Fri, 25 Jun 2004 13:35:06 -0400
    To: debian-user@lists.debian.org
    
    
    

    On Fri, Jun 25, 2004 at 10:04:18AM -0500, Mark Gillingham wrote:
    | I want to set up a Postfix aliases entry to make it convenient for users
    | of another MTA (GroupWise) to send spam and ham for later entry to the
    | Bayes database via sa-learn. I have a Postfix server available and I've
    | made an entry to /etc/aliases (spam: /var/spool/mail/spam/). When
    | Postfix attempts to save a mail file, I get the following error:
    |
    | Jun 25 09:23:24 web2 postfix/local[12651]: 103814BE9D:
    | to=<spam@my.domain>, relay=local, delay=0, status=bounced (maildir
    | delivery failed: create
    | /var/spool/mail/spam/tmp/1088173404.12651_0.web2: Permission denied)

    | Perhaps I need to use mbox format rather than trying to use maildir?
    | Ideas? tia

    You need to make the mailbox (regardless of format) writeable by the
    user that postfix executes delivery as. I recommend using maildir
    over mbox, but that has nothing to do with your permissions issue.

    From local(8) :

        DELIVERY RIGHTS
           Deliveries to external files and external commands are made with the
           rights of the receiving user on whose behalf the delivery is made. In
           the absence of a user context, the local daemon uses the owner rights
           of the :include: file or alias database. When those files are owned by
           the superuser, delivery is made with the rights specified with the
           default_privs configuration parameter.

    -D

    -- 
    Love is not affectionate feeling, but a steady wish for the loved
    person's ultimate good as far as it can be obtained.
        --C.S. Lewis
     
    www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Faithful John: "debian sarge xfree86 problem"

    Relevant Pages

    • Aliases to file
      ... I want to set up a Postfix aliases entry to make it convenient for users ... of another MTA to send spam and ham for later entry to the ... I have a Postfix server available and I've ... I tried making a tmp dir within spam with this acl: ...
      (Debian-User)
    • Re: maildirs (was rolling Firefox back to 2.x
      ... Well, now, that may be - if it's "standard" though, somebody forgot to ... How did Postfix make this choice for you exactly? ... default setting for maildir delivery at the time. ... aware whether they're dealing with an mbox or a maildir. ...
      (Ubuntu)
    • RE: Help with Dovecot, Postfix and whacky results. [solved]
      ... /etc/init.d/postfix restart ... Help with Dovecot, Postfix and whacky results. ... /var/mail/ by default if you want mbox, but puts maildir ...
      (Ubuntu)
    • Fwd: Re: postfix
      ... Mihira Fernando schrieb: ... That error message means the pop server cannot open the maildir directory ... the path where Postfix saves the ... forst send the user a test mail so that the maildor folders ...
      (Debian-User)
    • Courier-imap with Postfix: folders dont work correctly
      ... I've had Postfix working fine on a server I run for months now. ... 100% of mail was forwarded to other SMTP servers for ... I told Postfix to use maildir, installed courier-imap, followed the ... I don't know what part of the Courier config files is relevant, ...
      (Debian-User)