Fail to telnet
Hi folks,
Debian Etch Postfix MySQL Fail to telnet # telnet localhost 25 Code:
Trying 127.0.0.1... # tail /var/log/mail.log Code:
Nov 3 15:49:45 xen03 postfix/master[1144]: warning: process /usr/libexec/postfix/smtpd pid 1565 exit status 1 # netstat -tap Code:
Active Internet connections (servers and established) # find / -name BerkeleyDB Code:
/usr/local/lib/perl/5.8.8/auto/BerkeleyDB Would it be the problem of more than one BerkeleyDB. If YES which one shall I remove and how to do it. TIA B.R. satimis |
Quote:
Fix your configuration, and restart the service. |
Quote:
Thanks for your advice. Still I can't get my problem fixed. Present situation; # netstat -tap Code:
Active Internet connections (servers and established) Code:
root 1143 0.0 1.1 5820 392 ? Ss 07:23 0:00 /usr/libexec/postfix/master Code:
Nov 4 07:34:24 xen03 postfix/smtpd[1241]: warning: unsupported SASL server implementation: cyrus # tail /var/log/mail.err Code:
Nov 4 07:05:22 xen03 postfix/smtpd[17434]: fatal: SASL per-process initialization failed Code:
alias_maps = mysql:/etc/postfix/mysql-aliases.cf What I have discovered is 3 commands on /etc/rc.local not activated at boot. # cat /etc/rc.local Code:
/bin/sh -e I have to run them manually after the server up running; /usr/local/bind/sbin/named -u named -t /usr/local/bind -c /etc/named.conf no complaint # host www.yahoo.com 127.0.0.1 Code:
www.yahoo.com CNAME www.yahoo-ht3.akadns.net /usr/local/sbin/clamd su - amavis -c "/usr/local/sbin/amavisd" no complaint # su - amavis -c "/usr/local/sbin/amavisd" Code:
perl: warning: Setting locale failed. Any advice? TIA B.R. satimis |
Satimis, the cyrus error is from master.cf. Can you post that as well?
|
Quote:
Code:
postfinger - postfix configuration on Tue Nov 4 10:45:38 UTC 2008 satimis |
Hmm - not quite what I expected. Are you sure postfix is built with sasl support?
|
Check "postconf -a"
|
Quote:
I suppose it is. I follow; http://www.postfixvirtual.net/postfi...html#cyrussasl building this mail server B.R. satimis |
Quote:
Code:
dovecot satimis |
Well at least we've explained one error.
Do some searching for standard debian package build parameters for postfix. Edit - or did you build from source? Is saslauth installed (I guess that's what it's called in debian) |
Quote:
Quote:
Quote:
Code:
> --without-saslauthd \ Code:
# tar zxf cyrus-sasl-2.1.22.tar.gz B.R. satimis |
Well you're trying to use sasl authentication, so you'll need it.
Rebuild, and don't forget you'll need saslauthd running as well for postfix to authenticate (although it should start without it) |
Quote:
# which saslauthd Code:
/usr/sbin/saslauthd # grep pwcheck /usr/local/lib/sasl2/smtpd.conf Code:
#pwcheck_method: auxprop Tried auxprop/saslauthd $ tail /var/log/mail.log Code:
Nov 5 03:49:17 xen03 postfix/postfix-script[1239]: refreshing the Postfix mail system # postconf -a Code:
dovecot It only supports dovecot NOT cyrus included (both of them) I found following thread on; DA bug report logs - #350151 unsupported SASL server implementation: cyrus http://bugs.donarmstrong.com/cgi-bin...cgi?bug=350151 I have the patch file "cyrus-sasl-patch-1.diff" download. Please advise how to run it to make correction. TIA B.R. satimis |
Quote:
# which saslauthd Code:
/usr/sbin/saslauthd # grep pwcheck /usr/local/lib/sasl2/smtpd.conf Code:
#pwcheck_method: auxprop Tried auxprop/saslauthd $ tail /var/log/mail.log[code] Nov 5 03:49:17 xen03 postfix/postfix-script[1239]: refreshing the Postfix mail system Nov 5 03:49:17 xen03 postfix/master[1144]: reload configuration /etc/postfix Nov 5 03:49:45 xen03 postfix/smtpd[1245]: warning: unsupported SASL server implementation: cyrus Nov 5 03:49:45 xen03 postfix/smtpd[1245]: fatal: SASL per-process initialization failed Nov 5 03:49:46 xen03 postfix/master[1144]: warning: process /usr/libexec/postfix/smtpd pid 1245 exit status 1 Nov 5 03:49:46 xen03 postfix/master[1144]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling Nov 5 03:50:46 xen03 postfix/smtpd[1262]: warning: unsupported SASL server implementation: cyrus Nov 5 03:50:46 xen03 postfix/smtpd[1262]: fatal: SASL per-process initialization failed Nov 5 03:50:47 xen03 postfix/master[1144]: warning: process /usr/libexec/postfix/smtpd pid 1262 exit status 1 Nov 5 03:50:47 xen03 postfix/master[1144]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling [/vofr] # postconf -a Code:
dovecot It only supports dovecot NOT cyrus included (both of them) I found following thread on; DA bug report logs - #350151 unsupported SASL server implementation: cyrus http://bugs.donarmstrong.com/cgi-bin...cgi?bug=350151 I have the patch file "cyrus-sasl-patch-1.diff" download. Please advise how to run it to make correction. TIA B.R. satimis |
What version of postfix are you building, and remind me - why are you building from source?
|
All times are GMT -5. The time now is 10:37 AM. |