maildrop problem

Discussion in 'Installation/Configuration' started by zond, Jul 15, 2009.

  1. zond

    zond New Member

    ISPconfig 3.0.1.3
    maillog says
    temporary failure. Command output: /usr/bin/maildrop: Unable to open mailbox

    master.cf contain

    Code:
     
    maildrop  unix  -	   n	   n	   -	   -	   pipe
      flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}

    cat /etc/issue | sudo -u vmail maildrop -V 9 -d [email protected]
    Code:
     
    maildrop: authlib: groupid=5000
    maildrop: authlib: userid=5000
    maildrop: authlib: [email protected], home=/var/vmail, mail=/var/vmail/XXX.com/XXX
    maildrop: Changing to /var/vmail
    Message start at 0 bytes, envelope [email protected]
    maildrop: Attempting .mailfilter
    maildrop:[b] signal 0x16[/b]
    
    maildrop -V 4 -d [email protected] </aquota.user

    Code:
     
    maildrop: authlib: groupid=5000
    maildrop: authlib: userid=5000
    maildrop: authlib: [email protected], home=/var/vmail, mail=/var/vmail/XXX.com/XXX
    maildrop: Changing to /var/vmail
    Message start at 0 bytes, envelope [email protected]
    maildrop: Attempting .mailfilter
    .mailfilter(5): LOGNAME="[email protected]"
    [b]
    .mailfilter(6): EXTENSION=""
    .mailfilter(7): RECIPIENT=""
    .mailfilter(8): USER=""
    .mailfilter(9): HOST=""
    .mailfilter(10): SENDER=""
    [/b]
    .mailfilter(11): DEFAULT="/var/vmail///."
    .mailfilter(13): Evaluating IF condition.
    .mailfilter(13): IF evaluated, result=0
    .mailfilter(18): Evaluating IF condition.
    .mailfilter(18): IF evaluated, result=1
    .mailfilter(20): SENDER="<>"
    maildrop: Filtering through `test -e /var/vmail/$HOST`
    .mailfilter(28): Evaluating IF condition.
    .mailfilter(28): IF evaluated, result=0
    maildrop: Filtering through `test -e /var/vmail/$HOST/$USER`
    .mailfilter(34): Evaluating IF condition.
    .mailfilter(34): IF evaluated, result=0
    maildrop: Filtering through `test -f /var/vmail/mailfilters/$HOST/$USER/.autoresponder`
    .mailfilter(43): Evaluating IF condition.
    .mailfilter(43): IF evaluated, result=0
    maildrop: Filtering through `echo $SIZE >> /var/vmail/$HOST/$USER/ispconfig_mailsize`
    maildrop: Filtering through `test -f /var/vmail/mailfilters/$HOST/$USER/.mailfilter`
    .mailfilter(60): Evaluating IF condition.
    .mailfilter(60): IF evaluated, result=0
    .mailfilter(66): Evaluating IF condition.
    .mailfilter(66): IF evaluated, result=1
    
    ls -l /var |grep vmail
    Code:
    drwxrwxr-x  4 vmail  mail   4096 Июл 15 00:21 vmail
    maildrop can't get $1 $2 ... variables from master.cf

    Plz help me to solve this problem.
     
  2. zond

    zond New Member

    form example i have domain example.com and user example
    ls -lR /var/vmail
    Code:
    /var/vmail:
    итого 12
    drwxrwxr-x 3 vmail vmail 4096 Июл 14 12:19 example.com
    -rw-rw---- 1 vmail vmail  183 Июл 15 18:27 ispconfig_mailsize
    drwxrwxrwx 3 vmail vmail 4096 Июл 14 12:19 mailfilters
    
    /var/vmail/example.com:
    итого 4
    drwxrwxrwx 2 vmail vmail 4096 Июл 15 00:30 example
    
    /var/vmail/example.com/example:
    итого 12
    -rw-rw---- 1 vmail vmail 10047 Июл 15 20:15 ispconfig_mailsize
    
    /var/vmail/mailfilters:
    итого 4
    drwxrwx--- 3 vmail root 4096 Июл 14 12:19 example.com
    
    /var/vmail/mailfilters/example.com:
    итого 4
    drwxrwx--- 2 vmail root 4096 Июл 15 03:02 example
    
    /var/vmail/mailfilters/example.com/example:
    итого 0
    
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The maildir is not initiated correctly. Please delete the mail user and recreate it. This has been fixed in SVN already.

    By the way, your problem that you have here is not related to the problem in the other thread were you set a link to this thread. The other guy changed his maildir path and so messed up his setup.
     

Share This Page