HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual Users And Domains With Postfix, Courier And MySQL (Fedora 8) (http://www.howtoforge.com/forums/showthread.php?t=24758)

sparky121167 4th July 2008 12:30

Virtual Users And Domains With Postfix, Courier And MySQL (Fedora 8)
 
Howdy, I have attempted this install 4 times with the same end result..

There was a problem logging onto your mail server. Your Password was rejected. Account: 'mail.not-telling-yet.com', Server: 'mail.not-telling-yet.com', Protocol: POP3, Server Response: '-ERR Login failed.', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC92

I can send Email to the sales@not-telling-yet.com with no errors a vmail entry shows for sales.

In the myphpadmin when I encrypt the password "secret" again ,it encrypts to a different encrypted text like "RkkcZJCv.iEeI", if I input it again it encrpts again to a different text like "4.3s6xAItyVbQ". Is this right?

To any proven helper here I am happy to allow shell and phpmyadmin to poke around my setup to find the problem, as a complete re-install and change of my final passwords is likely in any case.

Please let me know if you require any log etc. (and the command to generate)

falko 5th July 2008 08:41

Quote:

Originally Posted by sparky121167 (Post 134154)
There was a problem logging onto your mail server. Your Password was rejected. Account: 'mail.not-telling-yet.com', Server: 'mail.not-telling-yet.com', Protocol: POP3, Server Response: '-ERR Login failed.', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC92

Did you send an email first to that account before you tried to fetch mails?

Quote:

Originally Posted by sparky121167 (Post 134154)
In the myphpadmin when I encrypt the password "secret" again ,it encrypts to a different encrypted text like "RkkcZJCv.iEeI", if I input it again it encrpts again to a different text like "4.3s6xAItyVbQ". Is this right?

Yes.

Are there any errors in your mail log?

sparky121167 6th July 2008 02:53

Thankyou.
 
Yes, I read that in a post on the forums. I have no errors sending to the account.

[root@server1 /]# cd home
[root@server1 home]# cd vmail
[root@server1 vmail]# cd not-telling-yet.com
[root@server1 not-telling-yet.com]# cd sales
[root@server1 sales]# cd new
[root@server1 new]# ls
1214693028.Vfd00I3ae8e8M852508.server1.not-telling-yet.com 1215338299.Vfd00I3ae8ebM182519.server1.not-telling-yet.com

Jul 6 20:41:40 server1 clamd[2011]: clamd daemon 0.92.1 (OS: linux-gnu, ARCH: i386, CPU: i386)
Jul 6 20:41:40 server1 clamd[2011]: Running as user amavis (UID 494, GID 490)
Jul 6 20:41:40 server1 clamd[2011]: Log file size limited to 1048576 bytes.
Jul 6 20:41:40 server1 clamd[2011]: Reading databases from /var/lib/clamav
Jul 6 20:41:40 server1 clamd[2011]: Not loading PUA signatures.
Jul 6 20:41:45 server1 amavis[2018]: starting. /usr/sbin/amavisd at server1.not-telling-yet.com amavisd-new-2.5.2 (20070627), Unicode aware, LANG="en_US.UTF-8"
Jul 6 20:41:45 server1 amavis[2018]: Perl version 5.008008
Jul 6 20:41:47 server1 clamd[2011]: Loaded 341250 signatures.
Jul 6 20:41:47 server1 clamd[2011]: Unix socket file /var/spool/amavisd/clamd.sock
Jul 6 20:41:47 server1 clamd[2011]: Setting connection queue length to 15
Jul 6 20:41:47 server1 clamd[2011]: Archive: Archived file size limit set to 10485760 bytes.
Jul 6 20:41:47 server1 clamd[2011]: Archive: Recursion level limit set to 8.
Jul 6 20:41:47 server1 clamd[2011]: Archive: Files limit set to 1000.
Jul 6 20:41:47 server1 clamd[2011]: Archive: Compression ratio limit set to 250.
Jul 6 20:41:47 server1 clamd[2011]: Archive support enabled.
Jul 6 20:41:47 server1 clamd[2011]: Algorithmic detection enabled.
Jul 6 20:41:47 server1 clamd[2011]: Portable Executable support enabled.
Jul 6 20:41:47 server1 clamd[2011]: ELF support enabled.
Jul 6 20:41:47 server1 clamd[2011]: Mail files support enabled.
Jul 6 20:41:47 server1 clamd[2011]: Mail: Recursion level limit set to 64.
Jul 6 20:41:47 server1 clamd[2011]: OLE2 support enabled.
Jul 6 20:41:47 server1 clamd[2011]: PDF support disabled.
Jul 6 20:41:47 server1 clamd[2011]: HTML support enabled.
Jul 6 20:41:47 server1 clamd[2011]: Self checking every 1800 seconds.
Jul 6 20:41:47 server1 amavis[2019]: Module Amavis::Conf 2.091
Jul 6 20:41:47 server1 amavis[2019]: Module Archive::Zip 1.20
Jul 6 20:41:47 server1 amavis[2019]: Module BerkeleyDB 0.32
Jul 6 20:41:47 server1 amavis[2019]: Module Compress::Zlib 2.005
Jul 6 20:41:47 server1 amavis[2019]: Module Convert::TNEF 0.17
Jul 6 20:41:47 server1 amavis[2019]: Module Convert::UUlib 1.09
Jul 6 20:41:47 server1 amavis[2019]: Module DBD::mysql 4.005
Jul 6 20:41:47 server1 amavis[2019]: Module DBI 1.58
Jul 6 20:41:47 server1 amavis[2019]: Module DB_File 1.815
Jul 6 20:41:47 server1 amavis[2019]: Module Digest::MD5 2.36
Jul 6 20:41:47 server1 amavis[2019]: Module Digest::SHA1 2.11
Jul 6 20:41:47 server1 amavis[2019]: Module IO::Socket::INET6 2.51
Jul 6 20:41:47 server1 amavis[2019]: Module MIME::Entity 5.420
Jul 6 20:41:47 server1 amavis[2019]: Module MIME::Parser 5.420
Jul 6 20:41:47 server1 amavis[2019]: Module MIME::Tools 5.420
Jul 6 20:41:47 server1 amavis[2019]: Module Mail::Header 1.77
Jul 6 20:41:47 server1 amavis[2019]: Module Mail::Internet 1.77
Jul 6 20:41:47 server1 amavis[2019]: Module Mail::SPF v2.005

Jul 6 20:41:47 server1 amavis[2019]: Module Mail::Internet 1.77
Jul 6 20:41:47 server1 amavis[2019]: Module Mail::SPF v2.005
Jul 6 20:41:47 server1 amavis[2019]: Module Mail::SpamAssassin 3.002004
Jul 6 20:41:47 server1 amavis[2019]: Module Net::DNS 0.61
Jul 6 20:41:47 server1 amavis[2019]: Module Net::Server 0.97
Jul 6 20:41:47 server1 amavis[2019]: Module NetAddr::IP 4.004
Jul 6 20:41:47 server1 amavis[2019]: Module Razor2::Client::Version 2.84
Jul 6 20:41:47 server1 amavis[2019]: Module Time::HiRes 1.86
Jul 6 20:41:47 server1 amavis[2019]: Module URI 1.35
Jul 6 20:41:47 server1 amavis[2019]: Module Unix::Syslog 1.0
Jul 6 20:41:47 server1 amavis[2019]: Amavis::DB code loaded
Jul 6 20:41:47 server1 amavis[2019]: Amavis::Cache code loaded
Jul 6 20:41:47 server1 amavis[2019]: SQL base code loaded
Jul 6 20:41:47 server1 amavis[2019]: SQL::Log code NOT loaded
Jul 6 20:41:47 server1 amavis[2019]: SQL::Quarantine NOT loaded
Jul 6 20:41:47 server1 amavis[2019]: Lookup::SQL code loaded
Jul 6 20:41:47 server1 amavis[2019]: Lookup::LDAP code NOT loaded
Jul 6 20:41:47 server1 amavis[2019]: AM.PDP-in proto code loaded
Jul 6 20:41:47 server1 amavis[2019]: SMTP-in proto code loaded
Jul 6 20:41:47 server1 amavis[2019]: Courier proto code NOT loaded
Jul 6 20:41:47 server1 amavis[2019]: SMTP-out proto code loaded
Jul 6 20:41:47 server1 amavis[2019]: Pipe-out proto code NOT loaded
Jul 6 20:41:47 server1 amavis[2019]: BSMTP-out proto code NOT loaded
Jul 6 20:41:47 server1 amavis[2019]: Local-out proto code loaded
Jul 6 20:41:47 server1 amavis[2019]: OS_Fingerprint code NOT loaded
Jul 6 20:41:47 server1 amavis[2019]: ANTI-VIRUS code loaded
Jul 6 20:41:47 server1 amavis[2019]: ANTI-SPAM code loaded
Jul 6 20:41:47 server1 amavis[2019]: ANTI-SPAM-SA code loaded
Jul 6 20:41:47 server1 amavis[2019]: Unpackers code loaded
Jul 6 20:41:47 server1 amavis[2019]: Found $file at /usr/bin/file
Jul 6 20:41:47 server1 amavis[2019]: No $dspam, not using it
Jul 6 20:41:47 server1 amavis[2019]: Found $altermime at /usr/bin/altermime
Jul 6 20:41:47 server1 amavis[2019]: Internal decoder for .mail
Jul 6 20:41:47 server1 amavis[2019]: Internal decoder for .asc
Jul 6 20:41:47 server1 amavis[2019]: Internal decoder for .uue
Jul 6 20:41:47 server1 amavis[2019]: Internal decoder for .hqx
Jul 6 20:41:47 server1 amavis[2019]: Internal decoder for .ync
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .F at /usr/bin/unfreeze
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .Z at /usr/bin/gzip -d
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .gz at /usr/bin/gzip -d
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .bz2 at /usr/bin/bzip2 -d
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .lzo at /usr/bin/lzop -d
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .rpm at /usr/bin/rpm2cpio
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .lzo at /usr/bin/lzop -d
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .rpm at /usr/bin/rpm2cpio
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .cpio at /usr/bin/pax
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .tar at /usr/bin/pax
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .deb at /usr/bin/ar
Jul 6 20:41:47 server1 amavis[2019]: Internal decoder for .zip
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .7z at /usr/bin/7za
Jul 6 20:41:47 server1 amavis[2019]: No decoder for .rar tried: rar, unrar
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .arj at /usr/bin/arj
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .arc at /usr/bin/nomarch
Jul 6 20:41:47 server1 amavis[2019]: No decoder for .zoo tried: zoo, unzoo
Jul 6 20:41:47 server1 amavis[2019]: No decoder for .lha tried: lha
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .cab at /usr/bin/cabextract
Jul 6 20:41:47 server1 amavis[2019]: No decoder for .tnef tried: tnef
Jul 6 20:41:47 server1 amavis[2019]: Internal decoder for .tnef
Jul 6 20:41:47 server1 amavis[2019]: Found decoder for .exe at /usr/bin/arj
Jul 6 20:41:47 server1 amavis[2019]: Using primary internal av scanner code for ClamAV-clamd
Jul 6 20:41:47 server1 amavis[2019]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Jul 6 20:41:47 server1 amavis[2019]: Creating db in /var/spool/amavisd/db/; BerkeleyDB 0.32, libdb 4.5
Jul 6 20:41:48 server1 sendmail[2057]: alias database /etc/aliases rebuilt by root
Jul 6 20:41:48 server1 sendmail[2057]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jul 6 20:41:49 server1 postfix/postfix-script[2102]: starting the Postfix mail system
Jul 6 20:41:49 server1 postfix/master[2103]: daemon started -- version 2.4.5, configuration /etc/postfix
Jul 6 20:48:00 server1 postfix/smtpd[2395]: connect from unknown[192.168.1.1]
Jul 6 20:48:00 server1 postfix/smtpd[2395]: 4D62D54D761: client=unknown[192.168.1.1]
Jul 6 20:48:00 server1 postfix/cleanup[2404]: 4D62D54D761: message-id=<002901c8df00$195034e0$0301a8c0@xp>
Jul 6 20:48:00 server1 postfix/qmgr[2110]: 4D62D54D761: from=<sales@not-telling-yet.com>, size=1386, nrcpt=1 (queue active)
Jul 6 20:48:00 server1 postfix/smtpd[2395]: disconnect from unknown[192.168.1.1]
Jul 6 20:48:08 server1 pop3d: Connection, ip=[::ffff:192.168.1.1]
Jul 6 20:48:08 server1 pop3d: LOGIN FAILED, user=sales, ip=[::ffff:192.168.1.1]
Jul 6 20:48:09 server1 postfix/smtpd[2413]: connect from unknown[127.0.0.1]
Jul 6 10:48:09 server1 postfix/smtpd[2413]: 2937154D76B: client=unknown[127.0.0.1]
Jul 6 20:48:09 server1 postfix/cleanup[2404]: 2937154D76B: message-id=<002901c8df00$195034e0$0301a8c0@xp>
Jul 6 20:48:09 server1 postfix/qmgr[2110]: 2937154D76B: from=<sales@not-telling-yet.com>, size=2060, nrcpt=1 (queue active)
Jul 6 10:48:09 server1 postfix/smtpd[2413]: disconnect from unknown[127.0.0.1]
Jul 6 20:48:09 server1 amavis[2350]: (02350-01) Passed CLEAN, MYNETS LOCAL [192.168.1.1] [192.168.1.1] <sales@not-telling-yet.com> -> <sales@not-telling-yet.com>, Message-ID: <002901c8df00$195034e0$0301a8c0@xp>, mail_id: 74iXkVpncCsS, Hits: 2.165, size: 1386, queued_as: 2937154D76B, 8823 ms
Jul 6 20:48:09 server1 postfix/smtp[2405]: 4D62D54D761: to=<sales@not-telling-yet.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.9, delays=0.07/0.04/0.01/8.8, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 2937154D76B)
Jul 6 20:48:09 server1 postfix/qmgr[2110]: 4D62D54D761: removed
Jul 6 20:48:09 server1 postfix/virtual[2420]: 2937154D76B: to=<sales@not-telling-yet.com>, relay=virtual, delay=0.13, delays=0.01/0.06/0/0.05, dsn=2.0.0, status=sent (delivered to maildir)
Jul 6 20:48:09 server1 postfix/qmgr[2110]: 2937154D76B: removed
Jul 6 20:48:13 server1 pop3d: Disconnected, ip=[::ffff:192.168.1.1]
Jul 6 20:51:20 server1 postfix/anvil[2398]: statistics: max connection rate 1/60s for (smtp:192.168.1.1) at Jul 6 20:48:00
Jul 6 20:51:20 server1 postfix/anvil[2398]: statistics: max connection count 1 for (smtp:192.168.1.1) at Jul 6 20:48:00
Jul 6 20:51:20 server1 postfix/anvil[2398]: statistics: max cache size 1 at Jul 6 20:48:00


Thankyou for any help you might be. I am only new to linux and had Ispconfig working with mail, am looking forward to the new version supporting Fedora.

falko 6th July 2008 12:27

Quote:

Jul 6 20:48:08 server1 pop3d: Connection, ip=[::ffff:192.168.1.1]
Jul 6 20:48:08 server1 pop3d: LOGIN FAILED, user=sales, ip=[::ffff:192.168.1.1]
You're using pop3d instead of Courier - that's the problem.

sparky121167 9th July 2008 12:21

Ah Thankyou so far.
 
Thankyou


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 2231/amavisd (maste
tcp 0 0 localhost.localdomain:10025 *:* LISTEN 2315/master
tcp 0 0 *:mysql *:* LISTEN 2201/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 1897/rpcbind
tcp 0 0 localhost.localdomain:ipp *:* LISTEN 2454/cupsd
tcp 0 0 *:smtp *:* LISTEN 2315/master
tcp 0 0 *:39836 *:* LISTEN 1916/rpc.statd
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:55540 ESTABLISHED 2201/mysqld
tcp 0 0 localhost.localdomain:55540 localhost.localdomain:mysql ESTABLISHED 2566/amavisd (ch1-a
tcp 0 0 localhost.localdomain:34442 localhost.localdomain:mysql ESTABLISHED 2565/amavisd (ch2-a
tcp 0 0 localhost.localdomain:mysql localhost.localdomain:34442 ESTABLISHED 2201/mysqld
tcp 0 0 *:imaps *:* LISTEN 2249/couriertcpd
tcp 0 0 *:pop3s *:* LISTEN 2261/couriertcpd
tcp 0 0 *:pop3 *:* LISTEN 2255/couriertcpd
tcp 0 0 *:imap *:* LISTEN 2242/couriertcpd
tcp 0 0 *:http *:* LISTEN 2333/httpd
tcp 0 0 *:ssh *:* LISTEN 2113/sshd
tcp 0 0 *:https *:* LISTEN 2333/httpd


I'm sorry Falko I'm still new to all this and have googled "pop3d" to disable what I assume is a duplicate service to Courier but have found very little to help me.

Could you kindly explain the issue in more basic term to me and how to fix it? Am I accessing the email the right way?
More importantly is where I might be going wrong in the tutorial so I can make a note not to do it again when I have to reinstall (I learn as I go, lots of reinstalls as I break things.)

Thankyou for your help so far.

falko 10th July 2008 14:43

Visit the tutorial again. It explains how to install Courier. This should disable pop3d.


All times are GMT +2. The time now is 12:30.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.