On 09/01/2010 07:54 AM, Ralph Ballier wrote:
> Harald,
> 
> thanks for your hints. But see below...
>  
> ----------------ursprüngliche Nachricht-----------------
> Von: "Reindl Harald" h.rei...@thelounge.net
> An: "DBMail mailinglist" dbmail@dbmail.org
> Datum: Tue, 31 Aug 2010 22:58:41 +0200
> -------------------------------------------------
>  
>  
>> It is, globally or for every single service
>>
>> [.......]
>>
>> [IMAP]
>> BINDIP = 127.0.0.1
>> PORT = 143
>> TIMEOUT = 1800
>> IDLE_TIMEOUT = 1800
>> MAXCHILDREN = 250
>> NCHILDREN = 10
>> MINSPARECHILDREN = 5
>> MAXSPARECHILDREN = 15
>> IMAP_BEFORE_SMTP = no
>> BANNER = IMAP-Service
> 
> In /etc/imapproxyd.conf you find this lines:
> 
> #
> ## listen_port
> ##
> ## This setting specifies which port the proxy server will bind to and
> ## accept incoming connections from.
> #
> listen_port 143
> #
> ## server_port
> ##
> ## This setting specifies the port that server_hostname is listening on.
> ## This is the tcp port that we proxy inbound connections to.
> #
> server_port 143

You also need to set

listen_address to something *other* than localhost, so:

dbmail will bind to localhost:143
imapproxy will bind to yourhost.com:143


> 
> 
> and this gives an error: "Port in use", when I start in.imapproxyd after
> dbmail-imapd, because
> in both files the port is 143. I have changed server_port to 8085 and PORT
> (in dbmail.conf) to 8085
> and it works, but I mean, this is not a correct sollution. What shall I do?

What's not correct about it? Public facing imapproxy listens on 143, and
proxies to 8085 on localhost. Nothing invalid about it, afaict.



> 
> Ralph
> 
> 
> 
> 
> _______________________________________________
> DBmail mailing list
> DBmail@dbmail.org
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail


-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to