Review your favorite Linux distribution.
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 02-05-2013, 02:08 AM   #1
LQ Newbie
Registered: Feb 2013
Posts: 5

Rep: Reputation: Disabled
Postfix Multiple SMTP Relay

Dear friends, I have a VPS with multiple domains hosted. Over time I was a problem with shipping to accounts ''. The solution I found was to hire an SMTP service to relay e. I had to configure Postfix to have some authentication data for each domain. Here attached configuration for which you can serve:

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwords
smtp_sasl_security_options = noanonymous
smtp_tls_security_level = may
start_tls = yes
header_size_limit = 4096000
smtp_sender_dependent_authentication = yes
sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
relayhost =

/etc/postfix/sender_relay []:25

#[]:25 usuario:clave usuario:clave

postmap /etc/postfix/sender_relay
postmap hash:/etc/postfix/sasl_passwords
/etc/init.d/postfix restart

This configuration works well for the relay of all emails in each domain. My question now is whether there is a Postfix configuration allowing the relay emails sent only to '' for each domain. That would solve my problem, because the only emails I am having reception problems are with '', others are working properly and I can send to my VPS server.

Thank you very much in advance.


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
postfix smtp relay security scoutdubna Linux - Server 4 01-03-2012 05:27 AM
Postfix SMTP relay dvishloff Linux - Server 6 12-29-2011 03:14 PM
postfix smtp relay ormey2000 Linux - Server 2 01-19-2010 07:24 AM
Postfix as SMTP relay to exchange help GGlinux Linux - Server 6 07-29-2009 09:10 PM
Postfix smtp relay issue aaf Linux - Software 3 11-22-2006 01:34 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:04 PM.

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