Users source could be ldap or mysql, not a hash file.
In essence, I need to employ the local_recipient_map property, which holds all the valid recipients
of the particular Postfix instance.

Dimitrios

O/H Phill Macey έγραψε:
2009/8/ l24 Δημήτριος Καραπιπέρης <dim...@thessaloniki.gr>:
I came to this solution, a bash script to validate a local recipient
employing the SMTP protocol.

Depending on your config, wouldnt you also be able to use 'postmap -q'
or  'postalias -q' to directly query a particular lookup table? That
would avoid a network connection and avoid cluttering logs with your
half completed connections. I suppose talking SMTP lets you take
advantage of some of the smarts that postfix uses to do more recursive
type lookups or any other validations that might happen in the
background.

(recursive as in, in an access table, attempt to match
u...@host.example.com, then try host.example.com and .example.com etc.
Apologies if I have misunderstood how the access tables do their
matching - Im a noob)


Reply via email to