On Thu, Feb 24, 2000 at 02:46:47PM -0300, Richard Spencer wrote:
>   I followed Lawson's suggestion. I added the following line 
> to my ~/.muttrc: 
> set sendmail="/usr/sbin/sendmail -t [EMAIL PROTECTED] -oi -oem"
> and it worked!
> 
> I suppose the right thing to do would be to fix sendmail's 
> problem in sendmail's config file, huh? I will probably not
> sleep soundly until I do; it's only a matter of time before
> I try another MUA and _it_ won't work.
> 
> Would I have to edit sendmail.mc and run the m4 preprocessor? 
No. But it might be better. 

Unless you _want_ to learn sendmail.cf syntax, which is darn confusing(for
me at least), you'll want to use the macro system, and while you could just
stick the lines I listed directly into sendmail.cf, if you regenerate sendmail.cf
from the sendmail.mc you'll lose customizations done to sendmail.cf

I believe that the options you'll want in sendmail.mc are:

FEATURE(masquerade_envelope)dnl
MASQUERADE_AS(uol.com.br)dnl
define(`confDOMAIN_NAME',`uol.com.br')dnl

Please take note that on the line 
define(`confDOMAIN_NAME',`uol.com.br')dnl
       ^type1     type2^ ^type1     ^type2

that the `s marked type1 are backtic's(next to the key 1 on my keyboard).
and the 's marked type2 are single quotes(next to semicolon). If you screw
these up, the macro will not be included, and it doesn't even seem to warn
you. after you run m4, you can egrep the sendmail.cf too check.

egrep '^#?Dj' sendmail.cf 
if it's
Djuol.com.br
you're fine, but if it's something like
#Dj$w.Foo.COM 
or nothing at all, try again.
these work for sendmail 8.9.3-6 (Debian) 19991013 . They *should* work
for sendmail 8.9.x. However probably won't for sendmail 8.8.x, but who knows)

-- 
this is not here

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to