Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-27-2011, 04:44 PM   #1
LQ Newbie
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
Postfix - Multiple ports and multiple relayhost


I know I can have multiple ports listening, but can I have different relay host for each one?
I tried setting up port tcp/26 in

26 inet n - - - - smtpd
-o smtpd_sasl_auth_enable=yes
-o smtpd_sasl_password_maps=static:user: pass
-o smtpd_sasl_security_options=noanonymous
-o smtpd_tls_security_level=may
-o header_size_limit=4096000
-o relayhost=[relayhost]: port

Will that work?

Old 10-02-2011, 06:11 PM   #2
Registered: Jan 2010
Location: Melbourne, IA, USA
Distribution: Ubuntu
Posts: 93

Rep: Reputation: 8
I'm not familiar with your first line, it may be correct I just don't know, if I did it, it would look like this;
Code:  inet  n - - - - smtpd
I don't think you need the brackets so something like;
Would probably work, I'm not an expert...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] multiple sshd on different ports chesschi Linux - Newbie 4 05-18-2011 03:48 AM
Multiple minicom sessions w/multiple serial ports?? phody_lee Linux - Server 1 11-15-2010 11:17 AM
single ip with multiple ports .....possible?? kool_kid Linux - Networking 5 11-19-2007 09:56 AM
Multiple Autologins; Multiple Users; Multiple Sessions mrclisdue Linux - Desktop 1 09-26-2007 05:50 AM
postfix relayhost gabsik Linux - Networking 1 02-08-2007 02:51 AM

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration