Postby florian » Wed May 10, 2006 10:46 am
Hi Paul,
thanks for your further feedback on this topic.
In principle, what you're suggesting would change the situation a little bit. It is possible to setup multiple accounts with Outlook running in Internet mode and you can choose which of the accounts would be used for sending; this would also setup the MIME headers of the generated message accordingly.
However, there is a catch. In a default Scalix setup, Scalix SMTPD would be listening on port 25, which is used to submit messages from outlook. Therefore, the message flow, also for messages finally destined for internet recipients, would be as follows:
Client -- SMTP --> Scalix SMTPD --> Scalix Incoming Internet GW --> Scalix Service Router --> Scalix Outgoing Internet GW --> sendmail -- SMTP --> Internet recipient
The reason for moving all messages through this chain is that we want a central place through which ALL messages pass - for auditing, archiving, virus scanning, etc. This place is the Scalix Service Router - effectively our internal MTA.
However, the Router does not work with MIME messages directly, so the Incoming and Outgoing Internet GWs convert the message from/to MIME to/from Scalix message format.
During this conversion, addresses known to the system (because the users are local) are rewritten to be X.400 style adresses and back to SMTP addresses.
When they are written back (outgoing IGW), again, the primary address is used; so the chain described would still "normalize" the sender address; in many environments this is actually wanted - I understand that in your (and Robert's) case it is not.
Now, the only way to change this would be to have Sendmail listen externally and bypass the Scalix routing chain for those messages, i.e. having your Outlook client taling directly to sendmail. This is possible, however due to the further loss of functionality (centralized control), I would not recommend for it.
In addition, the obvious loss of functionality within Outlook (because you're now using a simple POP/IMAP connection instead of deep MAPI integration) would still happen, so you'd lose a lot.
What particular use case do you need this set-sender-address functionality for?
Thanks,
Florian.
Florian von Kurnatowski, Die Harder!