Discussion Locked

Sendmail (as a email gateway)

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a windows 2000 server running trends email gateway. It scans all emails for viruses. The problem is i have 3 domains. Each domain is for a different department and I dont want to have 3 nt servers scanning email for each department. I want tomake it so I can have all email go to the nt 2000 server be scanned and then passed over to my linux box which i will use as a email gateway. Which I have done. The thing is its not forwarding my email. I have it setup so if its from certain domainsto foward it the mail to the correct smtp server. All my mail gets cached on the linux box all saying it cant connect to domain.com i would think it should say cant connect to mail.domain.com because thats what i have it fowarding too. Any ideas on how i could do this maybe some examples with procmail i dont know?

7 replies

by millenium

I recommend you have a look at John Hardin's page on enhancing e-mail security with procmail

.

by aaron v

Make sure you have the appropriate MX records so the linux box knows which machine to forward to.

by jpereira

I'm assuming you're using sendmail to do the routing

If you have:
somebody@domain.com
and you want to forward to:
mail.domain.com
you should have in your mailer table
domain.com smtp:mail.domain.com

You probably need an MX record for mail.domain.com in your DNS.

You could also do it through the virtual user table, in which case you should not need the MX records.

This discussion is closed to new replies.