Still No Authentication.

Discussion in 'HOWTO-Related Questions' started by kwinnuxbie, Oct 29, 2006.

  1. kwinnuxbie

    kwinnuxbie New Member

    I did as you said. But still can not get authenticated.. I have installed FC5 i386 thinking it might have been something I have not covered. No Luck. Anything else you can have me check.
    I get authentication errors (wrong password) when use evolution and webmail interface. under both IMAP and POP...
    Can you tell me what files might contribute to the user getting or not authenticed or what the process is for authentication?

    Thanks again..
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Any errors in /var/log/maillog?
    What's the output of
    Code:
    netstat -tap
    ? Is SELinux disabled?
     
  3. kwinnuxbie

    kwinnuxbie New Member

    See. Below.
    Here are a few differences form your instructions. One I have the vamil located else where.. /data/vmail
    I have two NICS...
    I use it as router/gw as well. Nat et... I can post iptables if you need.
    Also noticed that /etc/rc.d/init.d/courier-authlib is not where your instructions say.. should be here according to your instructions.. /etc/init.d/courier-authlib DOES it matter???

    Thank you yet again...

    I am, as you probably noticed, a newbie at this... Yes, I am a clicker sort of speak...But I try and try and try..

    netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost.localdomain:10024 *:* LISTEN -
    tcp 0 0 localhost.localdomain:10025 *:* LISTEN -
    tcp 0 0 *:mysql *:* LISTEN -
    tcp 0 0 *:sunrpc *:* LISTEN -
    tcp 0 0 *:ndmp *:* LISTEN -
    tcp 0 0 *:smtps *:* LISTEN -
    tcp 0 0 *:42708 *:* LISTEN -
    tcp 0 0 *:smtp *:* LISTEN -
    tcp 0 0 24-38-113-154-st.losac:ndmp 65-125-183-66.dia.sta:46574 ESTABLISHED -
    tcp 0 0 *:imaps *:* LISTEN -
    tcp 0 0 *:pop3s *:* LISTEN -
    tcp 0 0 *:pop3 *:* LISTEN -
    tcp 0 0 *:imap *:* LISTEN -
    tcp 0 0 *:http *:* LISTEN -
    tcp 0 0 *:ssh *:* LISTEN -
    tcp 0 0 *:https *:* LISTEN -
    tcp 0 1696 24-38-113-154-st.losaca:ssh 65-125-183-66.dia.sta:46801 ESTABLISHED -

    Oct 29 21:45:25 ridersnet authdaemond: Installing libauthmysql
    Oct 29 21:45:25 ridersnet authdaemond: Installation complete: authmysql
    Oct 29 21:45:31 ridersnet clamd[2246]: Daemon started.
    Oct 29 21:45:31 ridersnet clamd[2246]: clamd daemon 0.88.5 (OS: linux-gnu, ARCH: i386, CPU: i386)
    Oct 29 21:45:31 ridersnet clamd[2246]: Log file size limited to 1048576 bytes.
    Oct 29 21:45:31 ridersnet clamd[2246]: Running as user amavis (UID 101, GID 5001)
    Oct 29 21:45:31 ridersnet clamd[2246]: Reading databases from /var/lib/clamav
    Oct 29 21:45:33 ridersnet clamd[2246]: Protecting against 74825 viruses.
    Oct 29 21:45:33 ridersnet clamd[2247]: Unix socket file /var/spool/amavisd/clamd.sock
    Oct 29 21:45:33 ridersnet clamd[2247]: Setting connection queue length to 15
    Oct 29 21:45:33 ridersnet clamd[2247]: Archive: Archived file size limit set to 10485760 bytes.
    Oct 29 21:45:33 ridersnet clamd[2247]: Archive: Recursion level limit set to 8.
    Oct 29 21:45:33 ridersnet clamd[2247]: Archive: Files limit set to 1000.
    Oct 29 21:45:33 ridersnet clamd[2247]: Archive: Compression ratio limit set to 250.
    Oct 29 21:45:33 ridersnet clamd[2247]: Archive support enabled.
    Oct 29 21:45:33 ridersnet clamd[2247]: Archive: RAR support disabled.
    Oct 29 21:45:33 ridersnet clamd[2247]: Portable Executable support enabled.
    Oct 29 21:45:33 ridersnet clamd[2247]: Mail files support enabled.
    Oct 29 21:45:33 ridersnet clamd[2247]: OLE2 support enabled.
    Oct 29 21:45:33 ridersnet clamd[2247]: HTML support enabled.
    Oct 29 21:45:33 ridersnet clamd[2247]: Self checking every 1800 seconds.
    Oct 29 21:45:36 ridersnet amavis[2255]: starting. /usr/sbin/amavisd at ridersnet.com amavisd-new-2.4.3 (20060930), Unicode aware, LANG=en_US.UTF-8
    Oct 29 21:45:36 ridersnet amavis[2255]: Perl version 5.008008
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Amavis::Conf 2.072
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Archive::Tar 1.30
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Archive::Zip 1.16
    Oct 29 21:45:37 ridersnet amavis[2256]: Module BerkeleyDB 0.27
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Compress::Zlib 1.41
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Convert::TNEF 0.17
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Convert::UUlib 1.06
    Oct 29 21:45:37 ridersnet amavis[2256]: Module DBD::mysql 3.0004
    Oct 29 21:45:37 ridersnet amavis[2256]: Module DBI 1.52
    Oct 29 21:45:37 ridersnet amavis[2256]: Module DB_File 1.814
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Digest::MD5 2.36
    Oct 29 21:45:37 ridersnet amavis[2256]: Module MIME::Entity 5.420
    Oct 29 21:45:37 ridersnet amavis[2256]: Module MIME::parser 5.420
    Oct 29 21:45:37 ridersnet amavis[2256]: Module MIME::Tools 5.420
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Mail::Header 1.74
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Mail::Internet 1.74
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Mail::SPF::Query 1.999001
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Mail::SpamAssassin 3.001003
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Net::Cmd 2.26
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Net::DNS 0.59
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Net::SMTP 2.29
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Net::Server 0.94
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Razor2::Client::Version 2.77
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Time::HiRes 1.86
    Oct 29 21:45:37 ridersnet amavis[2256]: Module Unix::Syslog 0.100
    Oct 29 21:45:37 ridersnet amavis[2256]: Amavis::DB code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: Amavis::Cache code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: SQL base code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: SQL::Log code NOT loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: SQL::Quarantine NOT loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: Lookup::SQL code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: Lookup::LDAP code NOT loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: AM.PDP-in proto code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: SMTP-in proto code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: Courier proto code NOT loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: SMTP-out proto code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: Pipe-out proto code NOT loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: BSMTP-out proto code NOT loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: Local-out proto code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: OS_Fingerprint code NOT loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: ANTI-VIRUS code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: ANTI-SPAM code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: ANTI-SPAM-SA code loaded
    Oct 29 21:45:37 ridersnet amavis[2256]: Unpackers code loaded
    Oct 29 21:45:38 ridersnet amavis[2256]: Found $file at /usr/bin/file
    Oct 29 21:45:38 ridersnet amavis[2256]: No $dspam, not using it

    Continues next posting....
     
  4. kwinnuxbie

    kwinnuxbie New Member

    ................AND
    Oct 29 21:45:38 ridersnet amavis[2256]: Internal decoder for .mail
    Oct 29 21:45:38 ridersnet amavis[2256]: Internal decoder for .asc
    Oct 29 21:45:38 ridersnet amavis[2256]: Internal decoder for .uue
    Oct 29 21:45:38 ridersnet amavis[2256]: Internal decoder for .hqx
    Oct 29 21:45:38 ridersnet amavis[2256]: Internal decoder for .ync
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .F at /usr/bin/unfreeze
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .Z at /usr/bin/gzip -d
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .gz at /usr/bin/gzip -d
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .bz2 at /usr/bin/bzip2 -d
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .lzo at /usr/bin/lzop -d
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .rpm at /usr/bin/rpm2cpio
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .cpio at /usr/bin/pax
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .tar at /usr/bin/pax
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .deb at /usr/bin/ar
    Oct 29 21:45:38 ridersnet amavis[2256]: Internal decoder for .zip
    Oct 29 21:45:38 ridersnet amavis[2256]: No decoder for .rar tried: rar, unrar
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .arj at /usr/bin/arj
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .arc at /usr/bin/nomarch
    Oct 29 21:45:38 ridersnet amavis[2256]: No decoder for .zoo tried: zoo, unzoo
    Oct 29 21:45:38 ridersnet amavis[2256]: No decoder for .lha tried: lha
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .cab at /usr/bin/cabextract
    Oct 29 21:45:38 ridersnet amavis[2256]: No decoder for .tnef tried: tnef
    Oct 29 21:45:38 ridersnet amavis[2256]: Internal decoder for .tnef
    Oct 29 21:45:38 ridersnet amavis[2256]: Found decoder for .exe at /usr/bin/arj
    Oct 29 21:45:38 ridersnet amavis[2256]: Using internal av scanner code for (primary) ClamAV-clamd
    Oct 29 21:45:38 ridersnet amavis[2256]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
    Oct 29 21:45:38 ridersnet amavis[2256]: Creating db in /var/spool/amavisd/db/; BerkeleyDB 0.27, libdb 4.3
    Oct 29 21:45:40 ridersnet postfix/postfix-script: starting the Postfix mail system
    Oct 29 21:45:40 ridersnet postfix/master[2339]: daemon started -- version 2.2.8, configuration /etc/postfix
    Oct 29 21:46:20 ridersnet imapd: Connection, ip=[::ffff:127.0.0.1]
    Oct 29 21:46:20 ridersnet imapd: LOGIN FAILED, user=sales, ip=[::ffff:127.0.0.1]
    Oct 29 21:46:25 ridersnet imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=42, sent=332
    Oct 29 21:46:27 ridersnet imapd: Connection, ip=[::ffff:127.0.0.1]
    Oct 29 21:46:27 ridersnet imapd: LOGIN FAILED, user=sales, ip=[::ffff:127.0.0.1]
    Oct 29 21:46:32 ridersnet imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=41, sent=332
    Oct 29 21:46:40 ridersnet imapd: Connection, ip=[::ffff:127.0.0.1]
    Oct 29 21:46:40 ridersnet imapd: LOGIN FAILED, user=kerwin, ip=[::ffff:127.0.0.1]
    Oct 29 21:46:45 ridersnet imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
    Oct 29 21:50:03 ridersnet imapd: Connection, ip=[::ffff:192.168.0.8]
    Oct 29 21:50:18 ridersnet imapd: Connection, ip=[::ffff:192.168.0.8]
    Oct 29 21:50:21 ridersnet imapd: LOGIN FAILED, user=kerwin, ip=[::ffff:192.168.0.8]
    Oct 29 21:50:44 ridersnet last message repeated 2 times
    Oct 29 21:50:51 ridersnet imapd: LOGOUT, ip=[::ffff:192.168.0.8], rcvd=120, sent=549
    Oct 29 21:50:51 ridersnet imapd: Connection, ip=[::ffff:192.168.0.8]
    Oct 29 21:50:52 ridersnet imapd: LOGOUT, ip=[::ffff:192.168.0.8], rcvd=34, sent=474
    Oct 29 21:50:52 ridersnet imapd: Connection, ip=[::ffff:192.168.0.8]
    Oct 29 21:50:53 ridersnet imapd: LOGOUT, ip=[::ffff:192.168.0.8], rcvd=34, sent=474
    Oct 29 21:51:10 ridersnet pop3d: Connection, ip=[::ffff:192.168.0.8]
    Oct 29 21:51:10 ridersnet pop3d: LOGOUT, ip=[::ffff:192.168.0.8]
    Oct 29 21:51:10 ridersnet pop3d: Disconnected, ip=[::ffff:192.168.0.8]
    Oct 29 21:51:14 ridersnet pop3d: Connection, ip=[::ffff:192.168.0.8]
    Oct 29 21:51:14 ridersnet pop3d: LOGIN FAILED, user=kerwin, ip=[::ffff:192.168.0.8]
    Oct 29 21:51:45 ridersnet pop3d: LOGIN FAILED, user=kerwin, ip=[::ffff:192.168.0.8]
    Oct 29 21:52:05 ridersnet pop3d: LOGOUT, ip=[::ffff:192.168.0.8]
    Oct 29 21:52:05 ridersnet pop3d: Disconnected, ip=[::ffff:192.168.0.8]
    Oct 29 21:52:18 ridersnet imapd: Connection, ip=[::ffff:192.168.0.8]
    Oct 29 21:52:20 ridersnet imapd: LOGOUT, ip=[::ffff:192.168.0.8], rcvd=34, sent=474
    Oct 29 21:56:52 ridersnet postfix/smtpd[3039]: connect from web56513.mail.re3.yahoo.com[66.196.97.42]
    Oct 29 21:56:52 ridersnet postfix/trivial-rewrite[3043]: warning: do not list domain ridersnet.com in BOTH mydestination and virtual_mailbox_domains
    Oct 29 21:56:53 ridersnet postfix/smtpd[3039]: 75AB5246E33: client=web56513.mail.re3.yahoo.com[66.196.97.42]
    Oct 29 21:56:53 ridersnet postfix/cleanup[3048]: 75AB5246E33: message-id=<[email protected]>
    Oct 29 21:56:53 ridersnet postfix/smtpd[3039]: disconnect from web56513.mail.re3.yahoo.com[66.196.97.42]
    Oct 29 21:57:21 ridersnet imapd: Connection, ip=[::ffff:127.0.0.1]
    Oct 29 21:57:21 ridersnet imapd: LOGIN FAILED, user=kerwin, ip=[::ffff:127.0.0.1]
    Oct 29 21:57:26 ridersnet imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
    Oct 29 21:57:34 ridersnet imapd: Connection, ip=[::ffff:127.0.0.1]
    Oct 29 21:57:34 ridersnet imapd: LOGIN FAILED, user=kerwin, ip=[::ffff:127.0.0.1]
    Oct 29 21:57:39 ridersnet imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=43, sent=332
    Oct 29 21:57:47 ridersnet postfix/smtpd[3039]: connect from web56504.mail.re3.yahoo.com[66.196.97.33]
    Oct 29 21:57:48 ridersnet postfix/trivial-rewrite[3043]: warning: do not list domain ridersnet.com in BOTH mydestination and virtual_mailbox_domains
    Oct 29 21:57:49 ridersnet postfix/smtpd[3039]: 2F81D246E34: client=web56504.mail.re3.yahoo.com[66.196.97.33]
    Oct 29 21:57:49 ridersnet postfix/cleanup[3048]: 2F81D246E34: message-id=<[email protected]>
    Oct 29 21:57:49 ridersnet postfix/smtpd[3039]: disconnect from web56504.mail.re3.yahoo.com[66.196.97.33]
    Oct 29 21:58:54 ridersnet imapd: Connection, ip=[::ffff:127.0.0.1]
    Oct 29 21:58:54 ridersnet imapd: LOGIN FAILED, user=sales, ip=[::ffff:127.0.0.1]
    Oct 29 21:58:59 ridersnet imapd: LOGOUT, ip=[::ffff:127.0.0.1], rcvd=41, sent=332
    Oct 29 22:01:09 ridersnet postfix/anvil[3042]: statistics: max connection rate 1/60s for (smtp:66.196.97.42) at Oct 29 21:56:52
    Oct 29 22:01:09 ridersnet postfix/anvil[3042]: statistics: max connection count 1 for (smtp:66.196.97.42) at Oct 29 21:56:52
    Oct 29 22:01:09 ridersnet postfix/anvil[3042]: statistics: max cache size 2 at Oct 29 21:57:47
    Oct 29 22:25:15 ridersnet postfix/smtpd[3240]: connect from unknown[218.232.172.137]
    Oct 29 22:25:17 ridersnet postfix/smtpd[3240]: NOQUEUE: reject: RCPT from unknown[218.232.172.137]: 554 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<pwgsc.gc.ca>
    Oct 29 22:25:17 ridersnet postfix/smtpd[3240]: lost connection after RCPT from unknown[218.232.172.137]
    Oct 29 22:25:17 ridersnet postfix/smtpd[3240]: disconnect from unknown[218.232.172.137]
    Oct 29 22:28:37 ridersnet postfix/anvil[3242]: statistics: max connection rate 1/60s for (smtp:218.232.172.137) at Oct 29 22:25:15
    Oct 29 22:28:37 ridersnet postfix/anvil[3242]: statistics: max connection count 1 for (smtp:218.232.172.137) at Oct 29 22:25:15
    Oct 29 22:28:37 ridersnet postfix/anvil[3242]: statistics: max cache size 1 at Oct 29 22:25:15
    Oct 29 23:54:38 ridersnet postfix/smtpd[3606]: connect from TC222-156-4-73.adsl.dynamic.apol.com.tw[222.156.4.73]
    Oct 29 23:54:39 ridersnet postfix/smtpd[3606]: NOQUEUE: reject: RCPT from TC222-156-4-73.adsl.dynamic.apol.com.tw[222.156.4.73]: 554 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<none>
    Oct 29 23:54:39 ridersnet postfix/smtpd[3606]: disconnect from TC222-156-4-73.adsl.dynamic.apol.com.tw[222.156.4.73]
    Oct 29 23:57:59 ridersnet postfix/anvil[3608]: statistics: max connection rate 1/60s for (smtp:222.156.4.73) at Oct 29 23:54:38
    Oct 29 23:57:59 ridersnet postfix/anvil[3608]: statistics: max connection count 1 for (smtp:222.156.4.73) at Oct 29 23:54:38
    Oct 29 23:57:59 ridersnet postfix/anvil[3608]: statistics: max cache size 1 at Oct 29 23:54:38
     
  5. falko

    falko Super Moderator ISPConfig Developer

    It's the same file. /etc/init.d/courier-authlib is a symlink to /etc/rc.d/init.d/courier-authlib, so this is no problem.
    Is SELinux disabled on your system?

    What's in /usr/lib/sasl2/smtpd.conf?
    What's in /etc/authlib/authdaemonrc and /etc/authlib/authmysqlrc?
     
  6. kwinnuxbie

    kwinnuxbie New Member

    Well I moved on to Centos. Almost all is good. I just need to tweak things around to my likings. I will ask questions later on. I have not aboned the FC5 install. I have to set it up at work too. But for my site and my home I decided on Centos and by the way, thanks for the HT on that.

    Well I will soon pickup again on FC5 etc.. Need the mail server badly at work :)

    Thanks
     

Share This Page