newbie problem: warning: maildir access problem for UID/GID

From: Dan Wilson (no email)
Date: Tue Jan 18 2005 - 22:51:22 EST

  • Next message: Matt: "Re: Virtual Delivery Order"

    I'm having permissions problems with virtual accounts. I am brand-new
    to postfix (finally have decided to toss qmail and all the patches
    that go with it). I followed the techie.org how-to (
    http://techie.org/Projects/TNMailServer-Full.aspx), but am still
    having problems with permissions.

    I hoping that I'm including everything that is need to help with this.

    Any help would be much appreciated! Thanks in advance!

    -Dan

    Here's my log
    ----------------
    Jan 18 20:01:33 pedro postfix/virtual[9098]: warning: perhaps you need
    to create the maildirs in advance
    Jan 18 20:01:33 pedro postfix/virtual[9100]: EA31985F:
    to=<>, relay=virtual, delay=111086, status=deferred
    (maildir delivery failed: ?)
    Jan 18 20:01:33 pedro postfix/virtual[9100]: warning: maildir access
    problem for UID/GID=12345/54321: create
    /var/spool/postfix/virtual/domain.tld/user/tmp/1106103693.P9100.pedro:
    Permission denied
    Jan 18 20:01:33 pedro postfix/virtual[9100]: warning: perhaps you need
    to create the maildirs in advance

    Here's the perms:
    --------------------
    pedro:/var/spool/postfix/virtual/domain.tld/user # ll
    total 0
    drwxrwxr-x 5 postfix postdrop 120 Jan 18 20:44 .
    drwxrwxr-x 6 postfix postdrop 152 Jan 12 23:51 ..
    drwxrwxr-x 2 postfix postdrop 48 Jan 12 23:51 cur
    drwxrwxr-x 2 postfix postdrop 96 Jan 15 13:07 new
    drwxrwxr-x 2 postfix postdrop 48 Jan 15 12:55 tmp

    Here's postconf -n
    ---------------------
    pedro:/var/spool/postfix/virtual/domain.tld/user # postconf -n
    alias_database = hash:/etc/aliases
    alias_maps = $alias_database
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    debug_peer_level = 2
    disable_vrfy_command = yes
    home_mailbox = Maildir/
    html_directory = /usr/share/doc/packages/postfix/html
    inet_interfaces = all
    mail_owner = postfix
    mail_spool_directory = /var/mail
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mydestination = $myhostname, localhost.$mydomain
    mydomain = acucore.com
    myhostname = pedro.acucore.com
    mynetworks_style = subnet
    myorigin = $myhostname
    newaliases_path = /usr/bin/newaliases
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/packages/postfix/README_FILES
    sample_directory = /usr/share/doc/packages/postfix/samples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    show_user_unknown_table_name = no
    smtpd_helo_required = yes
    smtpd_helo_restrictions = permit_mynetworks, reject_unknown_sender_domain
    smtpd_recipient_restrictions = permit_mynetworks
    permit_sasl_authenticated reject_rbl_client relays.ordb.org
             reject_rbl_client sbl.spamhaus.org reject_rbl_client
    proxies.relays.monkeys.com reject_rbl_client opm.blitzed.org
              reject_rbl_client dnsbl.njabl.org reject_rbl_client
    blackholes.wirehub.net reject_rbl_client dul.dnsbl.sorbs.net
              reject_rbl_client list.dsbl.org
    reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain = $mydomain
    smtpd_sasl_security_options = noanonymous
    unknown_local_recipient_reject_code = 450
    virtual_alias_maps = proxy:mysql:/etc/postfix/TNMailServer-Alias.cf
    virtual_gid_maps = static:54321
    virtual_mailbox_base = /var/spool/postfix/virtual
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/TNMailServer-Domain.cf
    virtual_mailbox_limit = 50000000
    virtual_mailbox_maps = mysql:/etc/postfix/TNMailServer-Mailbox.cf
    virtual_minimum_uid = 12345
    virtual_transport = virtual
    virtual_uid_maps = static:12345


  • Next message: Matt: "Re: Virtual Delivery Order"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD