niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Postfix
recipient address restriction
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
3dd13
*nix forums beginner


Joined: 26 Mar 2008
Posts: 1

PostPosted: Wed Mar 26, 2008 1:46 pm    Post subject: recipient address restriction
Subject description: question about setting "rcpt to" restrictions on postfix
Reply with quote

I need to set postfix to reject incoming mail where recipient is not in my list of company emails
(no, there is no local delivery, server acts as MX for company domains)

this is the part of main.cf which is questionable

smtpd_recipient_restrictions =
permit_mynetworks
reject_unauth_destination
check_recipient_access hash:/etc/postfix/odobreno

file odobreno contains list of addresses that should be valid in rcpt to command

user@domain OK
user@domain2 OK

and so on...

problem is that I can't test this on a working server .
when I telnet from localhost any rcpt to works...

current mailing system is like this
(postfix)
MX
transport_map
|
|
|
qmail on hosting 1 qmail on hosting 2 qmail on hosting 3

i got the list of emails from hosting servers in one file and I need postfix to check it...

hope that I made a good explanation of the stuff that I need
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 7:29 am | All times are GMT
navigation Forum index » Apps » Postfix
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix ldap and Rewriting sender email address endfx Postfix 2 Thu Apr 17, 2008 9:34 pm
No new posts expansion in master.cf mvmvm Postfix 0 Sat Mar 22, 2008 12:46 pm
No new posts I need to configure DHCP server to force client to obtain... malazc@gmail.com networking 1 Thu Jul 20, 2006 8:44 pm
No new posts enforcing local users' sender address M. Nejat AYDIN Postfix 9 Thu Jul 20, 2006 12:07 pm
No new posts Postfix sending Restriction of mails per user based Yadavendra Awasthi Postfix 5 Thu Jul 20, 2006 7:51 am

Loan | Cheap Loan | Sony VAIO Laptop | Refinance | Per Insurance
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0964s ][ Queries: 16 (0.0343s) ][ GZIP on - Debug on ]