Hello,
we've been using perdition as a pop3/pop3s/imap/imaps proxy for about
four years now, first with Debian Sarge package and now under Etch.
And throughout this time I've seen pop3s (and from the looks of it
the same happens with imaps) processes stuck in connect, like this:
---
16836 ? S 5:31 0 120 32179 2204 0.0 perdition.pop3s
28070 ? S 0:00 0 120 32311 1564 0.0 \_ perdition.pop3s: connect
7782 ? S 0:00 0 120 32311 1564 0.0 \_ perdition.pop3s: connect
24468 ? S 0:00 0 120 32311 1568 0.0 \_ perdition.pop3s: connect
14180 ? S 0:00 0 120 32311 1568 0.0 \_ perdition.pop3s: connect
13503 ? S 0:00 0 120 32311 1564 0.0 \_ perdition.pop3s: connect
---
They never die off, keep the connection open, there is no traffic and the
other end might be long gone. Last trace in the logs is always like this:
---
Feb 5 22:05:16 pp11 perdition[7782]: Connect: hi.mi.ts.u->203.216.5.113
---
It must be something related to the SSL'ness of these service, since I'm
not seeing this happening ever for imap/pop3. Alas a lot of people do use
TLS with those, so it's not a generic SSL issue. Maybe the master process
could kick a child handling connections in the head after "timeout"
seconds in connect state?
If more information is needed I can try to provide it, but note that with a
rate of roughly 35 pops per second I'm a bit weary to turn on
debugging. ^_-
This may or may not be related to another SSL related issue, which will
be for the sake of making searches in the archive more likely to find good
keywords in a separate mail.
Regards,
Christian
--
Christian Balzer Network/Systems Engineer NOC
chibi(a)gol.com Global OnLine Japan/Fusion Network Services
http://www.gol.com/
Hi Horms!
Modifications on *spec.in ( for vanessa_logger vanessa_adt
vanessa_socket perdition) are need for "rpmbuild -ta <name>.tar.gz" on
Fedora >7 ? systems (rpm ver 4.4.xx)
-> Copyright: GNU Lesser General Public Licence
-< License: GNU (or wherever)
Thanks for your magnific work ! :-)
The original IPv6 patches I submitted earlier didn't build on Linux
systems. Attached are updated IPv6 patches which have been tested
successfully in inetd mode on CentOS 5. However, in daemon mode under
CentOS, sometimes the spawned process will segfault. I'm still trying to
determine whether this is due to a problem with the patch itself or the
way I've built the RPM. Both daemon mode and inetd mode under FreeBSD
seems to work reliably though so I suspect this problem is something
peculiar to Linux which I've overlooked. In any case, I'm putting these
updated patches out in the hope of getting additional data back from
anyone running perdition in daemon mode on Linux systems.
Antonio Querubin
whois: AQ7-ARIN
Hi,
I'm using perdition as a POP3 and IMAP proxy for about 1 year.
At this time I have 2 perdition servers as standalone proxies with one
mailserver backend behind them.
There was never a problem with this type of setup.
Now I'm planing to split my mailserver backend in 2 ore more different
servers. So I'm able to scaling out my server environment
more flexible in the future.
I'm trying to use mysql popmap for all of my hosted domains (about 6.000).
My idea was to store all domains and the information of their
backendservers in a mysql database.
My database scheme looks like this:
Domain Server Port
domain1.com 192.168.1.10 NULL
domain2.com 192.168.1.11 NULL
domain3.com 192.168.1.10 NULL
domain4.com 192.168.1.11 NULL
... and so on.
With this setup I'm able to define for each domain a different backend
server, which will be very
practical for future scaling etc.
The only problem I have is:
All my users are using different logintypes. Some of them are using for
example
"user(a)domain1.com" as username. Other users are using "user%domain1.com"
as username.
So I have two different domain delimiters to search for (@ and %).
To change this on the user site is not possible. There are about 25.000
users.
I must find a way to filter the domain from the full username based on
the domain delimiter.
My current query key is:
query_key \\d
My map library options are:
map_library_opt
"mysqlserver:3306:dbname:dbtable:dbuser:dbpass:server:domain:port"
Some of you have any idea how I can solve my problem? Is there a way to
use 2 domain delimiters?
Many thanks and regards
Urban
P.s. sorry for my poor english.