I am attempting to configure sendmail to pass mail addressed to a particular
domain to maildrop.

maildrop is already installed and used with getmail to collect mail from a
number of pop accounts. It has been installed as user:vmail group:vmail.
This existing setup works fine.

I've added the following to the sendmail configuration:

in /etc/mail/virtusertable
@second.domain.tld    second-domain-tld

and in /etc/mail/aliases
second-domain-tld:    "| /usr/local/bin/maildrop -d [EMAIL PROTECTED]"

It looks as though it's ready to work except for this in /var/log/maillog:
Dec 25 17:05:19 maildrop[75657]: Cannot set my user or group id.

Presumably this is because maildrop wants to set itself to run as user:vmail
and the existing setup I have works as-is because getmail (which calls
maildrop) is configured to run as user:vmail in /etc/crontab.

Either I need to find a way to allow maildrop to change itself to user:vmail
when called from sendmail (which I don't know how to achieve) or I need to
change maildrop to run as (I'm guessing) user:root which if memory serves
was something that was suggested to be avoided.

What would be the best approach?



[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to