reading sendmail alaises

David Bear iddwb at moroni.pp.asu.edu
Thu Jan 31 17:20:13 EST 2002


I would like a quick way to resolve sendmail aliases.  I've thought
about reading and parsing /etc/aliases myself but thats too much
work.  Is there some module/interface to sendmail that would allow
something like

realaddress = sendmail.resolve-alias(name)

Even though I could build a dictionary from aliases, the file may
actually be in db format -- so I'm looking for a 'sendmail' way of
grabbing them.


-- 
David Bear
College of Public Programs/ASU
480-965-8257
...the way is like water, going where nobody wants it to go



More information about the Python-list mailing list