I install ispconfig on Cents 5.0 (perfect installation). Mail do not work. I can send mail (via pop3 client) but I can not check mail. The client can not connect to the server. Here is part of /var/log/maillog Code: [root@localhost log]# tail -20 maillog Jan 22 15:34:13 localhost last message repeated 2 times Jan 22 15:34:13 localhost dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Jan 22 15:34:13 localhost last message repeated 2 times Jan 22 15:34:13 localhost dovecot: child 7398 (login) returned error 127 Jan 22 15:34:13 localhost dovecot: child 7399 (login) returned error 127 Jan 22 15:34:13 localhost dovecot: child 7400 (login) returned error 127 Jan 22 15:34:13 localhost dovecot: child 7401 (login) returned error 127 Jan 22 15:34:13 localhost dovecot: child 7402 (login) returned error 127 Jan 22 15:34:13 localhost dovecot: child 7403 (login) returned error 127 Jan 22 15:35:13 localhost dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Jan 22 15:35:13 localhost dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Jan 22 15:35:13 localhost dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Jan 22 15:35:13 localhost last message repeated 2 times Jan 22 15:35:13 localhost dovecot: child 7452 (login) returned error 127 Jan 22 15:35:13 localhost dovecot: child 7453 (login) returned error 127 Jan 22 15:35:13 localhost dovecot: child 7454 (login) returned error 127 Jan 22 15:35:13 localhost dovecot: child 7455 (login) returned error 127 Jan 22 15:35:13 localhost dovecot: child 7456 (login) returned error 127 Jan 22 15:35:13 localhost dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Jan 22 15:35:13 localhost dovecot: child 7457 (login) returned error 127 [root@localhost log]#
Thats a bug in redhat 5.x to fix it you need to do the following In your /etc/dovecot.conf set this option Code: login_process_size = 64 Then restart dovecot
Thanks, it solve the problem. But... Mail do not arive. I'm sending mail to [email protected] I do not receive mail that mail is undeliveryble (from Mail deamon) and user do not receive mail. Also I try to send mail from [email protected] to [email protected] (to myself) and I do not receive mail. How to track errors?
Code: Jan 23 12:43:44 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 12:43:44 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 12:44:05 localhost postfix/anvil[28914]: statistics: max connection rate 1/60s for (smtp:82.114.83.94) at Jan 23 12:40:45 Jan 23 12:44:05 localhost postfix/anvil[28914]: statistics: max connection count 1 for (smtp:82.114.83.94) at Jan 23 12:40:45 Jan 23 12:44:05 localhost postfix/anvil[28914]: statistics: max cache size 1 at Jan 23 12:40:45 Jan 23 12:44:52 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 12:44:53 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 12:45:38 localhost dovecot: pop3-login: Disconnected: rip=::ffff:64.233.184.236, lip=::ffff:88.85.x.y Jan 23 12:45:42 localhost dovecot: pop3-login: Disconnected: user=<sandra@domain>, method=PLAIN, rip=::ffff:64.233.184.235, lip=::ffff:88.85.x.y Jan 23 12:53:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 12:53:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 13:03:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 13:03:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 13:12:53 localhost postfix/smtpd[30203]: warning: 122.164.168.118: hostname ABTS-TN-dynamic-118.168.164.122.airtelbroadband.in verification failed: Name or service not known Jan 23 13:12:53 localhost postfix/smtpd[30203]: connect from unknown[122.164.168.118] Jan 23 13:12:57 localhost postfix/smtpd[30203]: NOQUEUE: reject: RCPT from unknown[122.164.168.118]: 554 5.7.1 <kontakt@domain>: Relay access denied; from=<[email protected]> to=<kontakt@domain> proto=SMTP helo=<sloanled.com> Jan 23 13:13:02 localhost postfix/smtpd[30203]: lost connection after RCPT from unknown[122.164.168.118] Jan 23 13:13:02 localhost postfix/smtpd[30203]: disconnect from unknown[122.164.168.118] Jan 23 13:13:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 13:13:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 13:16:22 localhost postfix/anvil[30205]: statistics: max connection rate 1/60s for (smtp:122.164.168.118) at Jan 23 13:12:53 Jan 23 13:16:22 localhost postfix/anvil[30205]: statistics: max connection count 1 for (smtp:122.164.168.118) at Jan 23 13:12:53 Jan 23 13:16:22 localhost postfix/anvil[30205]: statistics: max cache size 1 at Jan 23 13:12:53 Jan 23 13:23:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 13:23:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 13:25:53 localhost dovecot: pop3-login: Disconnected: rip=::ffff:72.14.204.226, lip=::ffff:88.85.x.y Jan 23 13:25:56 localhost dovecot: pop3-login: Disconnected: user=<urednik@domain>, method=PLAIN, rip=::ffff:72.14.204.237, lip=::ffff:88.85.x.y Jan 23 13:33:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 13:33:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 13:33:47 localhost dovecot: pop3-login: Disconnected: rip=::ffff:209.85.146.177, lip=::ffff:88.85.x.y Jan 23 13:33:52 localhost dovecot: pop3-login: Disconnected: user=<programer@domain>, method=PLAIN, rip=::ffff:209.85.146.182, lip=::ffff:88.85.x.y Jan 23 13:43:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 13:43:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 13:45:38 localhost dovecot: pop3-login: Disconnected: rip=::ffff:64.233.170.186, lip=::ffff:88.85.x.y Jan 23 13:45:40 localhost dovecot: pop3-login: Disconnected: user=<sandra@domain>, method=PLAIN, rip=::ffff:64.233.170.187, lip=::ffff:88.85.x.y Jan 23 13:45:43 localhost postfix/smtpd[31956]: connect from unknown[62.162.219.66] Jan 23 13:45:43 localhost postfix/smtpd[31956]: A35E22C20018: client=unknown[62.162.219.66], sasl_method=PLAIN, sasl_username=domain_kontakt Jan 23 13:45:43 localhost postfix/cleanup[31960]: A35E22C20018: message-id=<479736F9.7090906@domain> Jan 23 13:45:43 localhost postfix/qmgr[4489]: A35E22C20018: from=<kontakt@domain>, size=539, nrcpt=1 (queue active) Jan 23 13:45:43 localhost postfix/smtpd[31956]: disconnect from unknown[62.162.219.66] Jan 23 13:45:43 localhost postfix/smtp[31961]: A35E22C20018: to=<kontakt@domain>, relay=none, delay=0.3, delays=0.06/0.01/0.23/0, dsn=5.4.6, status=bounced (mail for domain loops back to myself) Jan 23 13:45:43 localhost postfix/cleanup[31960]: E77B02C21CC5: message-id=<[email protected]> Jan 23 13:45:43 localhost postfix/qmgr[4489]: E77B02C21CC5: from=<>, size=2401, nrcpt=1 (queue active) Jan 23 13:45:43 localhost postfix/bounce[31962]: A35E22C20018: sender non-delivery notification: E77B02C21CC5 Jan 23 13:45:43 localhost postfix/qmgr[4489]: A35E22C20018: removed Jan 23 13:45:43 localhost postfix/smtp[31961]: E77B02C21CC5: to=<kontakt@domain>, relay=none, delay=0.01, delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for domain loops back to myself) Jan 23 13:45:43 localhost postfix/qmgr[4489]: E77B02C21CC5: removed Jan 23 13:46:00 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 13:46:00 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 13:49:03 localhost postfix/anvil[31958]: statistics: max connection rate 1/60s for (smtp:62.162.219.66) at Jan 23 13:45:43 Jan 23 13:49:03 localhost postfix/anvil[31958]: statistics: max connection count 1 for (smtp:62.162.219.66) at Jan 23 13:45:43 Jan 23 13:49:03 localhost postfix/anvil[31958]: statistics: max cache size 1 at Jan 23 13:45:43 Jan 23 13:53:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 13:53:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 14:03:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 14:03:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 14:13:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 14:13:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 14:20:36 localhost postfix/smtpd[1369]: connect from 81.203.115.153.dyn.user.ono.com[81.203.115.153] Jan 23 14:20:37 localhost postfix/smtpd[1369]: NOQUEUE: reject: RCPT from 81.203.115.153.dyn.user.ono.com[81.203.115.153]: 554 5.7.1 <kontakt@domain>: Relay access denied; from=<[email protected]> to=<kontakt@domain> proto=SMTP helo=<vmphmjh.user.ono.com> Jan 23 14:20:37 localhost postfix/smtpd[1369]: lost connection after RCPT from 81.203.115.153.dyn.user.ono.com[81.203.115.153] Jan 23 14:20:37 localhost postfix/smtpd[1369]: disconnect from 81.203.115.153.dyn.user.ono.com[81.203.115.153] Jan 23 14:23:43 localhost dovecot: pop3-login: Login: user=<domain_kontakt>, method=PLAIN, rip=::ffff:62.162.219.66, lip=::ffff:88.85.x.y Jan 23 14:23:43 localhost dovecot: POP3(domain_kontakt): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jan 23 14:23:57 localhost postfix/anvil[1371]: statistics: max connection rate 1/60s for (smtp:81.203.115.153) at Jan 23 14:20:36 Jan 23 14:23:57 localhost postfix/anvil[1371]: statistics: max connection count 1 for (smtp:81.203.115.153) at Jan 23 14:20:36 Jan 23 14:23:57 localhost postfix/anvil[1371]: statistics: max cache size 1 at Jan 23 14:20:36 Jan 23 14:25:53 localhost dovecot: pop3-login: Disconnected: rip=::ffff:72.14.204.237, lip=::ffff:88.85.x.y Jan 23 14:25:58 localhost dovecot: pop3-login: Disconnected: user=<urednik@domain>, method=PLAIN, rip=::ffff:72.14.204.230, lip=::ffff:88.85.x.y [root@localhost log]#
There is a problem with your postfix configuration the mail is looping back to itself. Just double check your configuration if you followed a howto, if you dont come right post your postfix conf and then i can check for you.
I edit main.cf Now, it look: Code: [root@localhost postfix]# vim access local-host-names~ postfix-files transport bounce.cf.default main.cf postfix-script virtual canonical main.cf.backup post-install virtusertable generic main.cf.default prng_exch virtusertable~ header_checks main.cf.orig relocated virtusertable.db LICENSE makedefs.out ssl/ local-host-names master.cf TLS_LICENSE [root@localhost postfix]# vim main.cf queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, [B]domain.com.mk[/B] unknown_local_recipient_reject_code = 550 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path = /usr/bin/mailq.postfix setgid_group = postdrop html_directory = no manpage_directory = /usr/share/man sample_directory = /usr/share/doc/postfix-2.3.3/samples readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES smtpd_sasl_local_domain = Now, I can not send mail. I get error like on the attachment.
Its seems like you dont have the account kontakt Can you type this Code: id kontakt To verify if the account exists on the system.
But this should be "managed" by ispconfig!?!?!?! I have created [email protected] in ispconfig. I can "check" mail but nothing receive.
Well what is the output of the command ? Code: mydestination Uses the local transport, which means it checks if a user exists in /etc/passwd or /etc/aliases Anyway i don't use ispconfig so i do not know how it creates the user when you create them from the interface.
If you're using ISPConfig, please do this: Code: postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable' postconf -e 'mydestination = /etc/postfix/local-host-names' /etc/init.d/postfix restart
I have another problem now Centos 5.1 When I try to check mail via pop3 client, it say "connected" and after few minutes it say "timeout". This is log from maillog Code: Mar 19 19:41:58 kumanovo last message repeated 2 times Mar 19 19:41:58 kumanovo dovecot: child 11435 (login) returned error 127 Mar 19 19:41:58 kumanovo dovecot: child 11436 (login) returned error 127 Mar 19 19:41:58 kumanovo dovecot: child 11437 (login) returned error 127 Mar 19 19:41:58 kumanovo dovecot: child 11438 (login) returned error 127 Mar 19 19:41:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:41:58 kumanovo dovecot: child 11439 (login) returned error 127 Mar 19 19:41:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:41:58 kumanovo dovecot: child 11440 (login) returned error 127 Mar 19 19:42:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:42:58 kumanovo dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:42:58 kumanovo last message repeated 2 times Mar 19 19:42:58 kumanovo dovecot: child 11453 (login) returned error 127 Mar 19 19:42:58 kumanovo dovecot: child 11454 (login) returned error 127 Mar 19 19:42:58 kumanovo dovecot: child 11455 (login) returned error 127 Mar 19 19:42:58 kumanovo dovecot: child 11456 (login) returned error 127 Mar 19 19:42:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:42:58 kumanovo dovecot: child 11457 (login) returned error 127 Mar 19 19:42:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:42:58 kumanovo dovecot: child 11458 (login) returned error 127 Mar 19 19:43:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:43:58 kumanovo last message repeated 2 times Mar 19 19:43:58 kumanovo dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:43:58 kumanovo last message repeated 2 times Mar 19 19:43:58 kumanovo dovecot: child 11471 (login) returned error 127 Mar 19 19:43:58 kumanovo dovecot: child 11472 (login) returned error 127 Mar 19 19:43:58 kumanovo dovecot: child 11473 (login) returned error 127 Mar 19 19:43:58 kumanovo dovecot: child 11474 (login) returned error 127 Mar 19 19:43:58 kumanovo dovecot: child 11475 (login) returned error 127 Mar 19 19:43:58 kumanovo dovecot: child 11476 (login) returned error 127 Mar 19 19:44:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:44:58 kumanovo dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:44:58 kumanovo last message repeated 2 times Mar 19 19:44:58 kumanovo dovecot: child 11489 (login) returned error 127 Mar 19 19:44:58 kumanovo dovecot: child 11490 (login) returned error 127 Mar 19 19:44:58 kumanovo dovecot: child 11491 (login) returned error 127 Mar 19 19:44:58 kumanovo dovecot: child 11492 (login) returned error 127 Mar 19 19:44:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:44:58 kumanovo dovecot: child 11493 (login) returned error 127 Mar 19 19:44:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:44:58 kumanovo dovecot: child 11494 (login) returned error 127 Mar 19 19:45:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:45:58 kumanovo dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:45:58 kumanovo last message repeated 2 times Mar 19 19:45:58 kumanovo dovecot: child 11507 (login) returned error 127 Mar 19 19:45:58 kumanovo dovecot: child 11508 (login) returned error 127 Mar 19 19:45:58 kumanovo dovecot: child 11509 (login) returned error 127 Mar 19 19:45:58 kumanovo dovecot: child 11510 (login) returned error 127 Mar 19 19:45:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:45:58 kumanovo dovecot: child 11511 (login) returned error 127 Mar 19 19:45:58 kumanovo dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Mar 19 19:45:58 kumanovo dovecot: child 11512 (login) returned error 127 [root@kumanovo log]#
Take a look here: http://www.cyberciti.biz/tips/rhel-dovecot-error-while-loading-shared-libraries.html
No, it is not blacklisted. I use that IP for first time (I check anyway). Also.... I can not login from Thunderbird (pop3). I after writing password I get error: