Re: How to make maildrop give autoreplies and do forwarding?

[email protected] Mon, 11 Mar 2019 05:44:27 -0400
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
> To forward or send mail from a mailfilter, sqwebmail generates a rule that  
> invokes $SENDMAIL. You can see that in the .mailfilter. $SENDMAIL's default  
> value is established when maildrop gets built. At build time, a search is  
> made for the sendmail binary in predetermined location, and that gets saved.

     The debian package for sqwebmail overwrote my symlinks to sendmail.
/usr/sbin/sendmail -> exim4
/usr/lib/sendmail -> ../sbin/exim4
     Replacing those symlinks with my functional ones,
rm /usr/sbin/sendmail
rm /usr/lib/sendmail
ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
.    gave me the autoreplies and forwarding.

     Coincidentally, upgrading OpenBSD does something similar, introducing a symlink unusable on my system:
/usr/sbin/sendmail -> /usr/sbin/mailwrapper
     which I undo simply by doing,
rm /usr/sbin/sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail



> Check off "and continue filtering" when creating the mail filter.
     Thanks.