Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2007 12:19:52 -0700
From:      Andrew Fremantle <freebsd@skyhawk.ca>
To:        freebsd-questions@freebsd.org
Subject:   Invalid Global DNS name and sendmail
Message-ID:  <462D06D8.8060902@skyhawk.ca>

next in thread | raw e-mail | index | archive | help
Hello,

I've got a machine on the local network, with a local DNS name (which is 
not a valid name in the global DNS).

My problem is that I cannot kludge sendmail into behaving nicely and 
allow the periodic(8) mailings to get through.

The machine is named psyche.local
domain1.com is a domain that we own, but this machine has nothing to do 
with it. I want the emails delivered to andrew@domain1.com. This is not 
an email server in any way - All I care about it getting my periodic output.

Here are the settings I'm trying :

/etc/mail/psyche.local.mc
define(`SMART_HOST', `mail.telus.net')
define(`MAIL_HUB',`mail.telus.net')

define(`confDOMAIN_NAME',`domain1.com')

MASQUERADE_AS(domain1.com)
MASQUERADE_DOMAIN(psyche.local psyche)
FEATURE(`allmasquerade')
FEATURE(`masquerade_envelope')

/etc/mail/genericsdomain
psyche.local

/etc/mail/genericstable
root    andrew@domain1.com
andrew  andrew@domain1.com

/etc/mail/aliases
root : andrew@domain1.com

/etc/hosts
192.168.2.10   psyche psyche.local

With all the configurations I've tried, emails are rejected by my 
smarthost with an error like "sender address root@psyche.local invalid; 
domain does not exist".

What I'd like to do is find a way to alter sendmail's perception of my 
hostname. Ideally, this would only affect sendmail and nothing else.

I can't possibly be the only person running such a configuration. How 
have other people in the list worked past this?

- Andrew




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462D06D8.8060902>