tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Sendmail, virtual domains, and queueing (Summary)
@ 1997-07-30 20:38 x
  0 siblings, 0 replies; only message in thread
From: x @ 1997-07-30 20:38 UTC (permalink / raw)
  To: tru64-unix-managers

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-07-30 20:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-30 20:38 Sendmail, virtual domains, and queueing (Summary) x

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox