TMDA & Vpopmail User
TMDA uses the vpopmail user name in the confirm request rather than the real name.
I am not a Python programmer, my first hack at it BTW, but I did come up with this bit
of code snippet to put in /etc/tmdarc.
FULL_PATH = os.path.expanduser("~")
import re
import commands
m = re.compile('([^\/]+)/([^\/]+)$')
CMD = '/d/vpopmail/bin/vuserinfo -c ' + m.search(FULL_PATH).group(2) + '@' + m.search(FULL_PATH).group(1)
FULLNAME = commands.getoutput(CMD)
TaDa!!! Vpopmail-Master <[email protected]> becomes Alamak Chatmaster <[email protected]>
|