smtpd_recipient_restrictions and relay_recipient_maps

This is a discussion on smtpd_recipient_restrictions and relay_recipient_maps within the mailing.postfix.users forums, part of the Mail Servers and Related category; Is there a way to specify a restriction based on relay_recipient_maps in smtpd_recipient_restrictions? reject_unverified_recipient will not work with our internal ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-01-2005
Ken McCord
 
Posts: n/a
Default smtpd_recipient_restrictions and relay_recipient_maps

Is there a way to specify a restriction based on relay_recipient_maps in
smtpd_recipient_restrictions? reject_unverified_recipient will not work
with our internal mail server (GroupWise 5.5), as it accepts any
recipient.

Ideally, I'd like to have something like this:

smtpd_recipient_restrictions =
reject_invalid_hostname,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
permit_mynetworks,
reject_unauth_destination,
check_recipient_access hash:/etc/postfix/postmaster,
# New option?
check_relay_recipient hash:/etc/postfix/relay_recipients,
check_sender_access hash:/etc/postfix/disallow_my_domain,
check_sender_access hash:/etc/postfix/banned_senders,
check_sender_access hash:/etc/postfix/oft_forged_senders,
permit

This would allow me to check my relay_recipient_maps (relay_recipients)
file prior to the check_sender_access of the oft_forged_senders file
which I use to reject_unverified_senders. Right now, it seems that the
check of the relay_recipient_maps file happens after the incoming email
is 'permitted'.

I hope this makes sense.

Thanks,

Ken

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0