Giorgos Keramidas wrote:
On Mon, 31 Mar 2008 13:29:28 -0700, Chris St Denis <[EMAIL PROTECTED]> wrote:
I've setup a new web server hostname doremi.ctgameinfo.com. When I try
to send mail to [EMAIL PROTECTED] it tries to deliver it locally
instead of to the mx server mx1.ctgameinfo.com.

In previous versions this seems to work correctly. Why would it be
trying to deliver locally this time? I'm running default sendmail
config that comes with the standard install.

Show us your `/etc/mail/hostname.mc' file, and if you have a file with a
list of `local' hostnames in `/etc/mail/local-host-names' show us that
file too.

It's just the default mc file.

Scenario 1 described above
-------------
No local-host-names file. I tried creating one with just the hostname in it, but it didn't help.

doremi# cat /etc/mail/doremi.ctgameinfo.com.mc | grep -v ^# | grep -v ^dnl
divert(-1)


divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.1 2007/11/22 16:19:40 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

define(`confCW_FILE', `-o /etc/mail/local-host-names')

DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)


Scenario 2 described above. stickyhost & MAIL_HUB were added to work around.
-------------
no local-host-names initially. One was created trying to debug this tho it doesn't seem to help any.
carbon# cat /etc/mail/local-host-names
localhost
carbon.smartt.com


carbon# cat /etc/mail/carbon.smartt.com.mc | grep -v ^# | grep -v ^dnl
divert(-1)


divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.1 2007/11/22 16:19:40 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

FEATURE(stickyhost)
define(`MAIL_HUB', `smtp-be1')





define(`confCW_FILE', `-o /etc/mail/local-host-names')

DAEMON_OPTIONS(`Name=IPv4, Family=inet')
DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')

define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)



Btw, should OSTYPE haven't been bumped to freebsd7?
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to