Download your favorite Linux distribution at LQ ISO.
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 08-16-2006, 09:41 PM   #1
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Rep: Reputation: 15
Problem in relaying outbound mails for specific smtp

Hi Guys,

I have this client, and they have a Postfix Email Server, this client wants to make all outbound mails for the domain to relay on this specific smtp server (an smtp relay server that is located on their backup ISP provider). One problem is that they do not want to relay other outbound mails such as or for this smtp.

The reason they want to do this is that Aol does not allow to accept their mails that are comming from our clients postfix server unless it comes from their smtp relay that are located in their backup ISP provider.

Any idea on how to do this?

Old 08-17-2006, 02:58 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
Old 08-31-2006, 10:44 PM   #3
Registered: Apr 2006
Distribution: SuSE, RedHat, Fedora, CentOS, BSD
Posts: 115

Original Poster
Rep: Reputation: 15
Hi acid_kewpie,

I do think that transport_maps are only used for intranet, what im trying to figure is how can i relay it in a public IP smtp relay (internet)?

Old 08-31-2006, 11:39 PM   #4
Registered: May 2003
Location: Surabaya, Jawa Timur, Indonesia
Distribution: Ubuntu LTS Servers, Redhat Server Administrators and Solaris 10 Newbie
Posts: 56

Rep: Reputation: 15

dear gurl4sh25,

edit /etc/transport. add this line relay:[<your SMTP fqdn>]

edit add/edit this line :
transport_maps = hash:/etc/postfix/transport

adjust the path accordingly.

then run on the command prompt :
# postmap transport
# postfix reload

to check the relaying works :
send an email to while executing this line on the linux :
# tail /var/log/maillog -f

a line like this will show ( this line is example only ) :
Sep 1 11:15:31 dms postfix/smtp[28951]: 8AE51110C0A: to=<>, relay=<your SMTP fqdn>, delay=9, status=sent (250 2.0.0 k814FK7p012667 Message accepted for delivery)

It works on my PostFix.


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
Blocking mails from specific email addresses/domains in postfix jomy Linux - Networking 1 07-15-2008 08:32 PM
backup all e-mails (smtp/pop3) stomach Linux - Software 3 11-01-2005 11:32 AM
smtp relaying is prohibited sami Linux - Networking 4 04-06-2004 09:14 AM
SMTP: multiple mails with one connection? Titus Programming 2 07-19-2002 12:37 PM
How do I auto delete mails from a specific domains/users? markng Linux - Security 4 05-02-2002 10:41 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:08 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