Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd January 2013, 11:01
xsas xsas is offline
Junior Member
 
Join Date: May 2010
Location: Valencia
Posts: 16
Thanks: 5
Thanked 0 Times in 0 Posts
Default Problem with centos - postfix - all mail i queued

Hi

I recently has begun with Ispconfig and Centos, previosly I had worked always with Debian, but for long maintenance I would try Centos for his long time support.

Well, I followed the howto

http://www.howtoforge.com/perfect-se...er-ispconfig-3

and everything is ok.

But when I test the mail, I have found this:

MTA([127.0.0.1]:10025) during fwd-connect (Negative greeting: at (eval 86) line 596.): id=09025-08 (in reply to end of DATA command))

I have disabled selinux and reviewed all but I miss something.

Thanks in advanced
__________________
---
Salvador Ausina

quadux.net
Reply With Quote
Sponsored Links
  #2  
Old 3rd January 2013, 10:56
tahunasky tahunasky is offline
Member
 
Join Date: Jul 2012
Location: Buenos Aires
Posts: 84
Thanks: 1
Thanked 9 Times in 9 Posts
Default

Do you have these settings in the /etc/postfix/master.cf file ?

Quote:
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
I think it has something to do with anitvirus. Check that the clamd.amavisd process is running.

# ps -ef | grep amavisd

Last edited by tahunasky; 3rd January 2013 at 11:04.
Reply With Quote
  #3  
Old 9th January 2013, 14:27
xsas xsas is offline
Junior Member
 
Join Date: May 2010
Location: Valencia
Posts: 16
Thanks: 5
Thanked 0 Times in 0 Posts
Default We found it ...

Hi,

We found it!!!

Thanks for your reply tahunasky but the problem wasn't amavis but SASL authentication.

Making a test in localhost we found :

Jan 3 07:39:49 64 postfix/smtpd[17781]: connect from localhost[::1]
Jan 3 07:39:49 64 postfix/smtpd[17781]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Jan 3 07:39:49 64 postfix/smtpd[17781]: fatal: no SASL authentication mechanisms
Jan 3 07:39:50 64 postfix/master[16109]: warning: process /usr/libexec/postfix/smtpd pid 17781 exit status 1
Jan 3 07:39:50 64 postfix/master[16109]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

then we review the sasl authentication mechanism and the sasl installed packets.

# cat /etc/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login

# rpm -qa | grep sasl
cyrus-sasl-2.1.23-13.el6_3.1.x86_64
cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
cyrus-sasl-devel-2.1.23-13.el6_3.1.x86_64

and we install that we need.

# yum search sasl | grep cyrus
[...]
cyrus-sasl-plain.i686 : PLAIN and LOGIN authentication support for Cyrus SASL
cyrus-sasl-plain.x86_64 : PLAIN and LOGIN authentication support for Cyrus SASL
[...]

#yum install cyrus-sasl-plain cyrus-sasl-md5

and finally restart the services

# service saslauthd stop
# service postfix stop
# service saslauthd start
# service postfix start

Simple, but it's complicated to detect. Normally you search in more other places than here.

Now I have reviewed the howto and I have realized that there is a comment with the solution, ups.

http://www.howtoforge.com/perfect-se...#comment-32968

bye
__________________
---
Salvador Ausina

quadux.net
Reply With Quote
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
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 11:56
Email being accepted but not delivered punto Installation/Configuration 8 25th May 2011 01:13
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 21:01
RoundCube Sends but will not receive. happz Installation/Configuration 33 17th April 2010 22:55
Need help get mail to work (can't recieve and apperently can't send) omega13a Installation/Configuration 19 20th August 2009 22:06


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


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