Excellent...
Thanks James!
Mike -- (Realising he's not subscribed at this address!)
----- Original Message -----
From: "James Polley" <[EMAIL PROTECTED]>
To: "Michael S. E. Kraus" <[EMAIL PROTECTED]>
Sent: Monday, August 22, 2005 2:56 PM
Subject: Re: [SLUG] Setting up email domain on boxen
(Michael confirmed in a private email that he's using sendmail)
It sounds like you want to use a sendmail feature known as
"masquerading"; this will set mails that don't have a from domain
explicitly set to use the domain you specify rather than whatever
sendmail has decided your machine's name is
See http://www.sendmail.org/m4/masquerading.html for some rather
technical background
*Probably* all you need to do is set MASQUERADE_AS(`host.domain') in
your /etc/sendmail/sendmail.mc
If you're running debian, the "sendmailconfig" tool will ask you a
series of questions and set this up for you - answer "n" when asked if
you want to use your existing sendmail.mc
On 8/22/05, Michael S. E. Kraus <[EMAIL PROTECTED]> wrote:
G'day...
I've a couple of boxen that contain perl programs and cron processes which
send out email . The problem is that they are machines which exist on an
internal subnet and are named as such (e.g. my home machine is simply
called
mnementh).
Now, when sending email via smtp I get a lot of delivery failures because
of
this (invalid domain).
How can I fix this for the Perl programs and the cron processes?
Thanks!
Mike
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
There is nothing more worthy of contempt than a man who quotes himself
- Zhasper, 2005
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html