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 2nd October 2009, 21:33
AlexRose AlexRose is offline
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
Default sendmail not workig

Hello,

i just installed ispconfig3 on centos 5.3(32 bits) and i'm trying to send emails from php but i get this error in /var/log/maillog

Quote:
Oct 2 22:42:01 descarca sendmail[31752]: n92Ig11k031752: Authentication-Warning: descarca.info: apache set sender to webmaster@force5.ro using -f
Oct 2 22:42:01 descarca sendmail[31752]: n92Ig11k031752: from=webmaster@force5.ro, size=705, class=0, nrcpts=1, msgid=<1254508921-Adresa de e-mail>, relay=apache@localhost
Oct 2 22:42:01 descarca postfix/smtpd[31756]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Oct 2 22:42:01 descarca postfix/smtpd[31756]: fatal: no SASL authentication mechanisms
Oct 2 22:42:02 descarca sendmail[31752]: n92Ig11k031752: to=alexrose@force5.ro, ctladdr=webmaster@force5.ro (48/48), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30705, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection reset by [127.0.0.1]
Oct 2 22:42:02 descarca postfix/master[22351]: warning: process /usr/libexec/postfix/smtpd pid 31756 exit status 1
Oct 2 22:42:02 descarca postfix/master[22351]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
any ideas?
thanks.

Alex
Reply With Quote
Sponsored Links
  #2  
Old 3rd October 2009, 16:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Did you use this guide to install the system (should work for 32bit with little to no modifications): http://www.howtoforge.com/perfect-se...64-ispconfig-3
__________________
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
  #3  
Old 4th October 2009, 22:25
AlexRose AlexRose is offline
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
Default

yes, of course. everything else works fine ..
Reply With Quote
  #4  
Old 5th October 2009, 11:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Please post the output of:

grep smtpd /etc/postfix/main.cf
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 6th October 2009, 10:26
AlexRose AlexRose is offline
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
Default

Code:
[root@descarca ~]# grep smtpd /etc/postfix/main.cf
# through Postfix.  See the smtpd_recipient_restrictions parameter
# relay mail to.  See the smtpd_recipient_restrictions description in
# The smtpd_banner parameter specifies the text that follows the 220
#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
[root@descarca ~]#
Reply With Quote
  #6  
Old 6th October 2009, 11:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Looks ok.

Please check if all required sasl modules are installed by running:

apt-get install libsasl2-modules libsasl2-modules-sql

then restart postfix and saslauthd.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th October 2009, 11:29
AlexRose AlexRose is offline
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
Default

Code:
[root@descarca ~]# yum install libsasl2-modules libsasl2-modules-sql
No package libsasl2-modules available.
No package libsasl2-modules-sql available.
Nothing to do
[root@descarca ~]#
i'm using centos 5.3 (32bits)
Reply With Quote
  #8  
Old 6th October 2009, 11:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
Default

Ok, sorry. Missed that you run centos.

Please run:

yum search sasl

to check if you have any sasl module related packages in centos available.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 6th October 2009, 11:43
AlexRose AlexRose is offline
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
Default

This is what i get
Code:
[root@descarca ~]# yum search sasl
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * rpmforge: ftp-stud.fht-esslingen.de
 * base: ftp.ines.lug.ro
 * updates: ftp.ines.lug.ro
 * addons: ftp.ines.lug.ro
 * extras: ftp.ines.lug.ro
======================================================================= Matched: sasl =======================================================================
postfix.i386 : Postfix Mail Transport Agent
cyrus-imapd.i386 : A high-performance mail server with IMAP, POP3, NNTP and SIEVE support
cyrus-sasl.i386 : The Cyrus SASL library.
cyrus-sasl-devel.i386 : Files needed for developing applications with Cyrus SASL.
cyrus-sasl-gssapi.i386 : GSSAPI support for Cyrus SASL.
cyrus-sasl-ldap.i386 : LDAP auxprop support for Cyrus SASL.
cyrus-sasl-lib.i386 : Shared libraries needed by applications which use Cyrus SASL.
cyrus-sasl-md5.i386 : CRAM-MD5 and DIGEST-MD5 support for Cyrus SASL.
cyrus-sasl-ntlm.i386 : NTLM support for Cyrus SASL.
cyrus-sasl-plain.i386 : PLAIN and LOGIN support for Cyrus SASL.
cyrus-sasl-sql.i386 : SQL auxprop support for Cyrus SASL.
gnu-crypto-sasl-jdk1.4.i386 : Gnu Crypto SASL API
libsnet.i386 : Simple, secure, TCP communications library
pamtester.i386 : Utility for testing pluggable authentication modules (PAM) facility
perl-Authen-DigestMD5.noarch : SASL DIGEST-MD5 authentication (RFC2831) perl module
perl-Authen-SASL.noarch : Interface to SASL
php-pear-Auth-SASL.noarch : PEAR: Abstraction of various SASL mechanism responses
php-pear-Net-SMTP.noarch : Provides an implementation of the SMTP protocol
qca-sasl.i386 : SASL plugin for the Qt Cryptographic Architecture
[root@descarca ~]#
Reply With Quote
  #10  
Old 6th October 2009, 11:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,421
Thanks: 834
Thanked 5,501 Times in 4,330 Posts
 
Default

Please run:

yum install cyrus-sasl-sql cyrus-sasl-plain cyrus-sasl-lib

and then restart postfix and saslauthd.
__________________
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:
AlexRose (6th October 2009)
Reply

Bookmarks

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
Sendmail, Postfix configuration in ISPConfig KishCom Installation/Configuration 1 29th March 2008 16:55
One Feature i need to know how to do in postfix to move from sendmail ZeroDni Server Operation 0 26th October 2007 21:03
Sendmail: "Relaying denied. Proper authentication required." oskare100 Server Operation 0 2nd October 2007 17:31
Change MTA from Postfix to Sendmail in ISPConfig denmaus Installation/Configuration 8 10th July 2006 13:01
sendmail 8.13.6 on FC2 server with SASL/STARTTLS Anne H Server Operation 5 4th April 2006 21:19


All times are GMT +2. The time now is 00:35.


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