-   Linux - Server (
-   -   Postfix - Multiple ports and multiple relayhost (

saraza 09-27-2011 04:44 PM

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?


rustek 10-02-2011 06:11 PM

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...


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