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

3rd October 2009, 16:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
|
|
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
|

4th October 2009, 22:25
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
|
|
yes, of course. everything else works fine ..
|

5th October 2009, 11:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Please post the output of:
grep smtpd /etc/postfix/main.cf
|

6th October 2009, 10:26
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
|
|
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 ~]#
|

6th October 2009, 11:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
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.
|

6th October 2009, 11:29
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
|
|
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)
|

6th October 2009, 11:31
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
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.
|

6th October 2009, 11:43
|
|
Junior Member
|
|
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
|
|
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 ~]#
|

6th October 2009, 11:45
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,872
Thanks: 689
Thanked 4,182 Times in 3,201 Posts
|
|
Please run:
yum install cyrus-sasl-sql cyrus-sasl-plain cyrus-sasl-lib
and then restart postfix and saslauthd.
|
|
The Following User Says Thank You to till For This Useful Post:
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 18:01.
|
|
Recent comments
17 hours 44 min ago
20 hours 39 min ago
21 hours 53 min ago
23 hours 17 min ago
1 day 55 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 19 hours ago
1 day 20 hours ago
2 days 9 min ago