[Dovecot] Error
I tested POP3 access from my laptop's Outlook which is on the same subnet as the dovecot/postfix server (so there's no firewall in between them & was able to get the emails in Outlook with following statuses shown when "Test Connection" is clicked: > Tasks Status > = > Establish network connection Completed > Find outgoing mail server (SMTP)Completed > Find incoming mail server (POP3) Completed > Log onto incoming mail server (POP3) Completed > Send test e-mail message Completed # dovecot -n # 2.0.9: /etc/dovecot/dovecot.conf doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:24: ssl_disable has been renamed to ssl # OS: Linux 2.6.12.6-xen0 i686 Red Hat Enterprise Linux ES release 4 (Nahant Update 2) disable_plaintext_auth = no listen = * mail_location = mbox:~/mail:INBOX=/pop3/spool/mail/%u mbox_write_locks = fcntl passdb { driver = pam } protocols = pop3 imap ssl = no ssl_cert = Jun 20 15:06:36 SmtpostixSvr postfix/smtpd[24148]: disconnect from unknown[172.19.21.23] Jun 20 15:06:36 SmtpostixSvr postfix/qmgr[21020]: EA32720006C: from=, size=705, nrcpt=1 (queue active) Jun 20 15:06:36 SmtpostixSvr dovecot: auth: Error: dlopen(/usr/lib/dovecot/auth/libdriver_pgsql.so) failed: /usr/lib/dovecot/auth/libdriver_pgsql.so: undefined symbol: PQescapeStringConn Jun 20 15:06:36 SmtpostixSvr dovecot: auth: Error: dlopen(/usr/lib/dovecot/auth/libdriver_pgsql.so) failed: /usr/lib/dovecot/auth/libdriver_pgsql.so: undefined symbol: PQescapeStringConn Jun 20 15:06:36 SmtpostixSvr postfix/local[24152]: EA32720006C: to=, orig_to=, relay=local, delay=0.81, delays=0.26/0.11/0/0.43, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail) Jun 20 15:06:36 SmtpostixSvr postfix/qmgr[21020]: EA32720006C: removed Jun 20 15:06:36 SmtpostixSvr dovecot: pop3-login: Login: user=, method=PLAIN, rip=172.19.21.23, lip=172.19.21.27, mpid=24157 Jun 20 15:06:36 SmtpostixSvr dovecot: pop3(myUnixid): Disconnected: Logged out top=0/0, retr=0/0, del=0/191, size=436234 > " saslfinger -s " output: > # saslfinger -s > saslfinger - postfix Cyrus sasl configuration Thu Mar 17 18:10:18 SGT 2011 > version: 1.0.2 > mode: server-side SMTP AUTH > > -- basics -- > Postfix: 2.5.6 > System: Red Hat Enterprise Linux ES release 4 (Nahant Update 2) > > -- smtpd is linked to -- > libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x47b72000) > > -- active SMTP AUTH and TLS parameters for smtpd -- > smtpd_sasl_auth_enable = yes > smtpd_sasl_security_options = noanonymous > > > -- listing of /usr/lib/sasl -- > total 560 > -rw-r--r-- 1 root root 4634 Dec 2 2004 libanonymous.a > -rwxr-xr-x 1 root root 871 Dec 2 2004 libanonymous.la > -rwxr-xr-x 1 root root 5748 Dec 2 2004 libanonymous.so > -rwxr-xr-x 1 root root 5748 Dec 2 2004 libanonymous.so.1 > -rwxr-xr-x 1 root root 5748 Dec 2 2004 libanonymous.so.1.0.17 > -rw-r--r-- 1 root root 9758 Dec 2 2004 libcrammd5.a > -rwxr-xr-x 1 root root 857 Dec 2 2004 libcrammd5.la > -rwxr-xr-x 1 root root 9884 Dec 2 2004 libcrammd5.so > -rwxr-xr-x 1 root root 9884 Dec 2 2004 libcrammd5.so.1 > -rwxr-xr-x 1 root root 9884 Dec 2 2004 libcrammd5.so.1.0.19 > -rw-r--r-- 1 root root 34264 Dec 2 2004 libdigestmd5.a > -rwxr-xr-x 1 root root 880 Dec 2 2004 libdigestmd5.la > -rwxr-xr-x 1 root root 30804 Dec 2 2004 libdigestmd5.so > -rwxr-xr-x 1 root root 30804 Dec 2 2004 libdigestmd5.so.0 > -rwxr-xr-x 1 root root 30804 Dec 2 2004 libdigestmd5.so.0.0.20 > -rw-r--r-- 1 root root 11322 Dec 2 2004 libgssapiv2.a > -rwxr-xr-x 1 root root 906 Dec 2 2004 libgssapiv2.la > -rwxr-xr-x 1 root root 11952 Dec 2 2004 libgssapiv2.so > -rwxr-xr-x 1 root root 11952 Dec 2 2004 libgssapiv2.so.1 > -rwxr-xr-x 1 root root 11952 Dec 2 2004 libgssapiv2.so.1.0.19 > -rw-r--r-- 1 root root 6598 Dec 2 2004 liblogin.a > -rwxr-xr-x 1 root root 847 Dec 2 2004 liblogin.la > -rwxr-xr-x 1 root root 7248 Dec 2 2004 liblogin.so > -rwxr-xr-x 1 root root 7248 Dec 2 2004 liblogin.so.0 > -rwxr-xr-x 1 root root 7248 Dec 2 2004 liblogin.so.0.0.7 > -rw-r--r-- 1 root root 6150 Dec 2 2004 libplain.a > -rwxr-xr-x 1 root root 849 Dec 2 2004 libplain.la > -rwxr-xr-x 1 root root 7000 Dec 2 2004 libplain.so > -rwxr-xr-x 1 root root 7000 Dec 2 2004 libplain.so.1 > -rwxr-xr-x 1 root root 7000 Dec 2 2004 libplain.so.1.0.16 > > -- listing of /usr/lib/sasl2 -- > total 3152 > -rwxr-xr-x 1 root root 875 Dec 2 2004 libanonymous.la > -rwxr-xr-x 1 root root 12820 Dec 2 2004 libanonymous.so > -rwxr-xr-x 1 root root 12820 Dec 2 2004 libanonymous.so.2 > -rwx
Re: [Dovecot] POP3 connection issue & SASL not compiled in
Instead of "doveconf -n", appended below /etc/dovecot/dovecot.conf # Protocols we want to be serving. # protocols = imap pop3 lmtp Z <== have tried this earlier, no luck # protocols = imap pop3 imaps pop3s protocols = imaps pop3s ssl_disable = no <==added later but I don't need Secure POP3 actually ssl_cert_file = /usr/share/ssl/certs/dovecot.pem <==added later but I don't need Secure POP3 ssl_key_file = /usr/share/ssl/private/dovecot.pem <==added later but I don't need Secure POP3 listen = * #base_dir = /var/run/dovecot/ #login_trusted_networks = #login_access_sockets = #verbose_proctitle = no #shutdown_clients = yes #doveadm_worker_count = 0 #doveadm_socket_path = doveadm-server # "proxy::". dict { #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext } !include conf.d/*.conf #!include_try /etc/dovecot/local.conf
[Dovecot] POP3 connection issue & SASL not compiled in
After I've configured dovecot for SSL according to the info given in the link below: https://access.redhat.com/kb/docs/DOC-6671 (tried both POP3 & secure POP3 & got the same result) I tested POP3 access from my unblocked (no firewall rule for outgoing) broadband PC's Outlook to connect to the postfix/dovecot server & got the following : Tasks Status = Establish network connection Completed Find outgoing mail server (SMTP)Completed Find incoming mail server (POP3) Completed Log onto incoming mail server (PO... Send test e-mail message Completed (yep, this email was received in postfix mailbox) & seconds later, the following messages returned: Log onto incoming mail server (POP3): The specified server was found, but there was no response from the server. Please verify that the port and SSL information is correct. To access these settings close this dialog, then click More Settings and click on the Advanced tab. Find incoming mail server (POP3): Outlook could not connect to the incoming mail server (POP3). The problem could be the server name or port, or your server may not support SSL. Verify your port and SSL settings in More Settings under the Advanced tab. Q1: What do I need to provide to this list for further troubleshooting? Q2: I have the following log entry in /var/log/mailog : Mar 31 10:48:36 hostname postfix/smtpd[22258]: warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in Is this related to my POP3 connection issue? Q3: Is the following related to the sasl issue in Q2 & the POP3 connection issue ? [root@host /etc/sysconfig]# saslauthd -v <== expectg postfix to be listed below saslauthd 2.1.19 authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap [root@host /etc/sysconfig]# rpm -qa | grep -i sasl cyrus-sasl-md5-2.1.19-5.EL4 cyrus-sasl-devel-2.1.19-5.EL4 cyrus-sasl-ntlm-2.1.19-5.EL4 cyrus-sasl-2.1.19-5.EL4 cyrus-sasl-plain-2.1.19-5.EL4 cyrus-sasl-gssapi-2.1.19-5.EL4 warning: only V3 signatures can be verified, skipping V4 signature cyrus-sasl-sql-2.1.19-5.EL4 The above cyrus/sasl rpms are old existing packages that were already there in the server a couple of years ago & well before I installed postfix & dovecot in this server. Wondering if they interfere with postfix sasl authentication. There's no issue with this postfix+dovecot box sending & receiving emails. " saslfinger -s " output: # saslfinger -s saslfinger - postfix Cyrus sasl configuration Thu Mar 17 18:10:18 SGT 2011 version: 1.0.2 mode: server-side SMTP AUTH -- basics -- Postfix: 2.5.6 System: Red Hat Enterprise Linux ES release 4 (Nahant Update 2) -- smtpd is linked to -- libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x47b72000) -- active SMTP AUTH and TLS parameters for smtpd -- smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous -- listing of /usr/lib/sasl -- total 560 -rw-r--r--1 root root 4634 Dec 2 2004 libanonymous.a -rwxr-xr-x1 root root 871 Dec 2 2004 libanonymous.la -rwxr-xr-x1 root root 5748 Dec 2 2004 libanonymous.so -rwxr-xr-x1 root root 5748 Dec 2 2004 libanonymous.so.1 -rwxr-xr-x1 root root 5748 Dec 2 2004 libanonymous.so.1.0.17 -rw-r--r--1 root root 9758 Dec 2 2004 libcrammd5.a -rwxr-xr-x1 root root 857 Dec 2 2004 libcrammd5.la -rwxr-xr-x1 root root 9884 Dec 2 2004 libcrammd5.so -rwxr-xr-x1 root root 9884 Dec 2 2004 libcrammd5.so.1 -rwxr-xr-x1 root root 9884 Dec 2 2004 libcrammd5.so.1.0.19 -rw-r--r--1 root root 34264 Dec 2 2004 libdigestmd5.a -rwxr-xr-x1 root root 880 Dec 2 2004 libdigestmd5.la -rwxr-xr-x1 root root 30804 Dec 2 2004 libdigestmd5.so -rwxr-xr-x1 root root 30804 Dec 2 2004 libdigestmd5.so.0 -rwxr-xr-x1 root root 30804 Dec 2 2004 libdigestmd5.so.0.0.20 -rw-r--r--1 root root 11322 Dec 2 2004 libgssapiv2.a -rwxr-xr-x1 root root 906 Dec 2 2004 libgssapiv2.la -rwxr-xr-x1 root root 11952 Dec 2 2004 libgssapiv2.so -rwxr-xr-x1 root root 11952 Dec 2 2004 libgssapiv2.so.1 -rwxr-xr-x1 root root 11952 Dec 2 2004 libgssapiv2.so.1.0.19 -rw-r--r--1 root root 6598 Dec 2 2004 liblogin.a -rwxr-xr-x1 root root 847 Dec 2 2004 liblogin.la -rwxr-xr-x1 root root 7248 Dec 2 2004 liblogin.so -rwxr-xr-x1 root root 7248 Dec 2 2004 liblogin.so.0 -rwxr-xr-x1 root root 7248 Dec 2 2004 liblogin.so.0.0.7 -rw-r--r--1 root root 6150 Dec 2 2004 libplain.a -rwxr-xr-x1 root root 849 Dec 2 2004 libplain.la -rwxr-xr-x1 root root 7000 Dec 2 2004 libplain.so -rwxr-xr-x1 root root 7000 Dec 2 2004 libplain.so.1 -rwxr-xr-x1 root root 7000 Dec 2 2004 libplain.so.1.0.16 -- listing of /usr/lib/sasl2 -- total 3152
Re: [Dovecot] Rejected mails
Even if I'm inside the box itself & send emails to myself, it was not received too (despite that sending to external emails including gmail was Ok) : # mailx -s "tst to localhost" myunixid@localhost < /etc/hosts # mailx -s "tst to myportaltech" myuni...@myportaltech.com < /etc/hosts # mailx -s "tst to hostname" myunixid@`hostname` < /etc/hosts # mailx -s "tst to local private IP" myunixid@private_IP_addr < /etc/hosts # su - myunixid $ mailq /var/spool/mqueue is empty Total requests: 0
Re: [Dovecot] Rejected mails
Sending outgoing emails from this dovecot/postfix server is Ok (ie emails received at destination) but incoming mails keep getting the logs below : smtp.myportaltech.com[202.6.163.31]:25: Connection timed out Feb 21 16:37:04 hostname postfix/smtp[1381]: 8B35C200060: to=, relay=none, delay=30, delays=0.1/0.01/30/0, dsn=4.4.1, status=deferred (connect to smtp.myportaltech.com[202.6.163.31]:25: Connection timed out) >From this postfix server, if I tried doing "telnet 202.6.163.31 25" it won't respond. That is the public IP address. If I issue "telnet private_IP_address 25" , it responds. My firewall colleague said it's not feasible to create a firewall rule from this server to its own external public address - is this a valid comment? I'm not sure if this is the issue but I've also defined smtp.myportaltech.com in /etc/hosts to point to my server's private address but seems like smtp/postfix (or dovecot?) is still trying to connect to the external private address when it attempts to connect to smtp.myportaltech.com Thanks Sun
Re: [Dovecot] Rejected mails
When I login to take a look this morning, etc/postfix/master.cf already is non-verbose : smtp inet n - n - - smtpd So whatever I sent previously from maillog is captured based on non-verbose. Anything else I can provide? Should I reduce the debug_peer_level in main.cf from 2 to 1 ? Sun
Re: [Dovecot] Rejected mails
In /etc/postfix/master.cf: smtp inet n - n - - smtpd -v I just have to remove the "-v" & then restart postfix? I'll only get to do it tomorrow as it's night time now. Thanks Sun
[Dovecot] Rejected mails
I'm getting closer, now with SMTP permitted to whole of Internet to connect to my SMTP/postfix server & for my postfix server to connect out to public Internet on tcp 25 as well. I send emails from permitted domain's SMTP servers with "Receipt Acknowledgemt" & the ack returned said it was delivered but somehow there's no mail in the mailbox & using the site below to test, it gave Rejected : http://legacy.zoneedit.com/whois.html OK, connected to gate1.mds.com.sg... < 220 gate1.mds.com.sg ESMTP > HELO edit.dnsvr.com < 250 gate1.mds.com.sg > MAIL FROM: < 250 sender ok > RCPT TO: < 550 #5.1.0 Address rejected. The recipient_id is basically a Linux OS id in my SMTP server. Would this work or I'll need to have virtual domain ids ? === latest maillog == Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute value: 0 Feb 21 16:36:34 hostname postfix/smtpd[1372]: private/rewrite socket: wanted attribute: transport Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute name: transport Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute value: relay Feb 21 16:36:34 hostname postfix/smtpd[1372]: private/rewrite socket: wanted attribute: nexthop Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute name: nexthop Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute value: myportaltech.com Feb 21 16:36:34 hostname postfix/smtpd[1372]: private/rewrite socket: wanted attribute: recipient Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute name: recipient Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute value: r...@myportaltech.com Feb 21 16:36:34 hostname postfix/smtpd[1372]: private/rewrite socket: wanted attribute: flags Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute name: flags Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute value: 2048 Feb 21 16:36:34 hostname postfix/smtpd[1372]: private/rewrite socket: wanted attribute: (list terminator) Feb 21 16:36:34 hostname postfix/smtpd[1372]: input attribute name: (end) Feb 21 16:36:34 hostname postfix/smtpd[1372]: resolve_clnt: `' -> `r...@myportaltech.com' -> transp=`relay' host=`myportaltech.com' rcpt=`r...@myportaltech.com' flags= class=relay Feb 21 16:36:34 hostname postfix/smtpd[1372]: ctable_locate: install entry key r...@myportaltech.com Feb 21 16:36:34 hostname postfix/smtpd[1372]: extract_addr: in: , result: r...@myportaltech.com Feb 21 16:36:34 hostname postfix/smtpd[1372]: >>> START Recipient address RESTRICTIONS <<< Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=reject_invalid_hostname Feb 21 16:36:34 hostname postfix/smtpd[1372]: reject_invalid_hostname: gate1.mds.com.sg Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=reject_invalid_hostname status=0 Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=reject_unauth_pipelining Feb 21 16:36:34 hostname postfix/smtpd[1372]: reject_unauth_pipelining: RCPT Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=reject_unauth_pipelining status=0 Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=permit_mynetworks Feb 21 16:36:34 hostname postfix/smtpd[1372]: permit_mynetworks: gate1.mds.com.sg 203.126.130.157 Feb 21 16:36:34 hostname postfix/smtpd[1372]: match_hostname: gate1.mds.com.sg ~? 172.18.20.0/24 Feb 21 16:36:34 hostname postfix/smtpd[1372]: match_hostaddr: 203.126.130.157 ~? 172.18.20.0/24 Feb 21 16:36:34 hostname postfix/smtpd[1372]: match_hostname: gate1.mds.com.sg ~? 127.0.0.0/8 Feb 21 16:36:34 hostname postfix/smtpd[1372]: match_hostaddr: 203.126.130.157 ~? 127.0.0.0/8 Feb 21 16:36:34 hostname postfix/smtpd[1372]: match_hostname: gate1.mds.com.sg ~? 202.6.163.0/24 Feb 21 16:36:34 hostname postfix/smtpd[1372]: match_hostaddr: 203.126.130.157 ~? 202.6.163.0/24 Feb 21 16:36:34 hostname postfix/smtpd[1372]: match_list_match: gate1.mds.com.sg: no match Feb 21 16:36:34 hostname postfix/smtpd[1372]: match_list_match: 203.126.130.157: no match Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=permit_mynetworks status=0 Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=permit_sasl_authenticated Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=permit_sasl_authenticated status=0 Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=reject_unauth_destination Feb 21 16:36:34 hostname postfix/smtpd[1372]: reject_unauth_destination: r...@myportaltech.com Feb 21 16:36:34 hostname postfix/smtpd[1372]: permit_auth_destination: r...@myportaltech.com Feb 21 16:36:34 hostname postfix/smtpd[1372]: ctable_locate: leave existing entry key r...@myportaltech.com Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=reject_unauth_destination status=0 Feb 21 16:36:34 hostname postfix/smtpd[1372]: generic_checks: name=check_client_access Feb 21 16:36:34 hostname postfix/smtpd[1372]: check_namadr_access: name gate1.mds.com.sg addr 203.126.130.157
[Dovecot] test emails did not arrive at SMTP server : after dovecot installation
Just set up postfix & it's running on my RHES 4.2 box. Immediately after postfix is up, I test sending emails from a permitted domain (ahhh, on this postfix server's domain firewall, we even have a firewall rule which permits Tcp25 from those few sending domains' SMTP servers) using an email client to sender_id@[IP_address_of_the_postfix_server] & the /var/log/maillog on the postfix server indicated the email arrives at the postfix server (with some errors though) : # grep recipient_id /var/log/maillog* maillog:Feb 15 11:41:52 hostname postfix/smtpd[6891]: NOQUEUE: reject: RCPT from gate1.mds.com.sg[203.126.130.157]: 554 5.7.1 : Relay access denied; from= to= proto=ESMTP helo= maillog:Feb 15 13:43:20 hostname sendmail[7688]: NOQUEUE: SYSERR(recipient_id): can not chdir(/var/spool/mqueue/): Permission denied Then I installed dovecot rpm on my RHES box : uninstall it as it's an old version & reinstall with a newer version & start up dovecot as well. I did not test sending to sender_id@domain_name at that time because the domain I purchased from a domain provider/registrar has yet to be registered in our ISP's DNS. Subsequently I registered the following A, MX & NS records with our ISP : A: myportaltech.com. IN A 202.6.163.31 A: smtp.myportaltech.com. IN A 202.6.163.31 PTR: 31.163.6.202.in-addr.arpa. IN PTR smtp.myportaltech.com. MX: myportaltech.com. IN MX 10 smtp.myportaltech.com. NS: myportaltech.com.IN NS ns1.businessexprezz.com. NS: myportaltech.com.IN NS ns2.businessexprezz.com. The above myportaltech is just a fictitious name of my domain but I can provide the actual domain name if needed. After the above records have been propagated to all other DNSes, I test sending email from the same permitted domain, this time using domain name & the email never arrives & I did not receive a 'bounced mail' notification too. Then I test sending from the same domain to recipient_id@[202.6.163.31] & this time round, the test email never show up in /var/log/maillog* anymore. The network/security guys confirmed that the firewall logs did not show any denied SMTP records. So how do I go about troubleshooting this? Is this a DNS record entries issue, firewall/network issue, related to dovecot or something within my postfix server? Thanks Sun
Re: [Dovecot] Dovecot can't start with error pop3-login & imap-login not supported protocol family
I uninstalled this latest version & install another old version : it did not give the earlier errors but it does not have pop3 service: rpm -i ./dovecot-1.0.13-1.el4.rfx.i386.rpm warning: ./dovecot-1.0.13-1.el4.rfx.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 [root@old]# /etc/init.d/dovecot start Starting IMAP daemon (dovecot):[ OK ] [root@old]# telnet localhost 110# to test if POP3 is listening Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused On Wed, Feb 16, 2011 at 12:01 PM, sunhux G wrote: > I've done the installation (rpm downloaded from the RHES4 link > given by Oli below) but dovecot won't start, it gave > the error pop3-login & imap-login not supported by protocol. > > I'm sure with a much older version (in my previous post) of > dovecot, I'm able to start up dovecot & it did not give this > error. Thought dovecot is suppose to come with pop3 & imap? > > > # rpm -Uvh --force mysqlclient14-4.1.22-1.el4s1.1.i386.rpm > warning: mysqlclient14-4.1.22-1.el4s1.1.i386.rpm: V3 DSA signature: NOKEY, > key ID 443e1821 > Preparing...### > [100%] >1:mysqlclient14 ### > [100%] > /sbin/ldconfig: /usr/lib/libcpqlsptransport.so.0 is not a symbolic link > [root@tmp]# rpm -qa | grep -i mysql > mysql-4.1.12-3.RHEL4.1 > perl-DBD-MySQL-2.9004-3.1 > php-mysql-4.3.9-3.8 > mysql-server-4.1.12-3.RHEL4.1 > mysqlclient14-4.1.22-1.el4s1.1 <== it's there now > [root@tmp]# rpm -i ./dovecot-2.0.9-1_125.el4.i386.rpm > warning: only V3 signatures can be verified, skipping V4 signature > warning: only V3 signatures can be verified, skipping V4 signature > [root@tmp]# cd /etc > [root@etc]# ls -ld rc*/*dove* > lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc0.d/K01dovecot -> > ../init.d/dovecot > lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc1.d/K01dovecot -> > ../init.d/dovecot > lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc2.d/K01dovecot -> > ../init.d/dovecot > lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc3.d/K01dovecot -> > ../init.d/dovecot > lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc4.d/K01dovecot -> > ../init.d/dovecot > lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc5.d/K01dovecot -> > ../init.d/dovecot > lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc6.d/K01dovecot -> > ../init.d/dovecot > [root@nspplss2 etc]# ls -ld rc*/S*dove* > ls: rc*/S*dove*: No such file or directory > [root@nspplss2 etc]# pwd > /etc > [root@etc]# ls rc*/*postf* > rc0.d/K30postfix rc2.d/S80postfix rc4.d/S80postfix rc6.d/K30postfix > rc1.d/K30postfix rc3.d/S99postfixstart rc5.d/S80postfix > [root@etc]# ln -s /etc/init.d/dovecot /etc/rc3.d/S70dovecot > [root@etc]# ln -s /etc/init.d/dovecot /etc/rc5.d/S70dovecot > > [root@]# init.d/dovecot start > Starting Dovecot Imap: Error: socket() failed: Address family not supported > by protocol > Error: service(pop3-login): listen(::, 110) failed: Address family not > supported by protocol > Error: socket() failed: Address family not supported by protocol > Error: service(pop3-login): listen(::, 995) failed: Address family not > supported by protocol > Error: socket() failed: Address family not supported by protocol > Error: service(imap-login): listen(::, 143) failed: Address family not > supported by protocol > Error: socket() failed: Address family not supported by protocol > Error: service(imap-login): listen(::, 993) failed: Address family not > supported by protocol > Fatal: Failed to start listeners >[FAILED] > > [root@etc]# telnet localhost 110 > Trying 127.0.0.1... > telnet: connect to address 127.0.0.1: Connection refused > telnet: Unable to connect to remote host: Connection refused > > [root@etc]# rpm -qa | grep dove > dovecot-2.0.9-1_125.el4 > [root@etc]# chkconfig --list | grep pop3 > [root@etc]# chkconfig --list | grep imap > On Tue, Feb 15, 2011 at 8:39 PM, Oli Schacher wrote: > >> On Tue, 15 Feb 2011 18:00:53 +0800 >> sunhux G wrote: >> >> > I'm on RHES 4.x >> > >> > I downloaded 2 dovecot RPM packages from >> > http://packages.sw.be/dovecot/ >> > >> > dovecot-1.0.13-1.el4.rfx.i386.rpm 13-Nov-2010 22:15 1.8M >> > RHEL4 and CentOS-4 x86 32bit >> >and >> > dovecot-0.99.13-1.2.el4.test.i386.rpm 21-Feb-2005 16:57 693K >> > RHEL4 and CentOS-4 x86 32bit >> > >> >> [...] >> >Q1: >> >Is the test version rpm of dovecot reliable? It's only half th
[Dovecot] Dovecot can't start with error pop3-login & imap-login not supported protocol family
I've done the installation (rpm downloaded from the RHES4 link given by Oli below) but dovecot won't start, it gave the error pop3-login & imap-login not supported by protocol. I'm sure with a much older version (in my previous post) of dovecot, I'm able to start up dovecot & it did not give this error. Thought dovecot is suppose to come with pop3 & imap? # rpm -Uvh --force mysqlclient14-4.1.22-1.el4s1.1.i386.rpm warning: mysqlclient14-4.1.22-1.el4s1.1.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821 Preparing...### [100%] 1:mysqlclient14 ### [100%] /sbin/ldconfig: /usr/lib/libcpqlsptransport.so.0 is not a symbolic link [root@tmp]# rpm -qa | grep -i mysql mysql-4.1.12-3.RHEL4.1 perl-DBD-MySQL-2.9004-3.1 php-mysql-4.3.9-3.8 mysql-server-4.1.12-3.RHEL4.1 mysqlclient14-4.1.22-1.el4s1.1 <== it's there now [root@tmp]# rpm -i ./dovecot-2.0.9-1_125.el4.i386.rpm warning: only V3 signatures can be verified, skipping V4 signature warning: only V3 signatures can be verified, skipping V4 signature [root@tmp]# cd /etc [root@etc]# ls -ld rc*/*dove* lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc0.d/K01dovecot -> ../init.d/dovecot lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc1.d/K01dovecot -> ../init.d/dovecot lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc2.d/K01dovecot -> ../init.d/dovecot lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc3.d/K01dovecot -> ../init.d/dovecot lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc4.d/K01dovecot -> ../init.d/dovecot lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc5.d/K01dovecot -> ../init.d/dovecot lrwxrwxrwx 1 root root 17 Feb 16 11:37 rc6.d/K01dovecot -> ../init.d/dovecot [root@nspplss2 etc]# ls -ld rc*/S*dove* ls: rc*/S*dove*: No such file or directory [root@nspplss2 etc]# pwd /etc [root@etc]# ls rc*/*postf* rc0.d/K30postfix rc2.d/S80postfix rc4.d/S80postfix rc6.d/K30postfix rc1.d/K30postfix rc3.d/S99postfixstart rc5.d/S80postfix [root@etc]# ln -s /etc/init.d/dovecot /etc/rc3.d/S70dovecot [root@etc]# ln -s /etc/init.d/dovecot /etc/rc5.d/S70dovecot [root@]# init.d/dovecot start Starting Dovecot Imap: Error: socket() failed: Address family not supported by protocol Error: service(pop3-login): listen(::, 110) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(pop3-login): listen(::, 995) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(imap-login): listen(::, 143) failed: Address family not supported by protocol Error: socket() failed: Address family not supported by protocol Error: service(imap-login): listen(::, 993) failed: Address family not supported by protocol Fatal: Failed to start listeners [FAILED] [root@etc]# telnet localhost 110 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host: Connection refused [root@etc]# rpm -qa | grep dove dovecot-2.0.9-1_125.el4 [root@etc]# chkconfig --list | grep pop3 [root@etc]# chkconfig --list | grep imap On Tue, Feb 15, 2011 at 8:39 PM, Oli Schacher wrote: > On Tue, 15 Feb 2011 18:00:53 +0800 > sunhux G wrote: > > > I'm on RHES 4.x > > > > I downloaded 2 dovecot RPM packages from > > http://packages.sw.be/dovecot/ > > > > dovecot-1.0.13-1.el4.rfx.i386.rpm 13-Nov-2010 22:15 1.8M > > RHEL4 and CentOS-4 x86 32bit > >and > > dovecot-0.99.13-1.2.el4.test.i386.rpm 21-Feb-2005 16:57 693K > > RHEL4 and CentOS-4 x86 32bit > > > > [...] > >Q1: > >Is the test version rpm of dovecot reliable? It's only half the size > >of the other rpm (that I was not able to install) > > 0.9 / 1.0 : These versions are way out of date and you will probably > have a hard time getting support. I suggest you try the current > versions from atrpms.net We have been using the 2.0 RHEL5 packages by > Axel Thimm for quite some time now and they work flawlessly. > > Link for RHEL4 packages: http://packages.atrpms.net/dist/el4/dovecot/ > > Maybe this fixes Q2 as well ;-) > > Q3: You'll find lots of examples / tutorials in the dovecot wiki : > http://wiki2.dovecot.org/#HOWTOs.2C_examples_and_tutorials > > HTH > > Oli >
Re: [Dovecot] help with dovecot installation dependencies
Thanks very much Will get the RHES 4 packages tomorrow as not in office now. Just hope they can be "rpm" installed right away without compiling. Can the 2.0 RHEL5 packages run on RHEL 4.x OS ? Sun On Tue, Feb 15, 2011 at 8:39 PM, Oli Schacher wrote: > > > 0.9 / 1.0 : These versions are way out of date and you will probably > have a hard time getting support. I suggest you try the current > versions from atrpms.net We have been using the 2.0 RHEL5 packages by > Axel Thimm for quite some time now and they work flawlessly. > > Link for RHEL4 packages: http://packages.atrpms.net/dist/el4/dovecot/ > > Maybe this fixes Q2 as well ;-) > > Q3: You'll find lots of examples / tutorials in the dovecot wiki : > http://wiki2.dovecot.org/#HOWTOs.2C_examples_and_tutorials > > HTH > > Oli >
[Dovecot] help with dovecot installation dependencies
I'm on RHES 4.x I downloaded 2 dovecot RPM packages from http://packages.sw.be/dovecot/ dovecot-1.0.13-1.el4.rfx.i386.rpm 13-Nov-2010 22:15 1.8M RHEL4 and CentOS-4 x86 32bit and dovecot-0.99.13-1.2.el4.test.i386.rpm 21-Feb-2005 16:57 693K RHEL4 and CentOS-4 x86 32bit The first rpm fails with error below : # rpm -i ./dovecot-1.0.13-1.el4.rfx.i386.rpm warning: ./dovecot-1.0.13-1.el4.rfx.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: libmysqlclient.so.14(libmysqlclient_14) is needed by dovecot-1.0.13-1.el4.rfx.i386 I have a hard time trying to locate an rpm that contains libmysqlclient.so.14 & have no luck : # rpm -i ./mysql-libs-5.1.42-4.el6.i686.rpm warning: ./mysql-libs-5.1.42-4.el6.i686.rpm: V3 RSA/MD5 signature: NOKEY, key ID f21541eb error: Failed dependencies: libcrypto.so.10 is needed by mysql-libs-5.1.42-4.el6.i686 libssl.so.10 is needed by mysql-libs-5.1.42-4.el6.i686 rpmlib(FileDigests) <= 4.6.0-1 is needed by mysql-libs-5.1.42-4.el6.i686 rtld(GNU_HASH) is needed by mysql-libs-5.1.42-4.el6.i686 rpmlib(PayloadIsXz) <= 5.2-1 is needed by mysql-libs-5.1.42-4.el6.i686 Then I installed the 2nd dovecot rpm successfully but its filename indicated it's a "test" version : # rpm -i ./dovecot-0.99.13-1.2.el4.test.i386.rpm warning: ./dovecot-0.99.13-1.2.el4.test.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 # /etc/init.d/dovecot start Starting IMAP daemon (dovecot):[ OK ] Q1: Is the test version rpm of dovecot reliable? It's only half the size of the other rpm (that I was not able to install) Q2: Kindly assist me to resolve the 1st rpm issue : let me know where I can download the dependencies etc Q3: Lastly, kindly point me to a simple doc that tells me how to do basic setup of dovecot & create simple mailbox accounts. I'm a complete newbie to dovecot & postfix. Have some Linux know-how