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
'map chains' - recursive address validation
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
Jedi-V
*nix forums beginner


Joined: 23 Feb 2005
Posts: 32

PostPosted: Tue Jul 18, 2006 3:26 pm    Post subject: 'map chains' - recursive address validation Reply with quote

I was pointed to 'map chains' as a possible solution for a
*need/desire* of recursive addresses validation - or more correctly a
rewrite and then validate (first.lastname> flastname => check LDAP)

I only seem to find reference to 'map chains' as a request for
considersation and some higher level discussion. Had this ever moved
past the drawing board??

Along those same lines, I understand (now) that address validation
during the SMTP conversation is not recursive. Seeing how many of the
rewrite threads always clearly point out 'do not use wildcards' - and
I completely understand why - is there a higher level reason as to why
wildcard matches during address validation don't recursively get
verified (similiar to sending) - or any rewrite for that matter?

therefore, address gets a rewrote, that then gets validated/rewrote
again -- granted there are the scenarios of a circular rewrite, but
that is the case on sending/rewrite as well - and Postfix catches and
logs those appropriately.

Just a thought - seeing how 'wildcards' are always warned against.

Thanks



--
----------------------------------
please respond to the list .. if you need to contact me direct
cgmckeever is the account
prupref.com is the domain

<A href="http://www.prupref.com">Simply Chicago Real Estate</A>
Back to top
Wietse Venema
*nix forums Guru


Joined: 27 Feb 2005
Posts: 2697

PostPosted: Tue Jul 18, 2006 3:44 pm    Post subject: Re: 'map chains' - recursive address validation Reply with quote

Chris McKeever:
Quote:
I was pointed to 'map chains' as a possible solution for a
*need/desire* of recursive addresses validation - or more correctly a
rewrite and then validate (first.lastname> flastname => check LDAP)

The Postfix SMTP server currently does not validate addresses except
to check existence non-recursively. Address validation had to
be added years after the architecture was designed and implemented.
It cant' be done 100% accurately without major restructuring.

While it's cool and could solve some problems, I am not convinced
that 'map chains' would solve the address validation problem.

It would have to implement not only the input address rewriting
that is currently done in cleanup and trivial-rewrite, but also
the output address rewriting that happens in, for example, the
local delivery agent (to maintain consistency between virtual(5)
and local(Cool aliases).

Wietse

Quote:
I only seem to find reference to 'map chains' as a request for
considersation and some higher level discussion. Had this ever moved
past the drawing board??

Along those same lines, I understand (now) that address validation
during the SMTP conversation is not recursive. Seeing how many of the
rewrite threads always clearly point out 'do not use wildcards' - and
I completely understand why - is there a higher level reason as to why
wildcard matches during address validation don't recursively get
verified (similiar to sending) - or any rewrite for that matter?

therefore, address gets a rewrote, that then gets validated/rewrote
again -- granted there are the scenarios of a circular rewrite, but
that is the case on sending/rewrite as well - and Postfix catches and
logs those appropriately.

Just a thought - seeing how 'wildcards' are always warned against.

Thanks



--
----------------------------------
please respond to the list .. if you need to contact me direct
cgmckeever is the account
prupref.com is the domain

A href="http://www.prupref.com">Simply Chicago Real Estate</A

Back to top
Victor Duchovni
*nix forums Guru


Joined: 28 Feb 2005
Posts: 2927

PostPosted: Tue Jul 18, 2006 3:49 pm    Post subject: Re: 'map chains' - recursive address validation Reply with quote

On Tue, Jul 18, 2006 at 11:44:55AM -0400, Wietse Venema wrote:

Quote:
It would have to implement not only the input address rewriting
that is currently done in cleanup and trivial-rewrite, but also
the output address rewriting that happens in, for example, the
local delivery agent (to maintain consistency between virtual(5)
and local(Cool aliases).

Perhaps another reason why address validation should stop at the input
to virtual expansion, verifying the validity of that address, and not
its expanded value, but in any case, I agree that map chains would
solve a different problem (more flexible maps). For accurate recipient
verification it seems that Postfix would have to do the work internally
by doing at least the 1-to-1 (canonical and masquerade) expansion in
smtpd(Cool and perhaps also virtual(5) and perhaps aliases(5), but here
is some diversity of opinion.

--
Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain the Unix email
environment. If you are interested, please drop me a note.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 7:03 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 recipient address restriction 3dd13 Postfix 0 Wed Mar 26, 2008 1: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 recursive query Jürg Schaufelberger Server 1 Thu Jul 20, 2006 6:06 pm
No new posts enforcing local users' sender address M. Nejat AYDIN Postfix 9 Thu Jul 20, 2006 12:07 pm

Photography | Watch Naruto Online | Yugioh | Credit Cards | Bankruptcy
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.1359s ][ Queries: 16 (0.0569s) ][ GZIP on - Debug on ]