Keith Warno [mailto:[EMAIL PROTECTED] wrote: > Is there some program I can use via a .qmail program line that, when a > mail comes in for a user, it'll establish an SMTP connection to the > exchange box? Oh wait.... how about calling qmail-remote directly? > Does it make sense to do > > |qmail-remote exchange.server.whatever "$SENDER" "$RECIPIENT"
qmail-remote prints status reports to STDOUT and does not use exit codes to communicate success or failure, so this will not work right. This integration tool I wrote will make this work. Just call dot_qmail_to_remote.pl from your .qmail file, and it will call qmail-remote and return the proper status information. http://www.davideous.com/qmail/dot_qmail_to_remote.pl-0.01 Remember to modify it to parse out the virtual domain prefix from $RECIPIENT if you are forwarding mail for a virtual domain. David Harris DRH Internet Inc. Qmail consulting http://www.drh.net/
