- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Two SMTP Ports on same host - How to forward ?
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
тАО01-29-2003 02:15 PM
тАО01-29-2003 02:15 PM
Two SMTP Ports on same host - How to forward ?
Thanks in advance for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2003 04:39 PM
тАО01-29-2003 04:39 PM
Re: Two SMTP Ports on same host - How to forward ?
with "IPFilter/9000" (free and supported) you shoukld be able to "forward" to that port...
FWIW,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 07:41 AM
тАО01-30-2003 07:41 AM
Re: Two SMTP Ports on same host - How to forward ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 02:19 PM
тАО01-30-2003 02:19 PM
Re: Two SMTP Ports on same host - How to forward ?
I believe this can be done via sendmail, but it won't be easy. It will involve creating a new IPC mailer that uses port 2525 and a new rule in an appropriate ruleset to select this mailer for matching addresses.
You can start experimenting in /etc/mail/sendmail.cf by duplicating the relay mailer (Mrelay), calling it gateway (Mgateway), and changing
A=IPC $h
to
A=IPC localhost 2525
Then add this rule to ruleset 98 (S98):
R$* < @ $+ .GATEWAY. > [TAB] $#gateway $@ $2 $: $1@$2
(Note: [TAB] means this whitespace must be of tabs, not spaces, to distinguish the LHS from the RHS.)
Then add aliases to /etc/mail/aliases like this:
user1:user1@domain.GATEWAY
user2:user2@domain.GATEWAY
then refresh the aliases database and restart sendmail:
newaliases (sendmail -bi)
kill -HUP $(head -1 /var/run/sendmail.pid)
I'm sure you have many questions, so fire away!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 03:36 PM
тАО01-30-2003 03:36 PM
Re: Two SMTP Ports on same host - How to forward ?
you are right, that's the idea:
run multiple "sendmail", but each on a different local IP-address only (and of course "chroot()ed"). So they all would use port TCP/25. Then use "IPFilter/9000" to do the port-mapping/-forwarding from that port 2525 (or similiar) to the appropriate single IP-address port 25.
You can get "IPFilter/9000" for free form HP at : http://software.hp.com
FWIW,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 08:05 AM
тАО02-20-2003 08:05 AM
Re: Two SMTP Ports on same host - How to forward ?
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2003 08:23 AM
тАО02-20-2003 08:23 AM
Re: Two SMTP Ports on same host - How to forward ?
Assumes sendmail >= 8.10
Look at DaemonPortOptions in
/usr/contrib/sendmail/usr/newconfig/etc/mail/cf/README
e.g.
DAEMON_OPTIONS(`Port=2525, Addr=127.0.0.1, Name=MTA0')
DAEMON_OPTIONS(`Port=1234, Addr=127.0.0.1, Name=MTA1')
DAEMON_OPTIONS(`Port=4321, Addr=127.0.0.1, Name=MTA2')
You could probably tweak sendmail.cf directly, as well.