We use a Postfix server set up as an smtp relay that also filters all messages going through it for spam and viruses.  There is a very thorough guide here: <a href="http://crunchbanglinux.org/wiki/howto/email_spam_and_virus_filter">http://crunchbanglinux.org/wiki/howto/email_spam_and_virus_filter</a><br>
<br>It's actually for another Debian-derived distro called crunchbang, but I don't see anything that shouldn't work equally on Ubuntu.  This will "push" email to your Exchange server via smtp so be sure your Exchange server is set to accept smtp messages (just in case it had been changed when you set it up to pull messages via pop3).<br>
<br>James<br><br><div class="gmail_quote">2009/4/3 Ante Karamatić <span dir="ltr"><<a href="mailto:ivoks@grad.hr">ivoks@grad.hr</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
U Pet, 03. 04. 2009., u 09:40 +0200, Rudi Ahlers je napisao/la:<br>
<div class="im"><br>
> So, I would like to know, is there a way to "push" (not forward) mail<br>
> from the Linux server, after it has arrived and spam been blocked, to<br>
> another domain, but with the same email address? i.e. the domain in<br>
> question is <a href="http://attorneys.co.za" target="_blank">attorneys.co.za</a> and I've setup <a href="http://attorneys.dyndns.net" target="_blank">attorneys.dyndns.net</a> as the<br>
> dynamic domain, but the exchange serves email for <a href="http://attorneys.co.za" target="_blank">attorneys.co.za</a><br>
> Forwarding email doesn't work, since there's no such user as<br>
> <a href="mailto:bob@attorneys.dyndns.net">bob@attorneys.dyndns.net</a>, but rather <a href="mailto:bob@attorneys.co.za">bob@attorneys.co.za</a>.<br>
<br>
</div>Of course. I do it with postfix all the time. I accept mail, check it<br>
for spam and viruses and then use postfix's transport_table to determine<br>
where to forward that mail. Then I have a script that connects to<br>
Exchange and pulls valid emails from it and at the end generates a file<br>
that is used for transport_table.<br>
<br>
There are couple of howtos on the Internet:<br>
<a href="http://postfix.state-of-mind.de/patrick.koetter/mailrelay/" target="_blank">http://postfix.state-of-mind.de/patrick.koetter/mailrelay/</a><br>
<a href="http://www-personal.umich.edu/%7Emalth/gaptuning/postfix/" target="_blank">http://www-personal.umich.edu/~malth/gaptuning/postfix/</a><br>
<div><div></div><div class="h5"><br>
<br>
--<br>
ubuntu-server mailing list<br>
<a href="mailto:ubuntu-server@lists.ubuntu.com">ubuntu-server@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>
More info: <a href="https://wiki.ubuntu.com/ServerTeam" target="_blank">https://wiki.ubuntu.com/ServerTeam</a><br>
</div></div></blockquote></div><br>