[CLUE-Tech] Re: TechMail sending issue

Jeremiah Stanley lists at miah.org
Thu Aug 1 15:05:31 MDT 2002


> You have to fix the configuration of your SMTP program (exim,
> sendmail, postfix, qmail, ...) such that it uses the right domain
> name.  This isn't a procmail issue.

> When procmail forwards mail, it just does so via /usr/sbin/sendmail.
> The envelope sender is going to be you, but your SMTP program doesn't
> know its own domain name so it tacks on localhost.localdomain.

Thanks for narrowing my scope a bit for me. It was a sendmail issue on
my local machine. I added these two lines to my sendmail.mc:

FEATURE(`masquerade_envelope')dnl
MASQUERADE_AS(`somedomain.com')dnl

The other useful line I found was this one which forces sendmail to
forward to a specific mail server to do mail delivery (very useful if
you have a sloooow link):

define(`SMART_HOST',`esmtp:mail.somedomain.com')dnl

> Configuring a traditional SMTP program like this can be a real pain,
> since they are designed for permanently connected hosts.  If I ever
> revert back to dialup, I'm going to see if
> http://innominate.org/kurth/masqmail/ makes things easier.

I have yet to check out that program/software but I found lots of good
information for all of you modem users that want to do offline delivery
in this HOWTO:

http://www.moongroup.com/docs/offline/sendmail-offline.html

I believe this is also in http://www.linuxdoc.org/ .

JStanley




More information about the clue-tech mailing list