Current time: 05-03-2024, 04:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
allow all emails to pass for a certain recipient or recipient domain
Author Message
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #12
RE: allow all emails to pass for a certain recipient or recipient domain
Hay kilburn, it was probably one-to-one translation from my native language that made it sound sarcastic ! my bad Smile

if anyone needs this, here is how to do it (i think):

open /etc/postfix/main.cf

find section smtpd_recipient_restrictions

add

check_recipient_access hash:/etc/postfix/recipient-custom

somewhere in that section after the checks you want to be applied

create the file you defined ( /etc/postfix/recipient-custom ) and inside it put something like:

SOMEDOMAIN.COM OK

then run postmap[2] /etc/postfix/recipient-custom

reload postfix (to create hash?) ... viola ! (i think) !

useful links:
http://www.postfix.org/postconf.5.html
[2] http://www.postfix.org/access.5.html
(This post was last modified: 09-02-2009 05:35 AM by uwe.)
09-02-2009 05:28 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: allow all emails to pass for a certain recipient or recipient domain - uwe - 09-02-2009 05:28 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)