2009/8/24 Δημήτριος Καραπιπέρης <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) -- Phill