- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- experiencing a sendmail issue on 11.31 :(
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2008 08:29 AM
09-10-2008 08:29 AM
experiencing a sendmail issue on 11.31 :(
the issue is, everything defaults to our company smtp box...the DS server which is specified in the sendmail.cf file.
we have 18 other non 11.31 boxes with a similar configuration, and they processes requests as follows.
if you send mail to anything that is defined in our local /etc/hosts file, mail IS routed directly to that server.
if you send to anything that is NOT defined, it defaults to our DS server.
I tried commenting OUT the following macro entry in the sendmail.cf file:
# pass names that still have a host to a smarthost (if defined)
R$* < @ $* > $* $: $>95 < $S > $1 < @ $2 > $3 glue on smarthost name
during testing, mail was correctly being routed to the recipient host (if defined in /etc/hosts).
Unfortunately anything that was NOT defined, didn't go anywhere...
any assistance would be appreciated,
manuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2008 09:17 AM
09-10-2008 09:17 AM
Re: experiencing a sendmail issue on 11.31 :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2008 09:37 AM
09-10-2008 09:37 AM
Re: experiencing a sendmail issue on 11.31 :(
IF DS is configured in sendmail.cf all mail will be processed by that host if it is defined.
I always do it by ip address. I see no reason why if there is a DNS problem the mail should be held up. Let it sit on the relay server instead.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2008 10:35 AM
09-10-2008 10:35 AM
Re: experiencing a sendmail issue on 11.31 :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2008 11:56 AM
09-10-2008 11:56 AM
Re: experiencing a sendmail issue on 11.31 :(
If you have not made a huge amount of mods other then setting the smart relay then you need to check sendmail.cw to have local delivered local and everything else go to the smart relay.
If you have made a huge number of mods then you need to tell us everything that you have configured from the defaults.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2008 01:09 PM
09-10-2008 01:09 PM
Re: experiencing a sendmail issue on 11.31 :(
DSourLOCALsmtpBOX.domain.net
DMourEXTERNALdomain.com
Dj$w.domain.com
local /etc/hosts resolves ourLOCALsmtpBOX.domain.net from DS entry above:
192.x.x.x DSourLOCALsmtpBOX.domain.net
things I have tested:
localhost mail is unaffected
if I add ourEXTERNALdomain.com as an alias associated w/our DSbox in /etc/hosts:
192.x.x.x DSourLOCALsmtpBOX.domain.net DMourEXTERNALdomain.com
and
commentOUT the smarthost entry from sendmail.cf :
# pass names that still have a host to a smarthost (if defined)
R$* < @ $* > $* $: $>95 < $S > $1 < @ $2 > $3 glue on smarthost name
I am able to send mail to both hosts defined in our local /etc/hosts file AND our local SMTP box.
although this works, I feel there must be another way to configure sendmail to play nice...
thanks for your assistance,
manuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2008 01:10 PM
09-10-2008 01:10 PM
Re: experiencing a sendmail issue on 11.31 :(
you are correct, our sendmail.cw file contains the following:
localhost
ourFULLYqualifiedHOSTname
hostnameALAIAS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2008 01:18 PM
09-10-2008 01:18 PM
Re: experiencing a sendmail issue on 11.31 :(
# See if we are supposed to deliver to hosts in the local domain
###TIM Uncomment the below to controll local domain delivery. $m must be set
#
R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2008 01:20 PM
09-10-2008 01:20 PM
Re: experiencing a sendmail issue on 11.31 :(
R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?
currently NOT commented out...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2008 10:42 AM
09-11-2008 10:42 AM
Re: experiencing a sendmail issue on 11.31 :(
thanks,
manuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2008 08:57 AM
09-19-2008 08:57 AM
Re: experiencing a sendmail issue on 11.31 :(
resolved by generating sendmail.cf file w/mailertable
# cd /usr/newconfig/etc/mail/cf/cf
- run
# ./gen_cf
Under the title "Sendmail Configuration File generator", choose the following,
1: General Features
4: Mailertable
8: Send only
0: Main Menu
5: Generate sendmail.cf
The Selected Options are:
mailertable
Do you want to continue and build the configuration file Press any key to continue or [n/N] to unset all options
Including mailertable
Building sendmail.cf.gen...
#
- Make a backup copy of you /etc/mail/sendmail.cf file.
- Copy the /usr/newconfig/etc/mail/cf/cf/sendmail.cf.gen to /etc/mail/sendmail.cf
- Make sure you add you other options such as Dj$w, DS, DM etc back into /etc/mail/sendmail.cf.
create the following mailertable file:
>cat /etc/mail/mailertable
server.domain.com esmtp:server.domain.com
perform the following command:
makemap dbm /etc/mail/mailertable < /etc/mail/mailertable
thanks everyone.