Greetings!
I have Cyrus imapd 2.1.9 with Cyrus SASL 2.1.7 on a
Linux 2.4.18-10 system.
The error Im getting from sendmail for the username
"jon.mitchiner" as well as "[EMAIL PROTECTED]" is "User unknown".
The strange thing is I can enter any account name and Sendmail will accept the
mail without verifying the user actually exists and then bounce the email
later.
imapd.log shows the following:
Sep 26 11:04:53 localhost lmtpd[23648]: accepted
connection
Sep 26 11:04:53 localhost lmtpd[23648]: lmtp connection preauth'd as postman Sep 26 11:04:53 localhost master[23661]: about to exec /usr/cyrus/bin/lmtpd Sep 26 11:04:53 localhost lmtpunix[23661]: executed Sep 26 11:05:22 localhost lmtpd[23661]: accepted
connection
Sep 26 11:05:22 localhost lmtpd[23661]: lmtp connection preauth'd as postman Sep 26 11:06:23 localhost master[23638]: process
23661 exited, status 0
sendmail logs do not show anything out of the
ordinary except "User unknown"
I typed "lm" via cyradm said: "user.jon.mitchiner (\HasNoChildren) "
Running "lam user.jon.mitchiner" via cyradm said:
"anyone lrsip"
I am running "unixhierarchysep: yes" in my
/etc/imapd.conf.
$ /usr/local/sbin/sasldblistusers2 My sendmail.mc has the following (basically copied from doc/cyrusv2.mc with
little changes)
divert(-1)
include(`/usr/share/sendmail-cf/m4/cf.m4') VERSIONID(`cyrus v2 sample configuartion') OSTYPE(linux) define(`confBIND_OPTS',`-DNSRCH -DEFNAMES') define(`confTO_IDENT',`0') dnl setting cyrus as the trusted user will make it easier to pass dnl Sendmail's safefile checks. however, it means that someone with the dnl "cyrus" password could easily become root. dnl define(`confTRUSTED_USER', `cyrus') define(`confLOCAL_MAILER', `cyrus') FEATURE(`nocanonify') FEATURE(`always_add_domain') MAILER(`local') MAILER(`smtp') MAILER_DEFINITIONS Mcyrus, P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n, S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix, A=FILE /var/imap/socket/lmtp LOCAL_RULE_0 Rbb + $+ < @ $=w . > $#cyrus $: + $1 What am I doing wrong here?
Thanks in advance for any assistance that you can
provide.
Jon
|
- Re: Sendmail / Cyrus issues: user not found Jon Mitchiner
- Re: Sendmail / Cyrus issues: user not found Jon Mitchiner