How does maildrop know where to deliver the email ?

Discussion in 'Mail Server Support' started by ychaouche, Mar 30, 2016.

  1. ychaouche

    ychaouche New Email

    Joined:
    Mar 22, 2016
    Messages:
    5
    Likes Received:
    1
    Setup :

    Virtual mailboxes with postfix + courier. MDA = maildrop.

    maildrop is putting the emails of all the users into /var/vmail/Maildir instead of /var/vmail/domain.tld/email/


    file structure :

    Code:
    /var/vmail/domain.tld/user_name/
    /var/vmail/domain.tld/other_user_name/
    
    postfix's master.cf :

    Code:
    maildrop  unix  -      n      n      -      -      pipe -v
    flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} -w 80
    
    ${recipient} will be changed to user@domain.tld


    what configuration file do I need to set in order to have maildrop deliver mail to /var/vmail/user_name/ instead of /var/vmail/Maildir ?
     


Want to reply or ask your own question?

It only takes a minute to sign up (and it's free!). Click the orange sign up button to choose a username and then you can ask your own questions on the forum.
Loading...