From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078614710670.tru64-unix-managers.marc@archive.invalid> From: x Date: Wed, 30 Jul 1997 20:38:42 +0000 To: tru64-unix-managers Subject: Sendmail, virtual domains, and queueing (Summary) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078614710670 I solved it, with a bit of playing around. It turns out I was doing something very stupid, and I had overlooked it entirely :( The problem was that I had jagpartners.com in my /etc/sendmail.cw file. By having this, Sendmail automatically assumed that anyone@jagpartners.com was local, so it would deliver the mail locally. After pulling the Cw line out, everything worked fine. _guy On Mon, 28 Jul 1997, system PRIVILEGED account wrote: > I'm trying to set up mail spooling for a virtual domain that we host. > The user wants to be able to dial and retrieve the email for his domain > via smtp. I figured the following trick would work... > > 1. Set up dns records like this (his domain name is jagpartners.com) - > jagpartners.com MX 10 jag.webquill.com ; << his dialin IP > jagpartners.com MX 20 quill2.webquill.com ; << a mail exchanger > for queueing > > 2. add a new mailer to sendmail that has the expensive flag set, ie.. > > Moffline, ..., F=...e, ... > > 3. add an entry to (and enable) the mailer table > > cat "jagpartners.com offline:jagpartners.com" >> /etc/mailertable > /usr/sbin/makemap btree /etc/mailertable < /etc/mailertable > > 4. fix up some other stuff in sendmail.cf > > Kmailertable btree /etc/mailertable # not dbm > O HoldExpensive=True # not False > > 5. If the user wants the queue dumped, he can use the etrn command, and > hopefully it sendmail will reprocess the queue for jagpartners.com and > send to the primary mail exchanger, which was his dialup host. > > > Ok. So I get all that squared away, and then I run sendmail in address > test mode on quill2 (/usr/sbin/sendmail -bt). > (script snipped) > which shows that the mailer chosen for that address is local, and not > offline. Do you have any ideas?