Sendmail / Cyrus issues: user not found

Jon Mitchiner cyrus at mitchiner.net
Thu Sep 26 19:29:20 EDT 2002


If it helps -- some additional information:

   ----- The following addresses had permanent fatal errors -----
jon.mitchiner at domain.com
    (reason: 550-Mailbox unknown.  Either there is no mailbox associated with this)

   ----- Transcript of session follows -----
... while talking to localhost:
>>> RCPT To:<jon.mitchiner>
<<< 550-Mailbox unknown.  Either there is no mailbox associated with this
<<< 550-name or you do not have authorization to see it.
<<< 550 5.1.1 User unknown
550 5.1.1 jon.mitchiner at domain.com... User unknown

I have revised my sendmail.mc file below to include the following line at the top (below divert) as:

include(`/usr/share/sendmail-cf/m4/cyrusv2.m4')

That did not help.  Does someone have a sample (and working) sendmail.mc and any .m4 files (if needed) that they can send me?

Thanks!
Jon

  ----- Original Message ----- 
  From: Jon Mitchiner 
  To: info-cyrus at andrew.cmu.edu 
  Sent: Thursday, September 26, 2002 3:25 PM
  Subject: Sendmail / Cyrus issues: user not found


  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 "jon.mitchiner at domain.com" 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 

  cyrus at domain.com: cmusaslsecretOTP
  jon.mitchiner at domain.com: userPassword
  cyrus at domain.com: userPassword

  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20020926/d4a42365/attachment.html


More information about the Info-cyrus mailing list