Hi, my email log is below: [root@dns1 ~]# tail -f /var/log/maillog Dec 17 18:15:30 dns1 dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Dec 17 18:15:30 dns1 last message repeated 2 times Dec 17 18:15:30 dns1 dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory Dec 17 18:15:30 dns1 last message repeated 2 times Dec 17 18:15:30 dns1 dovecot: child 4233 (login) returned error 127 Dec 17 18:15:30 dns1 dovecot: child 4234 (login) returned error 127 Dec 17 18:15:30 dns1 dovecot: child 4235 (login) returned error 127 Dec 17 18:15:30 dns1 dovecot: child 4236 (login) returned error 127 Dec 17 18:15:30 dns1 dovecot: child 4237 (login) returned error 127 Dec 17 18:15:30 dns1 dovecot: child 4238 (login) returned error 127 Dec 17 18:16:30 dns1 dovecot: imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory I install CentOS 5.1(86_64) base on http://www.howtoforge.com/centos-5.1-server-lamp-email-dns-ftp-ispconfig Thanks alot. Davy.
Take a look here: http://www.cyberciti.biz/tips/rhel-dovecot-error-while-loading-shared-libraries.html
Thanks alot .I got fixed. but i have the other problems. I cannot receive outside mail.My postfix configuration is on below: [root@dns1 ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = all mail_owner = postfix mailbox_command = mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = /etc/postfix/local-host-names myhostname = dns1.hongkefty.com mynetworks = 127.0.0.0/8 newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES sample_directory = /usr/share/doc/postfix-2.3.3/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtp_tls_note_starttls_offer = yes smtp_use_tls = yes smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = smtpd_sasl_security_options = noanonymous smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem smtpd_tls_auth_only = no smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key smtpd_tls_loglevel = 1 smtpd_tls_received_header = yes smtpd_tls_session_cache_timeout = 3600s smtpd_use_tls = yes tls_random_source = dev:/dev/urandom unknown_local_recipient_reject_code = 550 and i use telnet mail.XXXX.com 25 .It is OK. Do you have any idea? Thanks Davy
Do you get any error messages in the mail log? If not, please ask your internet provider, if they block port 25 and make sure that you forwarded port 25 to your server, in case the server is behind a router.
error log: [root@dns1 named]# tail -f /var/log/maillog rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Dec 20 14:43:50 dns1 dovecot: IMAP(web1_admin): Disconnected: Logged out Dec 20 14:44:07 dns1 dovecot: imap-login: Login: user=<web1_admin>, method=PLAIN , rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1, secured Dec 20 14:44:07 dns1 sendmail[11186]: lBK6i7UQ011186: Authentication-Warning: dn s1.hongkefty.com: admispconfig set sender to [email protected] using -f Dec 20 14:44:07 dns1 sendmail[11186]: lBK6i7UQ011186: [email protected], size=278, class=0, nrcpts=1, msgid=<3de04d10c58ed8df38f61e5c73acd92d@localhost>, relay=admispconfig@localhost Dec 20 14:44:07 dns1 postfix/smtpd[11187]: warning: database /etc/postfix/virtus ertable.db is older than source file /etc/postfix/virtusertable Dec 20 14:44:07 dns1 postfix/smtpd[11187]: connect from localhost.localdomain[12 7.0.0.1] Dec 20 14:44:07 dns1 postfix/smtpd[11187]: setting up TLS connection from localh ost.localdomain[127.0.0.1] Dec 20 14:44:07 dns1 postfix/smtpd[11187]: TLS connection established from local host.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits) Dec 20 14:44:07 dns1 sendmail[11186]: STARTTLS=client, relay=[127.0.0.1], versio n=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Dec 20 14:44:07 dns1 postfix/trivial-rewrite[11189]: warning: database /etc/post fix/virtusertable.db is older than source file /etc/postfix/virtusertable Dec 20 14:44:07 dns1 postfix/cleanup[11190]: warning: database /etc/postfix/virt usertable.db is older than source file /etc/postfix/virtusertable Dec 20 14:44:07 dns1 postfix/smtpd[11187]: 68A41B4834C: client=localhost.localdo main[127.0.0.1] Dec 20 14:44:07 dns1 postfix/cleanup[11190]: 68A41B4834C: message-id=<3de04d10c5 8ed8df38f61e5c73acd92d@localhost> Dec 20 14:44:07 dns1 postfix/qmgr[10166]: 68A41B4834C: from=<[email protected] >, size=830, nrcpt=1 (queue active) Dec 20 14:44:07 dns1 sendmail[11186]: lBK6i7UQ011186: to=[email protected], c [email protected] (101/101), delay=00:00:00, xdelay=00:00:00, mailer=re lay, pri=30278, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 68A41B4834C) Dec 20 14:44:07 dns1 postfix/smtpd[11187]: disconnect from localhost.localdomain [127.0.0.1] Dec 20 14:44:07 dns1 postfix/smtp[11191]: 68A41B4834C: to=<[email protected]> , relay=none, delay=0.06, delays=0.05/0.01/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=hongkefty.com type=A: Host found but no data record of requested type)Dec 20 14:44:07 dns1 postfix/cleanup[11190]: 79FC4B483A1: message-id=<[email protected]> Dec 20 14:44:07 dns1 postfix/qmgr[10166]: 79FC4B483A1: from=<>, size=2825, nrcpt =1 (queue active) Dec 20 14:44:07 dns1 postfix/bounce[11193]: 68A41B4834C: sender non-delivery not ification: 79FC4B483A1 Dec 20 14:44:07 dns1 postfix/qmgr[10166]: 68A41B4834C: removed Dec 20 14:44:07 dns1 postfix/smtp[11191]: 79FC4B483A1: to=<[email protected]>, relay=none, delay=0.01, delays=0/0/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=hongkefty.com type=A: Host found but no data record of requested type) Dec 20 14:44:07 dns1 postfix/qmgr[10166]: 79FC4B483A1: removed Dec 20 14:44:07 dns1 dovecot: IMAP(web1_admin): Disconnected: Logged out nameserver setup: [root@localhost ~]# dig mail.hongkefty.com ; <<>> DiG 9.3.3rc2 <<>> mail.hongkefty.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35834 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;mail.hongkefty.com. IN A ;; ANSWER SECTION: mail.hongkefty.com. 3600 IN A 202.64.92.148 ;; AUTHORITY SECTION: hongkefty.com. 3600 IN NS ns1.hongkefty.com. hongkefty.com. 3600 IN NS ns2.hongkefty.com. ;; Query time: 835 msec ;; SERVER: 210.21.196.8#53(210.21.196.8) ;; WHEN: Thu Dec 20 14:58:14 2007 ;; MSG SIZE rcvd: 88 [root@localhost ~]# PORT 25 is no problem from ISP and Rounter. How can i fix it? Thanks alot. Davy.
Hi, the domain mail.hongkefty.com is not the same as hongkefty.com. If you want to test for hongkefty.com, you will have to use: dig hongkefty.com and there seems to be no dns a-record for hongkefty.com.