HI I have configured a mail server to use a maildrop as the MDA to deliver mails.
my /etc/maildroprc file looks like this ################################################################### # EXTENSION="$1" user="5" domain="$6" MAILHOME="/home/vmail/" DEFAULT="$MAILHOME/$domain/$user/Maildir"
if (/^X-SPAM: Spam*/) { to "$MAILHOME/$domain/$user/Maildir/Junk" } else { to "$MAILHOME/$domain/$user/Maildir"
#################################################################
When i try to send create mail box using postfixadmin there is no error but the Maildir is created in /home/vmail instead of /home/vamil/domain.com/user1/
here is the logs ##################################################################### Aug 17 14:02:19 server3 clamd.amavisd[2152]: Database correctly reloaded (94464 viruses) Aug 17 14:17:00 server3 postfix/qmgr[6233]: 34FE237221: from=agnello@newwork.asia, size=421, nrcpt=1 (queue active) Aug 17 14:17:00 server3 postfix/qmgr[6233]: B1B1137154: from=agnello@newwork.asia, size=421, nrcpt=1 (queue active) Aug 17 14:17:00 server3 postfix/qmgr[6233]: 7617637155: from=agnello@newwork.asia, size=421, nrcpt=1 (queue active) Aug 17 14:17:00 server3 postfix/pipe[6401]: 34FE237221: to=agnello@newwork.asia, relay=maildrop, delay=1087, status=sent (newwork.asia) Aug 17 14:17:00 server3 postfix/qmgr[6233]: 34FE237221: removed Aug 17 14:17:00 server3 postfix/pipe[6403]: B1B1137154: to=agnello@newwork.asia, relay=maildrop, delay=1331, status=sent (newwork.asia) Aug 17 14:17:00 server3 postfix/qmgr[6233]: B1B1137154: removed Aug 17 14:17:00 server3 postfix/pipe[6404]: 7617637155: to=agnello@newwork.asia, relay=maildrop, delay=1227, status=sent (newwork.asia) Aug 17 14:17:00 server3 postfix/qmgr[6233]: 7617637155: removed
################################################################# my /etc/postfix/master.cf file looks like this
############################################################# # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop /etc/maildroprc -d ${recipient} # ################################################################
could some onel pls help me as to why maildrop is not creating the maildir in the right location .