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
01-13-2003 09:01 AM
01-13-2003 09:01 AM
SMTP
HPUX 11.11
Exchange 2000
Thanks BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 09:09 AM
01-13-2003 09:09 AM
Re: SMTP
You need set DS parameter in /etc/mail/sendmail.conf with your relay server resolution name, ie:
DSmy_relay_host@domain
Keep present your /etc/nsswitch.conf and /etc/resolv.conf
Also remember reactivate sendmail service after any change in /etc/mail/sendmail.conf by:
#/sbin/init.d/./sendmail stop
#/sbin/init.d/./sendmail start
Try to test any change by a single sendmail command:
#echo "This is a Test"|sendmail -v user@domain
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 10:22 AM
01-13-2003 10:22 AM
Re: SMTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 10:48 AM
01-13-2003 10:48 AM
Re: SMTP
cronus:/etc>echo "This is a Test"|sendmail -v brianb@lifetime.hoan.com
brianb@lifetime.hoan.com... lifetime.hoan.com: Name server timeout
brianb@lifetime.hoan.com... Transient parse error -- message queued for future delivery
brianb@lifetime.hoan.com... queued
cronus:/etc>ping osiris.lifetime.hoan.com
PING osiris: 64 byte packets
64 bytes from 172.16.1.15: icmp_seq=0. time=1. ms
64 bytes from 172.16.1.15: icmp_seq=1. time=0. ms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 11:48 AM
01-13-2003 11:48 AM
Re: SMTP
/usr/sbin/sendmail -v -d8.99 -d38.99 stevenprotter@juf.org
Here is the output from a good transmission.
attached.
If you do this type a message, hit enter.
then hit period(dot) . then hit enter, you will see good diagnostics.
Do this like this...
/usr/sbin/sendmail -v -d8.99 -d38.99 stevenprotter@juf.org > /tmp/sendmail.out
and you'll get a file showing you where the mail is getting rejected.
Also see the mailq command, to see if the mail even gets off your HP box.
Steve
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
01-13-2003 12:09 PM
01-13-2003 12:09 PM
Re: SMTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 12:22 PM
01-13-2003 12:22 PM
Re: SMTP
edit /etc/mail/sendmail.cf
uncomment the DS option and after if enter the fully qualified domain name of you SMTP gateway server
next
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 12:25 PM
01-13-2003 12:25 PM
Re: SMTP
DS osiris.robbinsville.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 12:56 PM
01-13-2003 12:56 PM
Re: SMTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 01:17 PM
01-13-2003 01:17 PM
Re: SMTP
Try detailing your resolv orde in /etc/nsswitch file. i.e:
hosts: dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=return]
Try in you /etc/resolv.conf with:
search yourdomain.com
nameserver nnn.nnn.nnn.nn <- Your DNS IP Address
(*) Always keeps a unchanged copy of these files. Remember restart sendmail service after
do any change, even after changes in the files /etc/nsswitch and /etc/resolv.conf
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
To chk queued mails execute "mailq -v", ths command will show you the content of /var/spool/mqueued directory where all non-successfully mail will be queued, each email have two files, one of the represent the header file and another is data file, you could remove them by rm command.
Accordind with your last info, your qualified domain name must be defined:
DSosiris.robbinsville.com (no blank space between DS and domain name)
And remember; after **any** change restart sendmail service!!!
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 01:46 PM
01-13-2003 01:46 PM
Re: SMTP
Another possible way is forcing the definition of the domain inside the file /etc/mail/sendmail.cf by the definition of your "Official Domain Name" (Dj$w). i.e:
Dj$w.
And, of course, restart sendmail service!
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2003 01:53 PM
01-13-2003 01:53 PM
Re: SMTP
Djyourdomainname.com
Thats what you want it to look like.
You can get around this by changing your hostname.
/etc/rc.config.d/netconf
hostname can be changed from
hostname to
hostname.yourdomainname.com
This may cause omniback problems with version 3.X and openspool problems with version B.1.60
But it does eliminate the need to screw with the Dj entry.
This is important because every time you play with /etc/mail/sendmail.mc or /etc/aliases et al, you need to generate a new sendmail.cf file and it will be a default one not with your DJ change.
I have a script for that if you are interesting.
Sendmail is so much fun its probably worth owning the sendmail book.
My sendmail experience with Dj is on Linux, with most everything else HP-UX and Linux.
Now if you want to send mail to aol or yahoo, make sure yourdomain name is registered. aol rejects all mail from unregistered domainnames with a nasty message.
I would LOVE to find out how to set up my sendmail daemon to do the exact same thing.
Steve
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
01-14-2003 09:18 AM
01-14-2003 09:18 AM
Re: SMTP
At 8.8.6 you have to use Claus Assman's check_relay ruleset hack.
See www.sendmail.org for lots of good stuff.