- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unix Mail to Exchange 2003 (with a twist)
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
11-19-2004 01:17 AM
11-19-2004 01:17 AM
I know this has been discussed many times but i have a slight variant on the subject and could do with some help.
I have managed to get Exchange to send all it's outgoing mail via the Unix mail server but i have no idea how to get it to go the other way (unix to Exchange.
The problem is we don't use home directories just 2 generic specific logins for all our users (Kerridge) so our pop3 mailboxes for users live in /var/mail with a forward file in another directory sending mail into var mail if the user is setup for pop3 mail.
So i can't use a forward file in a home dir, so where would i put one and what would it say?
If anyone has followed me on this can they suggest anything?
Many Thanks
Jeff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2004 01:47 AM
11-19-2004 01:47 AM
SolutionI never type the direct link right.
Here it is
http://www.hpux.ws/buildmail.hpux.text
Set up the user in
/etc/mail/virtusertable /etc/mail/genericstable
Lets say Unix hostname is hpux Windows is called priceywin
virtusertable
username@hpux user@priceywin
genericstable
user@priceywin username@hpux
Run the script.
This has to be done user by user but it will foward user mail to the exhcange server, which should push the mail through unix and out the door.
Note: The Unix server probably should not be the same server as is forwarding the Exchange mail. Its possible to set up an endless, dangerous procesing loop if you are not extremely careful.
Perhaps do virtusertable or genericstable but not both.
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
11-19-2004 02:55 AM
11-19-2004 02:55 AM
Re: Unix Mail to Exchange 2003 (with a twist)
I'm a little worried about running the script as i'm not that familiar with that sort of script.
But at least it gives me somewhere to start.
Cheers
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2004 03:28 AM
11-19-2004 03:28 AM
Re: Unix Mail to Exchange 2003 (with a twist)
Also, compare the script to documentation at http://www.sendmail.org
What I can tell you is this is production quality code. It runs three times a day.
The dangerous part is the possibility of a circular loop.
If schmo@hpux mail is forwarded to schmo@pricey and the exchange server at pricey is forwarding all mail back to hpux, a serious situation could erupt.
You should always be warm and fuzzy about running someone elses code. Let me know if here is anything that can increase warmth and fuzziness at your end of this connection.
Have a good weekend too.
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
11-19-2004 04:04 AM
11-19-2004 04:04 AM
Re: Unix Mail to Exchange 2003 (with a twist)
Will see how it goes, i have to run both as mail servers because alot of users don't use pop3 mail but have mail stored on the Unix server.
My thinking was just to let Exchange send it's outgoing mail via Unix Sendmail, but then i was stumped over how mail coming in to the Unix server could be sent to the user but now obviously on the Exchange server.
I'm in early development with this so time is on my side to get it right.
Thanks and have a good weekend yourself.
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 09:27 PM
11-21-2004 09:27 PM
Re: Unix Mail to Exchange 2003 (with a twist)
You should add a version check to you script.
In my gen_cf the max index is 13.
Sendmail is 8.9.3 (PHNE_26305)
You'll get the version with:
sendmail -bt -d0.1
Regards,
Armin