Installing Maildrop

Maildrop is a replacement for your local mail delivery agent and is similar to mail/procmail. For more information, please see http://www.courier-mta.org/maildrop/


# cd /usr/ports/mail/maildrop
# make install clean

We now want to add the logging options to maildrop. For more information, Please see http://www.antagonism.org/mail/maildrop-multilog.shtml 


# mkdir -m 1755 /var/qmail/supervise/maildrop-logger
# mkdir -m 755 /var/qmail/supervise/maildrop-logger/log
# cd /var/qmail/supervise/maildrop-logger/log
# cp /downloads/qmailrocks/service-any-log-run run
# chmod 755 run
# cd ..
# cp /downloads/qmailrocks/log-maildrop log-maildrop
# cp /downloads/qmailrocks/pipe-watcher pipe-watcher
# cp /downloads/qmailrocks/maildrop-logger-run run
# chmod 755 pipe-watcher log-maildrop run
# touch /tmp/log-maildrop
# chown vpopmail:vchkpw /tmp/log-maildrop

Now lets start the maildrop logger service and make sure it's running: 


# ln -s /var/qmail/supervise/maildrop-logger /service/

Wait a few seconds and then run:


# svstat /service/maildrop-logger /service/maildrop-logger/log

and you should see something like: 


/service/maildrop-logger: up (pid 83407) 31 seconds
/service/maildrop-logger/log: up (pid 83408) 31 seconds


If you see that, you are all set! You can now proceed to the next step!

Disabling sendmail