[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiple queues per domain under sendmail
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: multiple queues per domain under sendmail
- From: rd_(_at_)_thrush_(_dot_)_com
- Date: Wed, 13 Feb 2002 17:17:06 -0500 (EST)
>>>>> "k" == kevin lyda <kevin_(_at_)_suberic_(_dot_)_net> writes:
k> i'm hosting a few domains for static ip dial up users. what i want
k> to do is put the mail for each domain in a seperate queue, and then
k> when the hosts connect to the net they can issue an etrn command to
k> my mailserver.
A few years ago (sendmail 8.9 timeframe), I setup a configuration
k> however i'm having a hard time finding sendmail docs on how to
k> accomplish this. i'm willing to consider postfix at this point.
k> so, any sendmail or postfix guru's care to give me tips here?
I used a dedicated sendmail queue for these customers,
ie. /var/spool/mqueue.etrn on the backup MX machine. A script
periodically moved queued messages for the etrn customers to the
dedicated queue. An incoming tcp port 25 connection was used to
invoke a customized sendmail command for that customer via specific
hosts.deny entries, ie.:
sendmail: mailhost.customer1.com : spawn (/usr/sbin/sendmail -oQ/var/spool/mqueue.etrn -qR_(_at_)_customer1_(_dot_)_com >> /var/log/mqueue.etrn 2>&1) & : ALLOW
sendmail: mailhost.customer2.com : spawn (/usr/sbin/sendmail -oQ/var/spool/mqueue.etrn -qR_(_at_)_customer2_(_dot_)_com >> /var/log/mqueue.etrn 2>&1) & : ALLOW
The customer used this mechanism by locally issuing an etrn command
to the backup MX when they wanted to receive accumulated mail.
The forementioned script was based on re-mqueue.pl which is included
in the sendmail.org tarball. If you're interested, I'll look for
the version I used.
Visit your host, monkey.org