Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th February 2013, 16:33
estebanmora estebanmora is offline
Junior Member
 
Join Date: May 2009
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Unhappy No SASL authentication mechanisms using Ubuntu 20.04 + ISPConfig 3 + Dovecot

Hi,

I followed step by step the guide "The Perfect Server - Ubuntu 12.04 LTS (Apache2, BIND, Dovecot, ISPConfig 3)" to setup a new server. I works fine but I have problems with email.

The Monitor says:

Web-Server: Online
FTP-Server: Online
SMTP-Server: Online
POP3-Server: Offline
IMAP-Server: Offline
DNS-Server: Online
mySQL-Server: Online

The Mail log says a lot of times:

Feb 15 08:20:11 ubuntu postfix/smtpd[4576]: fatal: no SASL authentication mechanisms

Searched for other posts in the forum and I have no solution yet. Anyone can help me?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 15th February 2013, 17:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

Please start dovecot.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
AbannyvabVask (20th December 2013)
  #3  
Old 15th February 2013, 17:05
estebanmora estebanmora is offline
Junior Member
 
Join Date: May 2009
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Unhappy

Read that somewhere in another post. Did it and the same mistake. There has to be a mistake in the guide.
Reply With Quote
  #4  
Old 15th February 2013, 17:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default

There is no mistake in the guide, I've installed a VM for a client today by using this guide and did a strict copy & paste of all commands and my setup works.

Which error do you get in /var/log/mail.log when yu restart dovecot.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 15th February 2013, 18:41
estebanmora estebanmora is offline
Junior Member
 
Join Date: May 2009
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Unhappy

root@ubuntu:/var/log# service dovecot start
dovecot start/running, process 2586

The last entries of mail.log:

Feb 15 10:33:08 ubuntu postfix/qmgr[1816]: EAB301C009B: from=<root@ubuntu.laboratoriosacme.com>, size=653, nrcpt=1 (queue active)
Feb 15 10:33:11 ubuntu postfix/smtpd[2440]: connect from localhost.localdomain[127.0.0.1]
Feb 15 10:33:11 ubuntu postfix/smtpd[2440]: warning: SASL: Connect to private/auth failed: No such file or directory
Feb 15 10:33:11 ubuntu postfix/smtpd[2440]: fatal: no SASL authentication mechanisms
Feb 15 10:33:12 ubuntu amavis[1363]: (01363-02) (!)FWD via SMTP: <root@ubuntu.laboratoriosacme.com> -> <actividad@ebmechanics.co.cr>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting:$
Feb 15 10:33:12 ubuntu postfix/master[1809]: warning: process /usr/lib/postfix/smtpd pid 2440 exit status 1
Feb 15 10:33:12 ubuntu postfix/master[1809]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Feb 15 10:33:12 ubuntu amavis[1363]: (01363-02) Blocked MTA-BLOCKED, <root@ubuntu.laboratoriosacme.com> -> <actividad@ebmechanics.co.cr>, Message-ID: <20130215114252.EAB301C009B@ubuntu.laboratoriosacm e.com>, ma$
Feb 15 10:33:12 ubuntu postfix/smtp[2437]: EAB301C009B: to=<actividad@ebmechanics.co.cr>, relay=127.0.0.1[127.0.0.1]:10024, delay=17419, delays=17416/0.02/0/3.4, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0$
Feb 15 10:35:02 ubuntu postfix/smtpd[2498]: connect from localhost.localdomain[127.0.0.1]
Feb 15 10:35:02 ubuntu postfix/smtpd[2498]: warning: SASL: Connect to private/auth failed: No such file or directory
Feb 15 10:35:02 ubuntu postfix/smtpd[2498]: fatal: no SASL authentication mechanisms
Feb 15 10:35:03 ubuntu postfix/master[1809]: warning: process /usr/lib/postfix/smtpd pid 2498 exit status 1
Feb 15 10:35:03 ubuntu postfix/master[1809]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Feb 15 10:38:08 ubuntu postfix/qmgr[1816]: 9F09B1C0F42: from=<web2@ubuntu.laboratoriosacme.com>, size=471, nrcpt=1 (queue active)
Feb 15 10:38:08 ubuntu postfix/qmgr[1816]: 558531C00A1: from=<web2@ubuntu.laboratoriosacme.com>, size=658, nrcpt=1 (queue active)
Feb 15 10:38:08 ubuntu postfix/qmgr[1816]: 468141C0F8E: from=<web2@ubuntu.laboratoriosacme.com>, size=471, nrcpt=1 (queue active)
Feb 15 10:38:10 ubuntu postfix/smtpd[2575]: connect from localhost.localdomain[127.0.0.1]
Feb 15 10:38:10 ubuntu postfix/smtpd[2575]: warning: SASL: Connect to private/auth failed: No such file or directory
Feb 15 10:38:10 ubuntu postfix/smtpd[2575]: fatal: no SASL authentication mechanisms
Feb 15 10:38:11 ubuntu amavis[1363]: (01363-03) (!)FWD via SMTP: <web2@ubuntu.laboratoriosacme.com> -> <actividad@ebmechanics.co.cr>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting:$
Feb 15 10:38:11 ubuntu postfix/master[1809]: warning: process /usr/lib/postfix/smtpd pid 2575 exit status 1
Feb 15 10:38:11 ubuntu postfix/master[1809]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Feb 15 10:38:11 ubuntu amavis[1363]: (01363-03) Blocked MTA-BLOCKED, <web2@ubuntu.laboratoriosacme.com> -> <actividad@ebmechanics.co.cr>, Message-ID: <20130215140855.558531C00A1@ubuntu.laboratoriosacm e.com>, ma$
Feb 15 10:38:11 ubuntu postfix/smtp[2571]: 558531C00A1: to=<actividad@ebmechanics.co.cr>, relay=127.0.0.1[127.0.0.1]:10024, delay=8957, delays=8953/0.03/0/3.3, dsn=4.5.0, status=deferred (host 127.0.0.1[127.0.0$
Feb 15 10:38:48 ubuntu amavis[1363]: (01363-04) (!)rw_loop: leaving rw loop, no progress, last event (select) 35.035 s ago
Feb 15 10:38:48 ubuntu amavis[1363]: (01363-04) (!)FWD via SMTP: <web2@ubuntu.laboratoriosacme.com> -> <actividad@webmechanics.co.cr>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting$
Feb 15 10:38:48 ubuntu amavis[1363]: (01363-04) Blocked MTA-BLOCKED, <web2@ubuntu.laboratoriosacme.com> -> <actividad@webmechanics.co.cr>, Message-ID: <20130215115009.468141C0F8E@ubuntu.laboratoriosacm e.com>, m$
Feb 15 10:38:48 ubuntu postfix/smtp[2571]: 468141C0F8E: to=<actividad@webmechanics.co.cr>, relay=127.0.0.1[127.0.0.1]:10024, delay=17320, delays=17279/3.4/0.02/37, dsn=4.5.0, status=deferred (host 127.0.0.1[127$
Feb 15 10:38:55 ubuntu amavis[1364]: (01364-02) (!)rw_loop: leaving rw loop, no progress, last event (select) 35.035 s ago
Feb 15 10:38:55 ubuntu amavis[1364]: (01364-02) (!)FWD via SMTP: <web2@ubuntu.laboratoriosacme.com> -> <actividad@webmechanics.co.cr>, 451 4.5.0 From MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting$
Feb 15 10:38:55 ubuntu amavis[1364]: (01364-02) Blocked MTA-BLOCKED, <web2@ubuntu.laboratoriosacme.com> -> <actividad@webmechanics.co.cr>, Message-ID: <20130215161918.9F09B1C0F42@ubuntu.laboratoriosacm e.com>, m$
Feb 15 10:38:55 ubuntu postfix/smtp[2570]: 9F09B1C0F42: to=<actividad@webmechanics.co.cr>, relay=127.0.0.1[127.0.0.1]:10024, delay=1177, delays=1130/0.01/0.01/47, dsn=4.5.0, status=deferred (host 127.0.0.1[127.$
Feb 15 10:38:55 ubuntu amavis[1363]: (01363-04) (!)rw_loop: leaving rw loop, no progress, last event (select) 5.005 s ago
Reply With Quote
  #6  
Old 15th February 2013, 19:28
estebanmora estebanmora is offline
Junior Member
 
Join Date: May 2009
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Unhappy

Deleted the mail.log file and rebooted the system. Here you have the new mail.log file. The system tries to send a mail message when the cron jobs finish:

Feb 15 10:50:01 ubuntu amavis[1016]: starting. /usr/sbin/amavisd-new at ubuntu.laboratoriosacme.com amavisd-new-2.6.5 (20110407), Unicode aware
Feb 15 10:50:01 ubuntu amavis[1016]: Perl version 5.014002
Feb 15 10:50:02 ubuntu amavis[1092]: Net::Server: Group Not Defined. Defaulting to EGID '120 120'
Feb 15 10:50:02 ubuntu amavis[1092]: Net::Server: User Not Defined. Defaulting to EUID '112'
Feb 15 10:50:02 ubuntu amavis[1092]: Module Amavis::Conf 2.208
Feb 15 10:50:02 ubuntu amavis[1092]: Module Archive::Zip 1.30
Feb 15 10:50:02 ubuntu amavis[1092]: Module BerkeleyDB 0.49
Feb 15 10:50:02 ubuntu amavis[1092]: Module Compress::Zlib 2.033
Feb 15 10:50:02 ubuntu amavis[1092]: Module Convert::TNEF 0.17
Feb 15 10:50:02 ubuntu amavis[1092]: Module Convert::UUlib 1.4
Feb 15 10:50:02 ubuntu amavis[1092]: Module Crypt::OpenSSL::RSA 0.27
Feb 15 10:50:02 ubuntu amavis[1092]: Module DBD::mysql 4.020
Feb 15 10:50:02 ubuntu amavis[1092]: Module DBI 1.616
Feb 15 10:50:02 ubuntu amavis[1092]: Module DB_File 1.821
Feb 15 10:50:02 ubuntu amavis[1092]: Module Digest::MD5 2.51
Feb 15 10:50:02 ubuntu amavis[1092]: Module Digest::SHA 5.61
Feb 15 10:50:02 ubuntu amavis[1092]: Module IO::Socket::INET6 2.69
Feb 15 10:50:02 ubuntu amavis[1092]: Module MIME::Entity 5.502
Feb 15 10:50:02 ubuntu amavis[1092]: Module MIME::Parser 5.502
Feb 15 10:50:02 ubuntu amavis[1092]: Module MIME::Tools 5.502
Feb 15 10:50:02 ubuntu amavis[1092]: Module Mail:KIM::Signer 0.39
Feb 15 10:50:02 ubuntu amavis[1092]: Module Mail:KIM::Verifier 0.39
Feb 15 10:50:02 ubuntu amavis[1092]: Module Mail::Header 2.08
Feb 15 10:50:02 ubuntu amavis[1092]: Module Mail::Internet 2.08
Feb 15 10:50:02 ubuntu amavis[1092]: Module Mail::SPF v2.008
Feb 15 10:50:02 ubuntu amavis[1092]: Module Mail::SpamAssassin 3.003002
Feb 15 10:50:02 ubuntu amavis[1092]: Module Net:NS 0.66
Feb 15 10:50:02 ubuntu amavis[1092]: Module Net::Server 0.99
Feb 15 10:50:02 ubuntu amavis[1092]: Module NetAddr::IP 4.058
Feb 15 10:50:02 ubuntu amavis[1092]: Module Socket6 0.23
Feb 15 10:50:02 ubuntu amavis[1092]: Module Time::HiRes 1.972101
Feb 15 10:50:02 ubuntu amavis[1092]: Module URI 1.59
Feb 15 10:50:02 ubuntu amavis[1092]: Module Unix::Syslog 1.1
Feb 15 10:50:02 ubuntu amavis[1092]: Amavis:B code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: Amavis::Cache code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: SQL base code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: SQL::Log code NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: SQL::Quarantine NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: Lookup::SQL code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: Lookup::LDAP code NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: AM.PDP-in proto code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: SMTP-in proto code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: Courier proto code NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: SMTP-out proto code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: Pipe-out proto code NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: BSMTP-out proto code NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: Local-out proto code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: OS_Fingerprint code NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: ANTI-VIRUS code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: ANTI-SPAM code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: ANTI-SPAM-EXT code NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: ANTI-SPAM-C code NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: ANTI-SPAM-SA code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: Unpackers code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: DKIM code loaded
Feb 15 10:50:02 ubuntu amavis[1092]: Tools code NOT loaded
Feb 15 10:50:02 ubuntu amavis[1092]: Found $file at /usr/bin/file
Feb 15 10:50:02 ubuntu amavis[1092]: No $altermime, not using it
Feb 15 10:50:02 ubuntu amavis[1092]: Internal decoder for .mail
Feb 15 10:50:02 ubuntu amavis[1092]: No decoder for .F
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .Z at /bin/uncompress
Feb 15 10:50:02 ubuntu amavis[1092]: Internal decoder for .gz
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .bz2 at /bin/bzip2 -d
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .lzo at /usr/bin/lzop -d
Feb 15 10:50:02 ubuntu amavis[1092]: No decoder for .rpm tried: rpm2cpio.pl, rpm2cpio
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .cpio at /bin/pax
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .tar at /bin/pax
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .deb at /usr/bin/ar
Feb 15 10:50:02 ubuntu amavis[1092]: Internal decoder for .zip
Feb 15 10:50:02 ubuntu amavis[1092]: No decoder for .7z tried: 7zr, 7za, 7z
Feb 15 10:50:02 ubuntu amavis[1092]: No decoder for .rar tried: unrar-free
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .arj at /usr/bin/arj
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .arc at /usr/bin/nomarch
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .zoo at /usr/bin/zoo
Feb 15 10:50:02 ubuntu amavis[1092]: No decoder for .lha
Feb 15 10:50:02 ubuntu amavis[1092]: No decoder for .doc tried: ripole
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .cab at /usr/bin/cabextract
Feb 15 10:50:02 ubuntu amavis[1092]: No decoder for .tnef
Feb 15 10:50:02 ubuntu amavis[1092]: Internal decoder for .tnef
Feb 15 10:50:02 ubuntu amavis[1092]: Found decoder for .exe at /usr/bin/arj
Feb 15 10:50:02 ubuntu amavis[1092]: Using primary internal av scanner code for ClamAV-clamd
Feb 15 10:50:02 ubuntu amavis[1092]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Feb 15 10:50:02 ubuntu amavis[1092]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.49, libdb 5.1
Feb 15 10:50:05 ubuntu postfix/postqueue[1373]: warning: Mail system is down -- accessing queue directly
Feb 15 10:50:22 ubuntu postfix/master[1819]: daemon started -- version 2.9.3, configuration /etc/postfix
Feb 15 10:52:22 ubuntu postfix[2201]: fatal: usage: postfix [-c config_dir] [-Dv] command

I'm repeating the setup on another computer just to verify if the steps described in the guide have a mistake.
Reply With Quote
  #7  
Old 16th February 2013, 15:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

http://www.howtoforge.com/postfix-do...e-or-directory
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
ubuntu ispconfig3 dovecot

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 03:29
Mail problem after upgrade to 3.0.2.1 The-Ghost Installation/Configuration 15 11th April 2010 16:37
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59
Ftp problems timeout reny2000 General 6 23rd December 2009 12:09
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 14:49


All times are GMT +2. The time now is 20:46.


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