Quoting Noel Jones <njo...@megan.vbhcs.org>:
On 4/22/2010 6:19 PM, webmas...@aus-city.com wrote:
Seems its plesk and not logging everything in the logs. It uses its own
logging for mail, I could not find my successful login (below). The
saslauthd is not running, but plesk must start use another process to do
this, but its is running:
Logs are important for solving problems and tracing what happened to
mail. If you can't find logs, ask on a plesk support forum.
Without proper logging, it's far more difficult to diagnose problems
and offer correct solutions.
But it is running and verifies (I did this on a remote server)
telnet xxx 587
Trying xxx...
Connected to xxx.
Escape character is '^]'.
220 xxx ESMTP Postfix
ehlo xxx.
250-xxx
250-PIPELINING
250-SIZE 20480000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from: <xxx>
250 2.1.0 Ok
quit
221 2.0.0 Bye
Connection closed by foreign host.
This shows that postfix is listening and offering AUTH on port 587,
but not much else. It would be more interesting to try to
authenticate as described in SASL_README (warning: don't post base64
encoded username/password to the list; they are trivially decoded.)
I will have to check out my client as its only local to him alone. Also
as I did say he runs multiple OS on the same machine and one works
perfectly.
Lastly digging in my logs, I found this:
Apr 23 04:23:28 server postfix/smtpd[24755]: connect from
unknown[xx.xx.xx.xx]
Apr 23 04:23:28 server postfix/smtpd[25116]: warning: 127.0.0.1: address
not listed for hostname localhost
Apr 23 04:23:28 server postfix/smtpd[25116]: connect from
unknown[127.0.0.1]
Any idea why? Its listed in the /etc/hosts file:
::1 localhost localhost.localdomain localhost6.localdomain6 localhost6
127.0.0.1 xx.xx.xx.xx xx.xx.xx server localhost.localdomain localhost
Maybe check your /etc/nsswitch.conf? This has no relation to any
other problems you may be having.
-- Noel Jones
Hi Noel,
I do see some auth stuff in the logs, I put a snip:
Apr 21 05:05:30 server pop3d: IMAP connect from @
[203.206.129.129]INFO: LOGIN, user...@xx.com, ip=[xx.xx.xx.xx]
Apr 21 05:05:31 server postfix/smtpd[21639]: connect from unknown[xx.xx.xx.xx]
Apr 21 05:05:31 server postfix/smtpd[21760]: warning: 127.0.0.1:
address not listed for hostname localhost
Apr 21 05:05:31 server postfix/smtpd[21760]: connect from unknown[127.0.0.1]
Apr 21 05:05:31 server postfix/smtpd[21639]: NOQUEUE:
client=unknown[xx.xx.xx.xx], sasl_method=PLAIN, sasl_username...@xx.com
Apr 21 05:05:31 server postfix/smtpd[21760]: AE1E923EAC:
client=unknown[xx.xx.xx.xx]
I will do that test later and report.
Here is my nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# nisplus or nis+ Use NIS+ (NIS version 3)
# nis or yp Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis
passwd: files
shadow: files
group: files
#hosts: db files nisplus nis dns
hosts: files dns
# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files
netgroup: nisplus
publickey: nisplus
automount: files nisplus
aliases: files nisplus