LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

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


Hi,

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 master.cf:

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?

Thanks!
 
Old 10-02-2011, 06:11 PM   #2
rustek
Member
 
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:
75.165.246.13:26  inet  n - - - - smtpd
I don't think you need the brackets so something like;
Code:
-o relayhost=whatever.com:2525
Would probably work, I'm not an expert...

Russ
 
  


Reply


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 05:40 PM.

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