Jake Vickers a écrit :
romain meunier wrote:
Hi,
First of all, sorry for my english, I'm french and I'm not the best
on this subject.
I do research on security in the mail. In my studies I must set up a
model with an exchange server and a server which will do
anti-spamm/anti-virus and which will be in a dmz.
I decided to use qmail, but I would like to know how do you tell the
qmail server to scan incoming e-mail and send to the Exchange server?
How do you say to the Exchange server to send outgoing e-mails to
qmail server?
Sorry for my stupid questions but I am far from an expert and I'd
like to know everything before setting up this project.
If someone have links on this subjects I will be glad to have them!
Thanks for your help,
Welcome!
The first is easy, the second can be done one of a couple different
ways so it can be confusing.
To have the QMT machine scan mail all you need to do is add the domain
you want it to scan in the rcpthosts file, and then add where you want
it to go in the smtproutes file. I think there's a write-up in the
wiki on this (wiki.qmailtoaster.com). You could also set the QMT
server to be the domain mailer (mail.domain.com) and the Exchange
server to be a sub domain (sub.domain.com). In the QMT machine you
would set up all the accounts you have on the Exchange server and then
create forwards for each user to their address at the Exchange server
(ie: [email protected] also forwards to [email protected]). This would
allow them to have their mail on both mail servers and allow them to
use webmail on the QMT machine. There's a couple different ways to set
this scenario up as well.
The second question you asked would probably most easily be
accomplished by adding the IP address for your Exchange server in your
tcp.smtp file and turning on relaying there. That will allow your
Exchange server to send any emails through it, regardless of domain
name/extension.
You could secure it a little more and make the Exchange server
authenticate, in which case you'd need to create an account on the QMT
machine and have the Exchange server use it for sending email (all
email would leave using that one account - changing the reply-to for
each user).
A lot of this depends on how you set your physical network up as well.
---------------------------------------------------------------------------------
Managed Qmailtoaster servers are now available
Visit http://qmailtoaster.com/QMTManaged.html to order yours today!
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Please visit qmailtoaster.com for the latest news, updates, and
packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Thanks for your help, I have the impression that it is easy to put
everything in place but when you said "and then add where you want it to
go in the smtproutes file" we can said here where we want e-mails be
sent? ip adresse? name of the Exchange?
For the second answer, how we turn on relaying the qmail server? in the
tcp.smtp file? or in other conf file?
Sorry to all these questions but in addition to being a nweeb in the
mail since I work shortly on linux / unix.
Thanks you very much for your help :-)
Romain
---------------------------------------------------------------------------------
Managed Qmailtoaster servers are now available
Visit http://qmailtoaster.com/QMTManaged.html to order yours today!
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]