- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Email not being sent locally, but being sent g...
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
12-23-2003 01:56 AM
12-23-2003 01:56 AM
Email not being sent locally, but being sent globally
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 02:27 AM
12-23-2003 02:27 AM
Re: Email not being sent locally, but being sent globally
Can you look at the mail log file, usually in /var/adm/syslog/mail.log, and the system log, in /var/adm/syslog/syslog.log.
I expect you will find some pointers there.
Does the "mailq" command show anything ?
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 02:30 AM
12-23-2003 02:30 AM
Re: Email not being sent locally, but being sent globally
When you send mails internally what's error
logged /var/adm/syslog/mail.log ?
Possibly sendmail.cf Dj macro to be set correctly.
Revert with
/etc/mail/sendmail.cf
/etc/mail/sendmail.cw
/etc/mail/service.switch
/etc/resolv.conf
/etc/nsswitch.conf
/var/adm/syslog/mail.log
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 04:51 AM
12-23-2003 04:51 AM
Re: Email not being sent locally, but being sent globally
/usr/lib/sendmail -v
test
^d - yes, this is Control d to send.
If local delivery due to local accounts
they will be in /var/mail/.
If you are running NIS and have an NIS
aliases map or even local /etc/mail/aliases
then the sendmail test above will show you
the aliased to address.
You also have to check /etc/mail/sendmail.cf
for the line:
DS
Which is the smart relay. Your emails may
be getting routed to another system in the
network that is either delivering them
to the wrong system or /dev/null.
The test above will also show which system
it is connecting to and other useful info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 07:56 AM
12-23-2003 07:56 AM
Re: Email not being sent locally, but being sent globally
sendmail -d0 -bv user@domain
sendmail -bt
/parse user@domain
^D
Set LogLevel=13 in /etc/mail/sendmail.cf so sendmail will tell you everything you need to know in /var/adm/syslog/mail.log (or whereever syslogd is sending LOG_MAIL). Do not set LogLevel any higher or sendmail will generate debug notes to LOG_DEBUG that only a developer would understand.
If your domain has MX records defined in private DNS, you could set the Smart Host to just the domain name (DS$m) and let the MX hosts deal with all the outbound traffic.
If your server is not intended to be a mail relay or repository, you should also set DH$m, DR$m, and DM$m, forcing the MX hosts deal with ALL mail.