> Bottom line: Is there a way to know which listening domain an email came
> through on? and how?


No. This is a TCP/IP limit: you know the 2 endpoints IP for a connection
 but you can't know what the domain name used is. In TCP/IP you have to
add multiple services binding to different IPs or different ports (for
SMTP you must use IPs because port default to 25).

Latest unreleased version of James (current trunk) should support
multiple smtpserver binded to the same james and custom command handler
in each smtpserver to be able to add an attribute to the mails based on
the receiving server).

Both way you need a custom IP for each domain you want to handle and to
write custom code.

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to