Re: changed sendmail behavior on FreeBSD 7?
Dan Busarow wrote: On Mar 31, 2008, at 5:11 PM, fred wrote: Hi, I am having the exact same problem with a server running FreeBSD-7.0. The hostname is : server1.mydomain.com MX for mydomain.com is not server1. sendmail -v [EMAIL PROTECTED] test.msg will result in user unknown but sendmail -v [EMAIL PROTECTED] test.msg will work. If anyone knows how to get around this? In your .mc file define(`confDONT_PROBE_INTERFACES', `true') Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris St Denis Sent: 31 mars 2008 16:29 To: freebsd-questions@freebsd.org Subject: changed sendmail behavior on FreeBSD 7? 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. Another server I have seems to have this problem even worse. It's a web server, and for any of the hundreds of domains hosted on it (www A records pointed at it, but MX records pointed elseware) it also tries to deliver locally. I was able to get this mostly working by using a smarthost to the actual mail server, but I don't understand why it would be ignoring the mx records. I've never had problems like these with previous versions. What has changed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks, this seems to have fixed the problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
changed sendmail behavior on FreeBSD 7?
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. Another server I have seems to have this problem even worse. It's a web server, and for any of the hundreds of domains hosted on it (www A records pointed at it, but MX records pointed elseware) it also tries to deliver locally. I was able to get this mostly working by using a smarthost to the actual mail server, but I don't understand why it would be ignoring the mx records. I've never had problems like these with previous versions. What has changed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: changed sendmail behavior on FreeBSD 7?
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: changed sendmail behavior on FreeBSD 7?
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 -TTMPF /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', `WorkAroundBroken') 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 -TTMPF /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', `WorkAroundBroken') 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]
RE: changed sendmail behavior on FreeBSD 7?
Hi, I am having the exact same problem with a server running FreeBSD-7.0. The hostname is : server1.mydomain.com MX for mydomain.com is not server1. sendmail -v [EMAIL PROTECTED] test.msg will result in user unknown but sendmail -v [EMAIL PROTECTED] test.msg will work. If anyone knows how to get around this? -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris St Denis Sent: 31 mars 2008 16:29 To: freebsd-questions@freebsd.org Subject: changed sendmail behavior on FreeBSD 7? 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. Another server I have seems to have this problem even worse. It's a web server, and for any of the hundreds of domains hosted on it (www A records pointed at it, but MX records pointed elseware) it also tries to deliver locally. I was able to get this mostly working by using a smarthost to the actual mail server, but I don't understand why it would be ignoring the mx records. I've never had problems like these with previous versions. What has changed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: changed sendmail behavior on FreeBSD 7?
On Mar 31, 2008, at 5:11 PM, fred wrote: Hi, I am having the exact same problem with a server running FreeBSD-7.0. The hostname is : server1.mydomain.com MX for mydomain.com is not server1. sendmail -v [EMAIL PROTECTED] test.msg will result in user unknown but sendmail -v [EMAIL PROTECTED] test.msg will work. If anyone knows how to get around this? In your .mc file define(`confDONT_PROBE_INTERFACES', `true') Dan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris St Denis Sent: 31 mars 2008 16:29 To: freebsd-questions@freebsd.org Subject: changed sendmail behavior on FreeBSD 7? 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. Another server I have seems to have this problem even worse. It's a web server, and for any of the hundreds of domains hosted on it (www A records pointed at it, but MX records pointed elseware) it also tries to deliver locally. I was able to get this mostly working by using a smarthost to the actual mail server, but I don't understand why it would be ignoring the mx records. I've never had problems like these with previous versions. What has changed? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]