I have a perl program that functions as 'sendmail -bt'. It works in the
limited configuration shown below.
Implementation is by calls to postconf to get the file names and then repeated
calls to post map. My system uses:
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
regexp:/usr/local/etc/postfix/virtual.regexp
virtual_alias_domains = $virtual_alias_maps
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
Sample output:
# postmail registrat...@domain1.com
registrat...@domain1.com ==> registrat...@domain2.com
registrat...@domain2.com ==> i...@domain2.com
i...@domain2.com ==> regu...@yahoo.com
Lots of limitations but it's a start. If there is any interest I will post the
code or send it along.
_____
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
Fax: 301-217-9277