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
Dear Perdition list.
One of my clients have been having the following error happen continuously:
Your server has unexpectedly terminated the connection. Possible causes
for this include server problems, network problems, or a long period of
inactivity. Account: 'xxx.com', Server: 'mail.xcxx.com', Protocol: POP3,
Port: 110, Secure(SSL): No, Error Number: 0x800CCC0F
They are trying to POP about 105 messages but this appears after only
about 25. The above error would occur and then the same messages would
be downloaded again. Ad infinitum.
When I pointed the client directly to the mail server there was no
timeout so I think I can conclude that the destination server (Dovecot
POP3) is not the culprit.
My rough timings have shown that the connection dies after about 60
seconds which seems very telling.
My config is:
================================================
[root@tg1 perdition]# perdition --help
perdition version 1.17 Copyright Horms
postfix-pop3.conf:
------------------------------------------------
connection_logging
#debug
F mail
connection_limit 512
server_resp_line
map_library /usr/local/lib/libperditiondb_mysql.so.0
map_library_opt
"127.0.0.1:3309:aluminati-db:members:user:pass:Server:CONCAT(Username,CONCAT(\'@\',Domain)):110"
server_resp_line
ssl_mode tls_listen
ssl_ca_file /var/ssl/certs/ca-bundle.crt
ssl_cert_file /var/ssl/certs/mail.secure.xxx.net.crt
ssl_key_file /var/ssl/private/imapd.pem
ssl_listen_ciphers "ALL"
ssl_outgoing_ciphers "ALL"
pid_file /var/run/perdition.pop3/perdition.pop3.pid
================================================
*Question*
What config should I be looking to change to ensure that large POP
downloads over slow connections do not time out?
Much thanks,
Daniel
Hi All,
I appologise in advance if this is a relatively simple question however I
haven't been able to find an easy fix.
We have several backend servers that contain mailboxes, there is no
structure as to which server contains mailboxes (Ie. Alphabetically) nor is
there an easy way to suck out a list of which server hosts which mailbox
that Perdition can map against.
Currently I've configured Perdition to use Regex with a couple lines as
follows
^[a-z]: 203.x.x.1
^[a-z]: 203.x.x.2
Obviously this only trys to authenticate against the first server. Is there
a way to tell Perdition that if authentication fails on server 1, try to
auth against server 2?
TIA.
Cheers
Nick Brown.
hi
Is there a good reason for the Lookup being before the authentication (I
mean in_authenticate) ?
This way, if the user sends a wrong username, it will get the message "Could
not determine server", instead of an "Authentication failure".
I'm planning to make a single authentication request and retrieve, in
addition to the authentication, information to be used on the Lookup.
Gustavo
Hi guys,
Suddenly seem to be having a problem with perdition.imap4.
It stops listening on the imap port. netstat -l shows all other
Perdition services listening (imaps,pop3,pop3s) fine but not imap.
We also still have imap4 processes running:
nobody 17589 0.0 0.4 5388 2220 ? S 16:18 0:00
perdition.imap4: auth ok
nobody 17595 0.0 0.4 5520 2384 ? S 16:18 0:00
perdition.imap4: auth ok
etc
Nothing seems to be logging.
Connecting to the server on 143 shows as expected:
[root@tg1 perdition]# telnet localhost 143
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
A restart has it working fine for 10 minutes to a few hours then it
drops again.
Perdition version is 1.17
Any ideas what else I can do to find out why it is dropping the port?
--
Squirrelmail Stable 1.4.8
PHP 5.x Hardened with Eaccelerator
Apache 2.x
Imapproxy over Dovecot/Maildir
all running on Gentoo Linux
for ~5,000 users.
Hi, I just found the culprit. There are some perdition running in the background. Probably a days ago it is still running. I just kill force the running perdition and it is now ok.
Thanks to those who reply.
----- Original Message ----
From: Nelson Serafica <ntserafica(a)yahoo.com>
To: Chris Stratford <chris.stratford(a)pipex.net>
Cc: perdition-users(a)vergenet.net
Sent: Saturday, September 8, 2007 11:55:16 AM
Subject: Re: [PERDITION-USERS] multiple domains and local servers
Thanks Chris. I already edit the perdition script and it is now working. Though there's a thing that worries me. When I do perdition status, it reports the ff:
perdition.pop1 (pid 22555) is running...
perdition.pop2 (pid 22560) is running...
perdition.pop3 (pid 22565) is running...
perdition.imap1 dead but subsys locked
perdition.imap2 dead but subsys locked
perdition.imap3 (pid 22580) is running...
I verified that the PID file was removed when stopping and create when restarting. I chown perdition user to have rights to perdition logs. I just wandering why it says dead but subsys locked when I check the conf file they are almost the same.
This is the config of perdition.imap1 which has an echo of dead but subsys locked
bind_address 64.4.0.5
F
/var/log/perdition.pol
g perdition
imap_capability IMAP4REV1
P IMAP4
outgoing_server 10.5.0.1:143
u perdition
This is the config of perdition.imap3 which has an echo of is running...
bind_address 64.4.0.6
F /var/log/perdition.mindgate
g perdition
imap_capability IMAP4REV1
P IMAP4
outgoing_server 10.5.0.8:143
u perdition
Though I can used and it is working the way I like it. I prefer to remove these error.
Is this only a permission error? How come it says that when they almost have the same config.
Also, when I do perdition stop, imap1 and imap2 is always FAILED though it successfully remove the PID file. When I do perdition start, everything is OK
I have no problem in my POP3 but only to imap1 and imap2.
I'm searching how solve this
but your help guys would be a big help
----- Original Message ----
From: Chris Stratford <chris.stratford(a)pipex.net>
To: Nelson Serafica <ntserafica(a)yahoo.com>
Cc: perdition-users(a)vergenet.net
Sent: Friday, September 7, 2007 7:23:45 PM
Subject: Re: [PERDITION-USERS] multiple domains and local servers
On Thu, 2007-09-06 at 17:14 -0700, Nelson Serafica wrote:
> Your right If i used these setup. I'll be having no problem.
>
> ^nelsonts(a)foo.com: 10.5.0.1
> ^helpdesk(a)foo.com: 10.5.0.1
> ^nelsonts(a)fee.com: 10.5.0.7
>
> But the problem is I cannot append a domain in the Account
Name of my
> server. I have tried that and it didn't work. It only works if I put
> nelsonts but if I input nelsonts(a)foo.com or any domain, it don't work.
> I think only valid input is the Account Name in my Mail server such as
> nelsonts.
I'm not completely sure which server you are referring to here, but a
popmap like this:
^nelsonts(a)foo.com: nelsonts(a)10.5.0.1
^helpdesk(a)foo.com: helpdesk(a)10.5.0.1
^nelsonts(a)fee.com: nelsonts(a)10.5.0.7
should mean that you connect to your Perdition server using
"nelsonts(a)foo.com" (with the "@foo.com" part added automatically as
explained previously if it's not supplied). Perdition will then connect
to your real mail server using just "nelsonts". This is the setup I've
been using for the past few years, so I know it can do it using the
config sample I sent earlier.
> Here is my some alternatives:
> 1.
Multiple copies of perdition running having their own config each
> bind to specific IP. Is this possible? I have tried bind_address but
> it didn't work if I tried to bind to two IP. I have input bind_address
> 10.6.5.4 and bind_address 10.6.5.5 in the conf file but when do
> netstat, it only sees 10.6.5.5
That should work, but you would need to adjust the startup scripts, as
by default they will only try to start the usual four processes (one
each for POP3, POP3S, IMAP4 and IMAP4S).
> 2. Change the Account Name of the existing user. Instead of nelsonts.
> I need to change them to nelsonts@foo or nelsonts(a)foo.com....... Any
> idea how to do this? If I can do these, everything will be smooth.
You shouldn't need to do that.
Chris.
>
>
> What would you suggest?
>
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com
Thanks Chris. I already edit the perdition script and it is now working. Though there's a thing that worries me. When I do perdition status, it reports the ff:
perdition.pop1 (pid 22555) is running...
perdition.pop2 (pid 22560) is running...
perdition.pop3 (pid 22565) is running...
perdition.imap1 dead but subsys locked
perdition.imap2 dead but subsys locked
perdition.imap3 (pid 22580) is running...
I verified that the PID file was removed when stopping and create when restarting. I chown perdition user to have rights to perdition logs. I just wandering why it says dead but subsys locked when I check the conf file they are almost the same.
This is the config of perdition.imap1 which has an echo of dead but subsys locked
bind_address 64.4.0.5
F /var/log/perdition.pol
g perdition
imap_capability IMAP4REV1
P IMAP4
outgoing_server 10.5.0.1:143
u perdition
This is the config of perdition.imap3 which has an echo of is running...
bind_address 64.4.0.6
F /var/log/perdition.mindgate
g perdition
imap_capability IMAP4REV1
P IMAP4
outgoing_server 10.5.0.8:143
u perdition
Though I can used and it is working the way I like it. I prefer to remove these error.
Is this only a permission error? How come it says that when they almost have the same config.
Also, when I do perdition stop, imap1 and imap2 is always FAILED though it successfully remove the PID file. When I do perdition start, everything is OK
I have no problem in my POP3 but only to imap1 and imap2.
I'm searching how solve this but your help guys would be a big help
----- Original Message ----
From: Chris Stratford <chris.stratford(a)pipex.net>
To: Nelson Serafica <ntserafica(a)yahoo.com>
Cc: perdition-users(a)vergenet.net
Sent: Friday, September 7, 2007 7:23:45 PM
Subject: Re: [PERDITION-USERS] multiple domains and local servers
On Thu, 2007-09-06 at 17:14 -0700, Nelson Serafica wrote:
> Your right If i used these setup. I'll be having no problem.
>
> ^nelsonts(a)foo.com: 10.5.0.1
> ^helpdesk(a)foo.com: 10.5.0.1
> ^nelsonts(a)fee.com: 10.5.0.7
>
> But the problem is I cannot append a domain in the Account Name of my
> server. I have tried that and it didn't work. It only works if I put
> nelsonts but if I input nelsonts(a)foo.com or any domain, it don't work.
> I think only valid input is the Account Name in my Mail server such as
> nelsonts.
I'm not completely sure which server you are referring to here, but a
popmap like this:
^nelsonts(a)foo.com: nelsonts(a)10.5.0.1
^helpdesk(a)foo.com: helpdesk(a)10.5.0.1
^nelsonts(a)fee.com: nelsonts(a)10.5.0.7
should mean that you connect to your Perdition server using
"nelsonts(a)foo.com" (with the "@foo.com" part added automatically as
explained previously if it's not supplied). Perdition will then connect
to your real mail server using just "nelsonts". This is the setup I've
been using for the past few years, so I know it can do it using the
config sample I sent earlier.
> Here is my some alternatives:
> 1. Multiple copies of perdition running having their own config each
> bind to specific IP. Is this possible? I have tried bind_address but
> it didn't work if I tried to bind to two IP. I have input bind_address
> 10.6.5.4 and bind_address 10.6.5.5 in the conf file but when do
> netstat, it only sees 10.6.5.5
That should work, but you would need to adjust the startup scripts, as
by default they will only try to start the usual four processes (one
each for POP3, POP3S, IMAP4 and IMAP4S).
> 2. Change the Account Name of the existing user. Instead of nelsonts.
> I need to change them to nelsonts@foo or nelsonts(a)foo.com....... Any
> idea how to do this? If I can do these, everything will be smooth.
You shouldn't need to do that.
Chris.
>
>
> What would you suggest?
>
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com
Heyaaa!!!
i have many "perdition.pop3s: close" processes ... they eat all
memory and then server hangs ... if i add "connection_logging" to conf,
all is OK ...
where is problem ??? i have it on production server 2-3 years without
such problem ... imaps is OK ...
i'm using perdition 1.17-7 - Debian Etch
--
5o Peter.Mann at tuke.sk
Your right If i used these setup. I'll be having no problem.
^nelsonts(a)foo.com: 10.5.0.1
^helpdesk(a)foo.com: 10.5.0.1
^nelsonts(a)fee.com: 10.5.0.7
But the problem is I cannot append a domain in the Account Name of my server. I have tried that and it didn't work. It only works if I put nelsonts but if I input nelsonts(a)foo.com or any domain, it don't work. I think only valid input is the Account Name in my Mail server such as nelsonts. Here is my some alternatives:
1. Multiple copies of perdition running having their own config each bind to specific IP. Is this possible? I have tried bind_address but it didn't work if I tried to bind to two IP. I have input bind_address 10.6.5.4 and bind_address 10.6.5.5 in the conf file but when do netstat, it only sees 10.6.5.5
2. Change the Account Name of the existing user. Instead of nelsonts. I need to change them to nelsonts@foo or nelsonts(a)foo.com....... Any idea how to do this? If I can do these, everything will be smooth.
What would you suggest?
----- Original Message ----
From: Chris Stratford <chris.stratford(a)pipex.net>
To: Nelson Serafica <ntserafica(a)yahoo.com>
Cc: perdition-users(a)vergenet.net
Sent: Thursday, September 6, 2007 4:35:24 PM
Subject: Re: [PERDITION-USERS] multiple domains and local servers
On Wed, 2007-09-05 at 19:12 -0700, Nelson Serafica wrote:
> Thanks Chris for all the replies. I can now login in POP/IMAP in my
> IP. It almost solve my problem but still there are some glitch. I'm
> not sure if this can be done in regex or whatever. Here is my
> popmap.re:
>
> ^nelsonts: 10.5.0.1 (email is nelsonts(a)foo.com)
> ^helpdesk: 10.5.0.7 (email is helpdesk(a)foo.com)
> ^nelsonts: 10.5.0.7 (email is nelsonts(a)fee.net)
...
> Is there an other way for me to forward this to 10.5.0.7?
> Is it possible to read the email address instead of login name?
> popmap.re will rely in domain and not in login name.
Your previous popmap.re was better for this. Try something like:
^nelsonts(a)foo.com: 10.5.0.1
^helpdesk(a)foo.com: 10.5.0.7
^nelsonts(a)fee.com: 10.5.0.7
(By the way, if you are planning to do this on a per-user basis, one of
the DB backends might be better than regex - I thought originally you
wanted all of the @foo.com addresses to go to 10.5.0.1 and the @fee.net
ones to go to 10.5.0.7)
With this, if you login with "nelsonts(a)foo.com" you end up at 10.5.0.1.
if you login with nelsonts(a)fee.net you end up at 10.5.0.7. Now the fun
starts...
Your perdition server has three addresses (from your other email):
60.4.5.1
60.4.5.2
60.4.5.3
If the reverse DNS for these addresses is set up as something like this:
60.4.5.1 imap.foo.com
60.4.5.2 imap.fee.net
60.4.5.4 imap.something.else.com
If you connect to 60.4.5.1 and log in with just "nelsonts" Perdition
will do a reverse lookup against the interface you connected to (in this
case finding imap.foo.com), remove the first bit (this is configurable)
and append the rest to the login name (assuming you still have
"add_domain servername_lookup" in your config file) leaving you with
"nelsonts(a)foo.com".
If you connect to the other addresses it would add "fee.net" or
"something.else.com" as appropriate.
Note: The reverse DNS *must* be set up for this to work. Without that,
you would only be able to use "nelsonts(a)fee.net" style logins (unless
you run multiple copies of Perdition, as you suggest in your other
mail).
I think that's what you're trying to achieve.
Chris.
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com
Thanks Chris for all the replies. I can now login in POP/IMAP in my IP. It almost solve my problem but still there are some glitch. I'm not sure if this can be done in regex or whatever. Here is my popmap.re:
^nelsonts: 10.5.0.1 (email is nelsonts(a)foo.com)
^helpdesk: 10.5.0.7 (email is helpdesk(a)foo.com)
^nelsonts: 10.5.0.7 (email is nelsonts(a)fee.net)
Perdition is redirecting them to its proper server according to its login name as I notice. The problem is there are same login name to other local server. Like the sample above. There are nelsonts in 10.5.0.1 and 10.5.0.7.
If I will used nelsonts(a)foo.com. Of course, my login name is nelsonts. it will redirect me to 10.5.0.1. But if I used nelsonts(a)fee.net, it will also redirect me to 10.5.0.1 since it was read first in popmap.re which suppose to be in 10.5.0.7.
Is there an other way for me to forward this to 10.5.0.7?
Is it possible to read the email address instead of login name? popmap.re will rely in domain and not in login name.
Just incase it cannot be done, could you suggest other alternatives to do this or any software/plugins that are capable of doing this. I hope perdition has this features since we been using them for almost 9 years.
----- Original Message ----
From: Chris Stratford <chris.stratford(a)pipex.net>
To: Nelson Serafica <ntserafica(a)yahoo.com>
Cc: perdition-users(a)vergenet.net
Sent: Wednesday, September 5, 2007 4:33:25 PM
Subject: Re: [PERDITION-USERS] multiple domains and local servers
On Tue, 2007-09-04 at 20:56 -0700, Nelson Serafica wrote:
> Here is my popmap.re
>
> nelsonts(a)foo.com nelsonts(a)10.5.0.1
> nelsonts(a)fee.net nelsonts(a)10.5.0.8
>
> foo.com >> 64.5.4.7 (sample IP only)
> fee.net >> 64.5.4.7 (sample IP only)
>
> When I tried to use Outlook, I input in my incoming 64.5.4.7, email
> add is nelsonts(a)foo.com , Account nelsonts and I successfully get my
> email under foo.com. But when I tried the email add nelsonts(a)fee.net
> using incoming 64.5.4.7 and Account nelsonts, I get the email under my
> nelsonts(a)foo.com account which suppose to be nelsonts(a)fee.net
I would advise testing without Outlook just to keep things simple (MUAs
and Outlook in particular have a nasty habit of doing what they think
you wanted rather than what you actually wanted).
I'm unclear exactly what login name you have used, above. With the
above config, if you telnet to 64.5.4.7 on port 143 and log in manually
with "1 login nelsonts(a)foo.com mypass" I would expect Perdition to
connect to 10.5.0.1 with user name nelsonts. If you log in with "1
login nelsonts(a)fee.net mypass" you should end up on 10.5.0.8.
If you just login with "1 login nelsonts mypass" which server you end up
on will depend on the reverse DNS entry for 64.5.4.7. If it is
something like "imap.foo.com" then the login name will get translated to
nelsonts(a)foo.com, if it's "imap.fee.net" then the login name becomes
"nelsonts(a)fee.net".
If I understood your original query correctly, you wanted different IP
addresses to map to different back-end servers, so you would really want
imap.foo.com on one address and imap.fee.com on another rather than them
both on the same IP address. Alternatively, if all of your users log in
with a full "user@domain" like your example, then you don't need the
different IPs, as the domain they provide will override the IP lookup.
Chris.
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com