I got the sendmail set up under fedora core 1.
When I use the Eudora client to authenticate to the sendmail than it
is
fine and I can send emails. But when I try to use the outlook client
on
the same machine I cannot send mails. I receive those errors:
did not issue MAIL/EXPN/VRFY/ETRN during connection
Apr 23 23:23:33 yyyyy saslauthd[6468]: do_auth : auth failure:
[user=xxxxx] [service=smtp] [realm=] [mech=pam] [reason=PAM auth
error]
yyyyyy is my domain name and xxx a username.
Is this the problem of the send mail or it is the outlook itself.
My sendmail setup follows:
dnl To be used for MTA-RX, the first MTA instance (receiving mail)
dnl Insert here the usual .mc preamble, including OSTYPE and DOMAIN
calls.
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Linux')dnl
OSTYPE(`linux')dnl
dnl Specify here also access controls, relayable domains, anti-spam
measures
dnl including milter settings if needed, mail submission settings,
client
dnl authentication, resource controls, maximum mail size and header
size,
dnl confMIN_FREE_BLOCKS, and other settings needed for receiving mail.
dnl
dnl NOTE:
dnl confMIN_FREE_BLOCKS at MTA-RX should be kept higher than the
same
dnl setting at MTA-TX, to quench down clients when disk space is
low,
dnl and not to stop processing of the already received mail.
dnl
dnl In particular, here are some settings to be considered:
dnl ( see also http://www.sendmail.org/m4/anti_spam.html )
dnl
FEATURE(`access_db',`hash -T<TMPF> /etc/mail/access')
dnl VIRTUSER_DOMAIN(`sub1.example.com')dnl list valid users here
dnl VIRTUSER_DOMAIN(`sub2.example.com')dnl list valid users here
FEATURE(`virtusertable', `hash /etc/mail/virtusertable')
dnl define(`confUSERDB_SPEC', `/etc/mail/userdb.db')
FEATURE(`mailertable',`hash /etc/mail/mailertable.db')dnl
FEATURE(`blacklist_recipients')
dnl INPUT_MAIL_FILTER(...)
dnl define(`confPRIVACY_FLAGS', `noexpn,novrfy,authwarnings')
nobodyreturn ?
dnl define(`confDONT_PROBE_INTERFACES')
dnl undefine(`USE_CW_FILE')dnl cancel use_cw_file feature, no class
{w} extras
dnl MASQUERADE_AS(...) FEATURE(`allmasquerade')
FEATURE(`masquerade_envelope')
dnl define(`confTO_IDENT', `0')dnl Disable IDENT
dnl define(`confMAX_MESSAGE_SIZE',`10485760')
dnl define(`confMAX_MIME_HEADER_LENGTH', `256/128')
dnl define(`confNO_RCPT_ACTION', `add-to-undisclosed')
dnl FEATURE(`nocanonify', ...)
dnl define(`confBIND_OPTS', ...)
dnl define(`confTO_RESOLVER_*... )
dnl define(`confDELAY_LA, 8)
dnl define(`confREFUSE_LA', 12)
dnl define(`confMIN_FREE_BLOCKS', `10000')
dnl define(`confDEF_USER_ID', ...)
define(`confAUTH_OPTIONS', `A')dnl
dnl #
dnl # The following allows relaying if the user authenticates, and
disallows
dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
dnl #
dnl define(`confAUTH_OPTIONS', `A p')dnl
dnl #
dnl # PLAIN is the preferred plaintext authentication method and used
by
dnl # Mozilla Mail and Evolution, though Outlook Express and other
MUAs do
dnl # use LOGIN. Other mechanisms should be used if the connection is
not
dnl # guaranteed secure.
dnl #
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5
LOGIN PLAIN')dnl
dnl define(`confRUN_AS_USER',`xxx:xxx')dnl Drop privileges (see
SECURITY NOTE)
define(`confPID_FILE', `/var/run/sendmail-rx.pid')dnl Non-default pid
file
define(`STATUS_FILE', `/etc/mail/stat-rx')dnl Non-default stat file
define(`QUEUE_DIR', `/var/spool/mqueue-rx')dnl Non-default queue
area
define(`confQUEUE_SORT_ORDER',`Modification')dnl Modif or Random are
reasonable
dnl Match the number of queue runners (R=) to the number of
amavisd-new child
dnl processes ($max_servers). 2 to 7 OK, 10 is plenty, 20 is too much!
QUEUE_GROUP(`mqueue', `P=/var/spool/mqueue-rx, R=2, F=f')dnl
dnl Direct all mail to be forwarded to amavisd-new at 127.0.0.1:10024
FEATURE(stickyhost)dnl Keep envelope addr "u...@local.host" when fwd to
MAIL_HUB
define(`MAIL_HUB', `esmtp:[127.0.0.1]')dnl Forward all local mail to
amavisd
define(`SMART_HOST',`esmtp:[127.0.0.1]')dnl Forward all other mail to
amavisd
define(`confDELIVERY_MODE',`q')dnl Delivery mode: queue only (a
must!)
define(`ESMTP_MAILER_ARGS',`TCP $h 10024')dnl To tcp port 10024
instead of 25
MODIFY_MAILER_FLAGS(`ESMTP', `+z')dnl Speak LMTP (this is optional)
define(`SMTP_MAILER_MAXMSGS',`10')dnl Max no. of msgs in a single
connection
define(`confTO_DATAFINAL',`20m')dnl 20 minute timeout for content
checking
DAEMON_OPTIONS(`Name=MTA-RX')dnl Daemon name used in logged
messages
dnl Disable local delivery, as all local mail will go to MAIL_HUB
undefine(`ALIAS_FILE')dnl No aliases file, all local mail goes to
MAIL_HUB
define(`confFORWARD_PATH')dnl Empty search path for .forward files
undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl
undefine(`DECNET_RELAY')dnl
MAILER(smtp)
Thanks
> I got the sendmail set up under fedora core 1. When I use the
> Eudora client to authenticate to the sendmail than it is fine and
> I can send emails. But when I try to use the outlook client on the
> same machine I cannot send mails. I receive those errors:
> did not issue MAIL/EXPN/VRFY/ETRN during connection
> Apr 23 23:23:33 yyyyy saslauthd[6468]: do_auth : auth failure:
> [user=xxxxx] [service=smtp] [realm=] [mech=pam] [reason=PAM auth
> error]
> yyyyyy is my domain name and xxx a username.
Seems that your MUA tries to authenticate and after that fails
it simply gives up. You can increase logging or use
-X smtplog (see man sendmail)
to get more details.
--
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?