If I turn SMTP authentication on, then my server no longer accepts mail for my domain. Any ideas? Thanks for any help.
shannon ----
What I'm trying to do:
- receive email for the domain and deliver it.
- remote users to be able to use SMTP authentication and use SMTP.
- local users (from 127.0.0.1) to be able to use SMTP.
- Not leave an open relay :-)If SMTP authentication is off, I receive messages fine and they get delivered fine as well. As soon as I turn it on I get messages like the one below. (Assume mydomain.org is the domain I'm receiving mail for. Tiamat is the server name.)
Another sympthom is that when SMTP authentication is on, local users (from 127.0.0.1) are also rejected. The smtpaccess/default file has this address as a RELAYCLIENT so I would expect it to always work.
A typical error for a message addressed to [EMAIL PROTECTED] gives the error (in maillog):
Mar 27 15:06:49 tiamat courieresmtpd: error,relay=::ffff:207.150.192.13,
msg="535 Authentication required.",cmd: MAIL FROM:<[EMAIL PROTECTED]>
BODY=8BITMIME SIZE=2022
I've remade all the various config files I know of (e.g. esmtpaccessmailfor.dat)
A grep for the domain name in /etc/courier shows these files have it.
aliases.dat: mydomain.org
defaultdomain:mydomain.org
esmtpacceptmailfor.dat: mydomain.org
esmtpacceptmailfor.dir/webadmin:mydomain.org
locals:mydomain.org
me:mydomain.org
msgidhost:mydomain.orgRelevant lines of showconfig yields:
esmtpacceptmailfor: mydomain.org
- accept mail for these domains via SMTP
esmtpgreeting: mydomain.org ESMTP
- my ESMTP identification banner
esmtphelo: mydomain.org
- my parameter to the HELO/EHLO SMTP verbs
me: mydomain.org
- my hostnamesmtpaccess/default is the standard default:
# Copyright 1998 - 1999 Double Precision, Inc. See COPYING for
# distribution information.
#
# Default access policies for courieresmtpd
#
# By default, enable relaying for localhost.127.0.0.1 allow,RELAYCLIENT
# Also, enable relaying for 10.0.0.0/8 and 192.168.0.0/16
10 allow,RELAYCLIENT
192.168 allow,RELAYCLIENT# [etc. comments]
Lastly, courier-config:
prefix=/usr/lib/courier
exec_prefix=/usr/lib/courier
bindir=/usr/lib/courier/bin
sbindir=/usr/lib/courier/sbin
libexecdir=/usr/lib/courier/libexec
sysconfdir=/etc/courier
datadir=/usr/lib/courier/share
localstatedir=/var/spool/courier
mailuser=courier
mailgroup=courier
mailuid=70
mailgid=65
configure_args="'--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' '--target
=i386-redhat-linux' '--program-prefix=' '--prefix=/usr/lib/courier' '--exec-pref
ix=/usr/lib/courier' '--bindir=/usr/lib/courier/bin' '--sbindir=/usr/lib/courier
/sbin' '--sysconfdir=/etc/courier' '--datadir=/usr/lib/courier/share' '--include
dir=/usr/lib/courier/include' '--libdir=/usr/lib/courier/lib' '--libexecdir=/usr
/lib/courier/libexec' '--localstatedir=/var/spool/courier' '--sharedstatedir=/us
r/lib/courier/com' '--mandir=/usr/share/man' '--infodir=/usr/lib/courier/share/i
nfo' 'CFLAGS=-O2 -march=i386 -mcpu=i686' 'CXXFLAGS=-O2 -march=i386 -mcpu=i686' '
build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'target_alias=i386
-redhat-linux' --with-db=gdbm --with-mailuser=courier --with-mailgroup=courier -
-enable-utf7-folder-encoding --enable-unicode=iso-8859-1 --with-authchangepwdir=
/usr/lib/courier/libexec/authlib/changepwd"
_________________________________________________________________
------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
