Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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
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
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 --
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
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)
$ 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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.