well, as no one responds, I understand that it's not possible to define 
different smtproutes depending of the listening port, since qmail has only a 
smtproutes file, so, Is it possible install two qmail servers on same server 
without risk? 

For example, first qmail under /var/qmail and second qmail under /var/qmail2.

I would configure first qmail listening on port 25 for forward all mail to 
mailgw via control/smtproutes for filter spam and virus and second qmail, 
listening on port XXX for delivery mail to users (without any route in 
control/smtproutes), accepting mail only from mailgw.

Thank you.

Regards,
spamis

"Jimmy Spam" <[email protected]> escribió:

> 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
>>> *****************************************************
>>>

Reply via email to