Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th July 2010, 17:15
spotix spotix is offline
Junior Member
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix address verification using relayhost without relay_domains

Hey,

Postfix is configured with relayhost, it is also set to do recipient address verification (reject_unverified_recipient) in smtpd_recipient_restrictions.

However, postfix by default won't relay any domains which are not listed as mydestination or relay_domains, to prevent "open relay".

I need postfix to act as a "proxy" between internet and relayhost. So once it gets email from internet it will do recipient address verification callout on relayhost and if it's deliverable it will relay mail to relayhost.

All domains are listed on relayhost server so address verification callout works with no issues, but it seems that postfix prevents any configuration to relay mail for domains which are not listed on itself in relay_domains, mydestination or transport_maps.

Basically what it should do, is to be "open relay" but it will relay to internal relayhost (in case address verification callout is successfull) and not the internet, so no harm done.

I know this can be done by synchronizing relay_domains or transport_maps from relayhost to this primary postfix, but i'd like to do address verification callout for this purpose.
Reply With Quote
Sponsored Links
  #2  
Old 13th July 2010, 11:59
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

You should be able to use milter-ahead to check reciepients http://www.milter.info/sendmail/milter-ahead/
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix queue problem? murunix Server Operation 7 2nd May 2011 01:55
ftp authentication fails fooboo Installation/Configuration 34 26th March 2010 14:04
Is my postfix is hacked? bzzik Server Operation 21 15th July 2009 14:13
postfix, pop3 uvbnserved Server Operation 22 24th May 2009 21:00
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 17:51


All times are GMT +2. The time now is 04:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.