- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail / no longer primary
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
Discussions
Discussions
Forums
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
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
тАО03-17-2011 04:59 AM
тАО03-17-2011 04:59 AM
Today we are implementing MS Exchange, all clients will be going there now.
sendmail will still be used to send/receive certain system-and-application related email to a few users to and from on Exchange but otherwise the 'normal' user population will no longer need accounts on that HP-UX box.
Can anyone provide a punch list of this I need to do to get sendmail to not believe that it is the primary email server?
I had asked before here about how to make it a secondary server - not sure that's needed. Primarily, I just want it to be able to send email to folks on exchange that it used to have locally.
For example, if a root cron script used to send email to user 'fred@mydomain.com' who was a local user, now it needs to send the email to 'fred@mydomain.com' on the Exchange box.
I'll put the Exchange box as the smart host in sendmail and change my local DNS MX record to point to Exchange. Not sure of the other steps.
My sendmail.cw file contains a list like this one:
localhost
mydomain.com
hpux.mydomain.com
mail.mydomain.com
Any comments on what to do with that?
Fred
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2011 05:28 AM
тАО03-17-2011 05:28 AM
Re: sendmail / no longer primary
> host in sendmail and change my local DNS MX
> record to point to Exchange. Not sure of
> the other steps.
I know nothing, but I'm not sure that there
are other steps (or need to be). You _can_
try to cripple the HP-UX system's ability to
handle e-mail, but if no one actually sends
it any, and if it sends all it has elsewhere,
then who cares if it's still willing to
handle it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2011 06:00 AM
тАО03-17-2011 06:00 AM
SolutionMost shops just implement DS relay to the Exchange box from Unix.
Those relationships need to be set up explicitly by IP address on the Exchange server.
You may have to use HP's imitation of the sendmail m4 process to build a new sendmail.cf file.
http://hpux.ws/buildmail.hpux.text
Has the details.
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
тАО03-17-2011 12:10 PM
тАО03-17-2011 12:10 PM
Re: sendmail / no longer primary
Now, it no longer accepts mail for my domain but happily forwards it to Exchange.
The caveat, and I think I like it, is that unqualified email generated from the sendmail server itself stays there.
Email sent from unix to 'fred' is accepted by sendmail and delivered to the local user fred. Email sent to 'fred@mydomain.com' is no longer accepted and forwarded to the Exchange server.
I had a few watchdog scripts running that sent email to certain users but I just modified them with the FQDN in the email address.
Thanks,
Fred
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2011 12:52 AM
тАО03-21-2011 12:52 AM
Re: sendmail / no longer primary
Please ensure that your /etc/resolv.conf file have the following entry:
domain mydomain.com
Also if you want force that sendmail cannot automatically determine your domain please set at /etc/mail/resolv.conf this entry:
Dj mydomain.com
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2011 06:30 AM
тАО03-24-2011 06:30 AM
Re: sendmail / no longer primary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2011 06:37 AM
тАО03-24-2011 06:37 AM
Re: sendmail / no longer primary
account@server.mydomain.com
This turned out to be a good thing, I have a couple of sendmail accounts that receive automated EDI messages that are retrieved by a unix program on a schedule, for processing.
So, on the Exchange server that is now accepting email for mydomain.com, there is a mailbox set up with the same name as the old sendmail address, and that one just forwards the email to the sendmail server using the FQDN.
So, all good.