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:
http://crunchbanglinux.org/wiki/howto/email_spam_and_virus_filter

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).

James

2009/4/3 Ante Karamatić <[email protected]>

> U Pet, 03. 04. 2009., u 09:40 +0200, Rudi Ahlers je napisao/la:
>
> > So, I would like to know, is there a way to "push" (not forward) mail
> > from the Linux server, after it has arrived and spam been blocked, to
> > another domain, but with the same email address? i.e. the domain in
> > question is attorneys.co.za and I've setup attorneys.dyndns.net as the
> > dynamic domain, but the exchange serves email for attorneys.co.za
> > Forwarding email doesn't work, since there's no such user as
> > [email protected], but rather [email protected].
>
> Of course. I do it with postfix all the time. I accept mail, check it
> for spam and viruses and then use postfix's transport_table to determine
> where to forward that mail. Then I have a script that connects to
> Exchange and pulls valid emails from it and at the end generates a file
> that is used for transport_table.
>
> There are couple of howtos on the Internet:
> http://postfix.state-of-mind.de/patrick.koetter/mailrelay/
> http://www-personal.umich.edu/~malth/gaptuning/postfix/<http://www-personal.umich.edu/%7Emalth/gaptuning/postfix/>
>
>
> --
> ubuntu-server mailing list
> [email protected]
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>
-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to