LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-03-2008, 10:37 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Rep: Reputation: 52
Fail to telnet


Hi folks,


Debian Etch
Postfix
MySQL


Fail to telnet

# telnet localhost 25
Code:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
ehlo localhost
Nothing printed out.


# 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
Nov  3 15:49:45 xen03 postfix/master[1144]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Nov  3 15:50:02 xen03 postfix/postfix-script[1568]: refreshing the Postfix mail system
Nov  3 15:50:02 xen03 postfix/master[1144]: reload configuration /etc/postfix
Nov  3 15:50:45 xen03 postfix/smtpd[1574]: fatal: open /etc/postfix/virtual/mysql-relay-domains.cf: Not a directory
Nov  3 15:50:45 xen03 postfix/qmgr[1575]: fatal: open /etc/postfix/virtual/mysql-relay-domains.cf: Not a directory
Nov  3 15:50:46 xen03 postfix/master[1144]: warning: process /usr/libexec/postfix/smtpd pid 1574 exit status 1
Nov  3 15:50:46 xen03 postfix/master[1144]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Nov  3 15:50:46 xen03 postfix/master[1144]: warning: process /usr/libexec/postfix/qmgr pid 1575 exit status 1
Nov  3 15:50:46 xen03 postfix/master[1144]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling

# netstat -tap
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN     1144/master
tcp        0      0 *:mysql                 *:*                     LISTEN     1081/mysqld
tcp        0      0 xen03.satimis.co:domain *:*                     LISTEN     1187/named
tcp        0      0 localhost.locald:domain *:*                     LISTEN     1187/named
tcp        0      0 *:smtp                  *:*                     LISTEN     1144/master
tcp        1      0 xen03.satimis.com:smtp  ABTS-TN-dynamic-2:62312 CLOSE_WAIT -
tcp       22      0 localhost.localdom:smtp localhost.localdom:2104 CLOSE_WAIT -
tcp        1      0 xen03.satimis.com:smtp  mail.sevitol.com.u:3843 CLOSE_WAIT -
tcp        1      0 xen03.satimis.com:smtp  125.109.225.218:2764    CLOSE_WAIT -
tcp        1      0 xen03.satimis.com:smtp  124.76.86.199:10403     CLOSE_WAIT -
tcp       17      0 localhost.localdom:smtp localhost.localdom:3715 CLOSE_WAIT -
tcp        1      0 xen03.satimis.com:smtp  123.18.98.205:29905     CLOSE_WAIT -
tcp       17      0 localhost.localdom:smtp localhost.localdom:4579 CLOSE_WAIT -
tcp6       0      0 *:ssh                   *:*                     LISTEN     1157/sshd
tcp6       0      0 xen03.satimis.com:ssh   xen0.satimis.com:58481  ESTABLISHED1404/1
tcp6       0      0 xen03.satimis.com:ssh   xen0.satimis.com:36525  ESTABLISHED1378/0

# find / -name BerkeleyDB
Code:
/usr/local/lib/perl/5.8.8/auto/BerkeleyDB
/usr/local/lib/perl/5.8.8/BerkeleyDB
/usr/local/src/db-4.7.25/perl/BerkeleyDB
/usr/local/src/db-4.7.25/perl/BerkeleyDB/BerkeleyDB
/usr/local/src/mysql-5.0.67/bdb/build_vxworks/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
 
Old 11-03-2008, 10:59 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,241

Rep: Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475Reputation: 2475
Quote:
Originally Posted by satimis View Post
Hi folks,


Debian Etch
Postfix
MySQL


Fail to telnet

# telnet localhost 25
Code:
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
ehlo localhost
Nothing printed out.


# 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
Nov  3 15:49:45 xen03 postfix/master[1144]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Nov  3 15:50:02 xen03 postfix/postfix-script[1568]: refreshing the Postfix mail system
Nov  3 15:50:02 xen03 postfix/master[1144]: reload configuration /etc/postfix
Nov  3 15:50:45 xen03 postfix/smtpd[1574]: fatal: open /etc/postfix/virtual/mysql-relay-domains.cf: Not a directory
Nov  3 15:50:45 xen03 postfix/qmgr[1575]: fatal: open /etc/postfix/virtual/mysql-relay-domains.cf: Not a directory
Nov  3 15:50:46 xen03 postfix/master[1144]: warning: process /usr/libexec/postfix/smtpd pid 1574 exit status 1
Nov  3 15:50:46 xen03 postfix/master[1144]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Nov  3 15:50:46 xen03 postfix/master[1144]: warning: process /usr/libexec/postfix/qmgr pid 1575 exit status 1
Nov  3 15:50:46 xen03 postfix/master[1144]: warning: /usr/libexec/postfix/qmgr: bad command startup -- throttling
Would it be the problem of more than one BerkeleyDB. If YES which one shall I remove and how to do it. TIA
Your log indicates a FATAL error when Postfix tried to restart...port 25 isn't showing up on your netstat. So if the service didn't start, due to (it seems), a configuration issue in the specified file (seen in your logs), then yes, you wouldn't be able to get to it. It's not running.

Fix your configuration, and restart the service.
 
Old 11-04-2008, 02:51 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by TB0ne View Post
Your log indicates a FATAL error when Postfix tried to restart...port 25 isn't showing up on your netstat. So if the service didn't start, due to (it seems), a configuration issue in the specified file (seen in your logs), then yes, you wouldn't be able to get to it. It's not running.

Fix your configuration, and restart the service.
Hi TB0ne,


Thanks for your advice.


Still I can't get my problem fixed.


Present situation;


# netstat -tap
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN     1143/master
tcp        0      0 *:mysql                 *:*                     LISTEN     1080/mysqld
tcp        0      0 xen03.satimis.co:domain *:*                     LISTEN     1230/named
tcp        0      0 localhost.locald:domain *:*                     LISTEN     1230/named
tcp        0      0 *:smtp                  *:*                     LISTEN     1143/master
tcp        1      0 xen03.satimis.com:smtp  3-112.jpc.ro:4783       CLOSE_WAIT -
tcp        1      0 xen03.satimis.com:smtp  203.98.180.11:3027      CLOSE_WAIT -
tcp6       0      0 *:ssh                   *:*                     LISTEN     1156/sshd
tcp6       0      0 xen03.satimis.com:ssh   xen0.satimis.com:38836  ESTABLISHED1186/0
# ps aux | grep postfix
Code:
root      1143  0.0  1.1   5820   392 ?        Ss   07:23   0:00 /usr/libexec/postfix/master
postfix   1250  0.0  0.4   5860   164 ?        S    07:34   0:00 pickup -l -t fifo -u
postfix   1251  0.0  0.6   5908   200 ?        S    07:34   0:00 qmgr -l -t fifo -u
root      1326  0.0  1.7   2836   572 pts/0    S+   08:28   0:00 grep postfix
# tail /var/log/mail.log
Code:
Nov  4 07:34:24 xen03 postfix/smtpd[1241]: warning: unsupported SASL server implementation: cyrus
Nov  4 07:34:24 xen03 postfix/smtpd[1241]: fatal: SASL per-process initialization failed
Nov  4 07:34:25 xen03 postfix/master[1143]: warning: process /usr/libexec/postfix/smtpd pid 1241 exit status 1
Nov  4 07:34:25 xen03 postfix/master[1143]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Nov  4 07:34:37 xen03 postfix/postfix-script[1246]: refreshing the Postfix mail system
Nov  4 07:34:37 xen03 postfix/master[1143]: reload configuration /etc/postfix
Nov  4 07:35:25 xen03 postfix/smtpd[1253]: warning: unsupported SASL server implementation: cyrus
Nov  4 07:35:25 xen03 postfix/smtpd[1253]: fatal: SASL per-process initialization failed
Nov  4 07:35:26 xen03 postfix/master[1143]: warning: process /usr/libexec/postfix/smtpd pid 1253 exit status 1
Nov  4 07:35:26 xen03 postfix/master[1143]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

# tail /var/log/mail.err
Code:
Nov  4 07:05:22 xen03 postfix/smtpd[17434]: fatal: SASL per-process initialization failed
Nov  4 07:06:30 xen03 postfix/smtpd[17437]: fatal: SASL per-process initialization failed
Nov  4 07:07:36 xen03 postfix/smtpd[17439]: fatal: SASL per-process initialization failed
Nov  4 07:08:38 xen03 postfix/smtpd[17440]: fatal: SASL per-process initialization failed
Nov  4 07:09:48 xen03 postfix/smtpd[17472]: fatal: SASL per-process initialization failed
Nov  4 07:20:28 xen03 postfix/qmgr[1217]: fatal: open /etc/postfix/virtual/mysql-relay-domains.cf: Not a directory
Nov  4 07:21:29 xen03 postfix/qmgr[1221]: fatal: open /etc/postfix/virtual/mysql-relay-domains.cf: Not a directory
Nov  4 07:33:22 xen03 postfix/smtpd[1231]: fatal: SASL per-process initialization failed
Nov  4 07:34:24 xen03 postfix/smtpd[1241]: fatal: SASL per-process initialization failed
Nov  4 07:35:25 xen03 postfix/smtpd[1253]: fatal: SASL per-process initialization failed
# postconf -n
Code:
alias_maps = mysql:/etc/postfix/mysql-aliases.cf
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = no
local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname
mydomain = satimis.com
myhostname = xen03.satimis.com
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains =
relocated_maps = mysql:/etc/postfix/mysql-relocated.cf
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
show_user_unknown_table_name = no
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-client.cf
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,check_recipient_access mysql:/etc/postfix/mysql-recipient.cf,reject_unauth_destination,permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-sender.cf
smtpd_tls_cert_file = /etc/postfix/postfix.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_use_tls = yes
transport_maps = mysql:/etc/postfix/mysql-transport.cf
unknown_local_recipient_reject_code = 550
virtual_gid_maps = static:1005
virtual_mailbox_base = /usr/local/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-maps.cf
virtual_minimum_uid = 100
virtual_transport = maildrop
virtual_uid_maps = static:1005

What I have discovered is 3 commands on /etc/rc.local not activated at boot.


# cat /etc/rc.local
Code:
/bin/sh -e
#
# rc.local

#exit 0
/usr/local/bind/sbin/named -u named -t /usr/local/bind -c /etc/named.conf

/usr/local/sbin/clamd
su - amavis -c "/usr/local/sbin/amavisd"

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
www.yahoo-ht3.akadns.net        A       209.131.36.158

/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.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/usr/bin/perl: symbol lookup error: /usr/local/lib/perl/5.8.8/auto/BerkeleyDB/BerkeleyDB.so: undefined symbol: db_version
It complains.


Any advice? TIA


B.R.
satimis
 
Old 11-04-2008, 04:09 AM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Satimis, the cyrus error is from master.cf. Can you post that as well?
 
Old 11-04-2008, 04:53 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by billymayday View Post
Satimis, the cyrus error is from master.cf. Can you post that as well?
$ /home/satimis/postfinger
Code:
postfinger - postfix configuration on Tue Nov  4 10:45:38 UTC 2008
version: 1.30

Warning: postfinger output may show private configuration information,
such as ip addresses and/or domain names which you do not want to show
to the public.  If this is the case it is your responsibility to modify
the output to hide this private information.  [Remove this warning with
the --nowarn option.]

--System Parameters--
mail_version = 2.5.5
hostname = xen03.satimis.com
uname = Linux xen03.satimis.com 2.6.18-xen #1 SMP Fri May 18 16:11:33 BST 2007 i686 GNU/Linux

--Packaging information--
--main.cf non-default parameters--

.....
......

--master.cf--
smtp      inet  n       -       n       -       -       smtpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
        -o smtp_fallback_relay=
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
  flags=Ru user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
smtp-amavis unix -      -       n       -       2  lmtp
    -o lmtp_data_done_timeout=1200
    -o lmtp_send_xforward_command=yes
127.0.0.1:10025 inet n  -       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,reject
    -o mynetworks=127.0.0.0/8
    -o strict_rfc821_envelopes=yes
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000

-- end of postfinger output --
B.R.
satimis
 
Old 11-04-2008, 05:03 AM   #6
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Hmm - not quite what I expected. Are you sure postfix is built with sasl support?
 
Old 11-04-2008, 05:14 AM   #7
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Check "postconf -a"
 
Old 11-04-2008, 05:14 AM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by billymayday View Post
Hmm - not quite what I expected. Are you sure postfix is built with sasl support?
Hi billymayday,


I suppose it is.

I follow;
http://www.postfixvirtual.net/postfi...html#cyrussasl

building this mail server


B.R.
satimis
 
Old 11-04-2008, 05:17 AM   #9
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by billymayday View Post
Check "postconf -a"
# postconf -a
Code:
dovecot
sasl/cyrus-sasl is NOT there


satimis
 
Old 11-04-2008, 05:27 AM   #10
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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)

Last edited by billymayday; 11-04-2008 at 05:30 AM.
 
Old 11-04-2008, 06:38 AM   #11
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by billymayday View Post
Well at least we've explained one error.

Do some searching for standard debian package build parameters for postfix.
What shall I search?


Quote:
Edit - or did you build from source?
Yes. I followed that article. This is my 4th round building postfix virtual. Previously I built 3 postfix virtual by following howto found on Internet. At finish none of the mail server can work properly. Fortunately I built them on Xen box as guest. It is easy for me to control.


Quote:
Is saslauth installed (I guess that's what it's called in debian)
It does not need saslauth. On installing cyrus-sasl-2.1.22 during ./config it was without saslauth
Code:
> --without-saslauthd \

Code:
# tar zxf cyrus-sasl-2.1.22.tar.gz
# cd cyrus-sasl-2.1.22
# export CPPFLAGS="-I/usr/local/mysql/include/mysql"
No complaint

# ./configure \
> --enable-anon \
> --enable-plain \
> --enable-login \
> --enable-sql \
> --disable-krb4 \
> --disable-otp \
> --disable-cram \
> --disable-digest \
> --with-mysql=/usr/local/mysql/lib/mysql \
> --without-pam \
> --without-saslauthd \
> --without-pwcheck \
> --with-dblib=berkeley \
> --with-bdb-libdir=/usr/local/bdb/lib \
> --with-bdb-incdir=/usr/local/bdb/include \
> --with-openssl=/usr/local/ssl \
> --with-plugindir=/usr/local/lib/sasl2

# make
# make install
# ln -s /usr/local/lib/sasl2 /usr/lib/sasl2
# echo "/usr/local/lib/" >> /etc/ld.so.conf
# ldconfig
Shall build it again?


B.R.
satimis
 
Old 11-04-2008, 01:38 PM   #12
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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)
 
Old 11-04-2008, 10:22 PM   #13
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by billymayday View Post
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)
Rebuild the package without improvement.


# which saslauthd
Code:
/usr/sbin/saslauthd
It is working


# grep pwcheck /usr/local/lib/sasl2/smtpd.conf
Code:
#pwcheck_method: auxprop
pwcheck_method: saslauthd

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

# 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
 
Old 11-04-2008, 10:23 PM   #14
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,385

Original Poster
Rep: Reputation: 52
Quote:
Originally Posted by billymayday View Post
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)
Rebuild the package without improvement.


# which saslauthd
Code:
/usr/sbin/saslauthd
It is working


# grep pwcheck /usr/local/lib/sasl2/smtpd.conf
Code:
#pwcheck_method: auxprop
pwcheck_method: saslauthd

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
 
Old 11-04-2008, 10:38 PM   #15
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What version of postfix are you building, and remind me - why are you building from source?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to telnet to Linux Host inspite of installing telnet-server RPM - Need Help sinamdar Linux - Software 7 04-11-2009 07:09 AM
fail to telnet localhost 106 satimis Linux - Server 7 12-16-2007 12:53 PM
sendmail:fail to connect to port 25 with telnet Carlos2dub Linux - Server 2 09-03-2007 04:09 AM
telnet - FAIL: telnet address from=15.8.29.14 gruell Linux - Software 1 06-28-2007 03:41 PM
Fail to telnet localhost 25 satimis Linux - Server 19 11-27-2006 09:43 AM


All times are GMT -5. The time now is 04:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration