[comp.mail.uucp] smail routing problem

tpf@pyr.gatech.EDU (Tom Friedel) (09/27/89)

I am running 386/ix (Sysv 3.2 with sendmail) and have a mailer problem.

I am running smail 2.5.
I am using emory to resolve domain and uucp addresses for me.  This is
done by a path's entry of 
 	smart-host emory!%s

I want to mail to an address like 71131.3234@compuserve.com (dots on either
side of the '@'), but smail sends this out as emory!copuserve.com!71131.3234
which emory rejects.  Emory will handle emory!71131.3234@compuserve.com
correctly, but I can only get this by modifying the uucp control files. 

I tried for quite a while to modify smail to handle this correclty but
was unable to work my way through the C code.

Apparently the way it works (on my system) is mailx (which I use) calls 
sendmail which calls smail which queues the mail.  sendmail passes smail
an address of the form a.b@c.d which smails resolve() reverses for me.

Thanks much

Tom

Tom Friedel  (404) 320-7624 tpf@jdyx.UUCP
also:  tpf@jdyx.atlanta.ga.us ...gatech!emory!jdyx!tpf 
Public Access Unix BBS:  (404) 321-5020                  
"Live simply, so that others may simply live."
 

amanda@intercon.com (Amanda Walker) (09/27/89)

Having sendmail call smail can cause odd things, because smail is agressively
UUCP-oriented.  The solution I use on our system (which also has only one
UUCP link to a smart host [uunet]) is to have sendmail queue up the uux job
directly, bypassing smail completely for outgoing mail.

Here's the definition of the UUCP mailer from my sendmail.cf file:

Muucp, P=/usr/bin/uux, F=sDFMhu, S=10, R=23, A=uux - -r $h!rmail ($u)

Seems to work great, and it's less filling than regular smail :-).

--
Amanda Walker
amanda@intercon.com