For SMTP forwarding of messages in a domain mailbox you can use WSMTPEx.exe, as mentioned in the link I posted before:
Thomas R. Stephenson:
The third one is the program WSMTPEx.exe (SMTPEX.NLM for Netware) and this a a separate program that takes mail for a email account and forwards it to any port and any hostname/IP address. I use this with my domains to forward the mail to a Linux system (must use high ports as non-root) and to a second instance of Mercury/32 running on my system (can't share port 25) Here's a sample of the ini file I use for forwarding all mail to Mercury/32 running on Ubuntu v8.10 and Wine.
# You can rename this tool, but name of following section must remain [WSMTPEx]
[WSMTPEx]
Version=0.10
# TCP port, on which SMTP server listens
Port=8025
# Number of seconds to delay between searches for emails
LoopDelay=30
# Folder, under which is most of user's mailboxes
UserFolder=
Domains=1
# Users mail address domain part
Domain1=linux-tstephenson.com
LogName=c:\Mercury\WSMTPEx.log
SMTPServer=192.168.1.4
MailBoxes=1
Badmails=c:\pmail\mail\BadMail
[linux-tstephenson.com]
# When user name start with "DM:", WSMTPEx will try to find SMTP envelope address in mail file
Mb1addr=dm:ubunto
Mb1dir=c:\pmail\mail\ubunto
This takes all the mail in the domain account "UBUNTO" and sends it to port 8025 on 192.168.1.4 to be received by MercuryS. The directory BADMAIL I have specified must exist. You can run multiple instances of this tool and and it can be run as a service. If run as a service and running multiple instances the name of the program should be changed. I use WSE-UBUNTO to rename the program and ini file for this one.
Many thanks to Petr Jaklin for the development of these tools. You can get these tools at the community download areas or directly from Petr Jaklin's site http://www.3net.cz/software/softe.htm
/Rolf
<p>For SMTP forwarding of messages in a domain mailbox you can use WSMTPEx.exe, as mentioned in the link I posted before:</p><p><i>Thomas R. Stephenson:</i>
</p><blockquote><p><i><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">The third one is the program WSMTPEx.exe (SMTPEX.NLM for Netware)&nbsp; and this a a</span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"> separate program that takes mail for a email account and forwards it to any port and </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">any hostname/IP address.&nbsp; I use this with my domains to forward the mail to a Linux </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">system (must use high ports as non-root) and to a second instance of Mercury/32 </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">running on my system (can't share port 25)&nbsp; Here's a sample of the ini file I use for </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">forwarding all mail to Mercury/32 running on Ubuntu v8.10 and Wine. &nbsp;</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">&nbsp;#&nbsp; You can rename this tool, but name of following section must remain [WSMTPEx]</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">[WSMTPEx]</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">Version=0.10</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">#&nbsp; TCP port, on which SMTP server listens</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">Port=8025</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">#&nbsp; Number of seconds to delay between searches for emails</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">LoopDelay=30</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">#&nbsp; Folder, under which is most of user's mailboxes</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">UserFolder=</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">Domains=1</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"># Users mail address domain part</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">Domain1=linux-tstephenson.com</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">LogName=c:\Mercury\WSMTPEx.log</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">SMTPServer=192.168.1.4</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">MailBoxes=1</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">Badmails=c:\pmail\mail\BadMail</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">[linux-tstephenson.com]</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"># When user name start with "DM:", WSMTPEx will try to find SMTP envelope address in mail file</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">Mb1addr=dm:ubunto</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">Mb1dir=c:\pmail\mail\ubunto</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">This takes all the mail in the domain account "UBUNTO"&nbsp; and sends it to port 8025 on </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">192.168.1.4 to be received by MercuryS.&nbsp; The directory BADMAIL I have specified </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">must exist.&nbsp; You can run multiple instances of this tool and and it can be run as a </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">service.&nbsp; If run as a service and running multiple instances the name of the program </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">should be changed.&nbsp; I use WSE-UBUNTO to rename the program and ini file for this </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">one. &nbsp;</span><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><br style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">Many thanks to Petr Jaklin for the development of these tools.&nbsp; You can get these </span><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;">tools at the community download areas or directly from Petr Jaklin's site </span><a href="http://www.3net.cz/software/softe.htm" title="http://www.3net.cz/software/softe.htm" style="color: rgb(0, 0, 0); text-decoration: none; font-family: Tahoma,Arial,Helvetica; font-size: 12px;" mce_href="http://www.3net.cz/software/softe.htm">http://www.3net.cz/software/softe.htm</a></i><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"><i>&nbsp;</i>&nbsp;</span></p></blockquote><p>/Rolf&nbsp;</p><span style="font-family: Tahoma,Arial,Helvetica; font-size: 12px;"></span>