Re: Forward all mails to other server, how?
"Jimmy Spam" <[email protected]>
| Newsgroups | gmane.mail.qmail.ldap |
|---|---|
| Message-ID | <[email protected]> |
In my previous message, when I said "infinite bucle", I want to say "infinite loop". Any solution for my problem? Regards, Spamis "Jimmy Spam" <[email protected]> escribió: > Thanks to all people who has replied. > > But, Can I define differents smtp routes for each mail listeners? > Because you should keep in mind, that mails should be forwarded only > if it arrive through X port, but it should be delivered if it arrive > through Y port. Forwarding always all mail, would result in an > infinite bucle, since GW always forward the filtered mail to the real > mail server. > > Thank you, > Spamis > > "Scott Ryan" <[email protected]> escribió: > >> creating an SMTP route ? >> >> On Fri, Dec 12, 2008 at 4:12 PM, Jimmy Spam <[email protected]> wrote: >>> Hi, >>> >>> probably I'll integrate a new mail gateway for antivirus and antispan >>> filtering soon. This gateway haven't smtp-auth by itself, so, I >>> have thinked >>> this for integrate it into my network: >>> >>> GW = MailGateway >>> MS = MailServer (qmail-ldap) >>> >>> From external servers, all connections arrive to GW: 192.168.1.1:25. GW >>> accept mail if it's a mail for my domain, filter an redirect to MS: >>> 192.168.1.2:X. MS delivery the messages. >>> >>> From my clients, all connections arrive to MS:192.168.1.2:25 or 587 port >>> directly. MS should forward all mails to GW: 192.168.1.1:25. GW filter and >>> redirect to MS: 192.168.1.2:X and finally, MS delivery the mail to internal >>> or external user. >>> >>> The problem is: How can I forward incoming MS mail to GW? >>> >>> Thanks! >>> >> >> >> >> -- >> Scott Ryan >> >> ****************************************************** >> Cheap memory cards - SD / Memory Stick Pro / >> MicroSD / USB pen drives / XD cards >> From SA's leading online memory card store: >> www.bitsandchips.co.za >> ***************************************************** >>