LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ldirector submission & smtps port

To: Osvaldo Alvarez Pozo <nebano@xxxxxxxxx>
Subject: Re: [lvs-users] ldirector submission & smtps port
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 21 Sep 2010 22:19:53 +0900
On Tue, Sep 21, 2010 at 10:33:35AM +0200, Osvaldo Alvarez Pozo wrote:
> Hi all
>  I am new to ldirectord I confuguring some virtual serveurs for the
> moment i use checktype =connect i do not know if this is the rigth
> configuration. My main problème is checking submission port and smtps
> as version 2.1.3 of ldirectord  only have smtp as service type.
> 
> How do I do?

Hi,

using checktype=connect will work, but it only checks to make sure
that the port can accept a TCP connection. You can do a slightly
deeper check using checktype=negotiate.

In order to check submission (which as I understand it is basically
SMTP running on port 587) you can using the following in the
configuration of your virtual service.

        service=smtp
        checkport=587
        checktype=negotiate

And for smtp you can use

        service=smtp
        checkport=25 # you can omit this line
        checktype=negotiate

I have also committed the attached patch which adds a submission check
to ldirectord. With it applied you can use the following:

        service=submission
        checkport=587 # you can omit this line
        checktype=negotiate



Attachment: submission.patch
Description: Text Data

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>