Virtual domain Sendmail problem

dimon at intellinetinc.com dimon at intellinetinc.com
Fri Mar 14 15:11:17 EST 2003


Hi,

I configured Cyrus IMAP and Sendmail according install-virtdomains.html:

in /etc/mailertable
intellinet.ab.ca              cyrusv2:/var/imap/socket/lmtp
skillsforsuccess.ca              cyrusv2:/var/imap/socket/lmtp

then
makemap hash /etc/mail/mailertable < /etc/mail/mailertable

in sendmail.mc
FEATURE(`mailertable', `hash /etc/mail/mailertable')
MAILER(`smtp')dnl
MAILER(`local')dnl
MAILER(`cyrusv2')dnl

in sendmail.cf fixed
S=EnvFromSMTP/HdrFromL, R=EnvToL/HdrToL,

in imapd.conf added
virtdomains: yes
defaultdomain: intellinet.ab.ca

and I have users:
user/test.user (\HasChildren)
user/test.user/Deleted Items (\HasNoChildren)
user/test.user/Drafts (\HasNoChildren)
user/test.user/SPAM (\HasNoChildren)
user/test.user/Sent Items (\HasNoChildren)
user/test.user at skillsforsuccess.ca (\HasNoChildren)

But still I can't receive mail It seems that sendmail passes FQDN to cyrus2 but 
it can't recognize users anyway
Here is the strip from sendmail log file:

Mar 14 12:55:32 intellinet sm-mta[35564]: NOQUEUE: connect from 
web41302.mail.yahoo.com [66.218.93.51]
Mar 14 12:55:32 intellinet sm-mta[35564]: AUTH: available mech=LOGIN ANONYMOUS 
PLAIN DIGEST-MD5 CRAM-MD5, allo
wed mech=DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: --- 220 
localhost.intellinet.ab.ca ESMTP Sendmail 8.
12.8/8.12.8; Fri, 14 Mar 2003 12:55:32 -0700 (MST)
Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: <-- HELO 
web41302.mail.yahoo.com
Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: --- 250 
localhost.intellinet.ab.ca Hello web41302.ma
il.yahoo.com [66.218.93.51], pleased to meet you
Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: <-- MAIL 
FROM:<dmitry_sorokin at yahoo.ca>
Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: --- 250 2.1.0 
<dmitry_sorokin at yahoo.ca>... Sender ok

Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: <-- RCPT 
TO:<test.user at intellinet.ab.ca>
Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: --- 250 2.1.5 
<test.user at intellinet.ab.ca>... Recipi
ent ok
Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: <-- DATA
Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: --- 354 Enter mail, 
end with "." on a line by itself

Mar 14 12:55:32 intellinet sm-mta[35564]: h2EJtWLG035564: 
from=<dmitry_sorokin at yahoo.ca>, size=495, class=0, n
rcpts=1, msgid=<20030314195528.81944.qmail at web41302.mail.yahoo.com>, 
proto=SMTP, daemon=MTA, relay=web41302.ma
il.yahoo.com [66.218.93.51]
Mar 14 12:55:33 intellinet sm-mta[35564]: h2EJtWLG035564: --- 250 2.0.0 
h2EJtWLG035564 Message accepted for de
livery
Mar 14 12:55:33 intellinet sm-mta[35570]: h2EJtWLG035564: --- 050 
<test.user at intellinet.ab.ca>... Connecting t
o /var/imap/socket/lmtp via cyrusv2...
Mar 14 12:55:33 intellinet sm-mta[35570]: AUTH=client, relay=localhost, mech=, 
bits=0
Mar 14 12:55:33 intellinet sm-mta[35570]: h2EJtWLG035564: --- 550 5.1.1 
<test.user at intellinet.ab.ca>... User u
nknown (hold)
Mar 14 12:55:33 intellinet sm-mta[35570]: h2EJtWLG035564: 
to=<test.user at intellinet.ab.ca>, delay=00:00:01, xde
lay=00:00:00, mailer=cyrusv2, pri=30365, relay=localhost, dsn=5.1.1, stat=User 
unknown
Mar 14 12:55:33 intellinet sm-mta[35570]: h2EJtWLG035564: h2EJtXLG035570: DSN: 
User unknown
Mar 14 12:55:33 intellinet sm-mta[35564]: h2EJtWLH035564: <-- QUIT
Mar 14 12:55:33 intellinet sm-mta[35564]: h2EJtWLH035564: --- 221 2.0.0 
localhost.intellinet.ab.ca closing con
nection
Mar 14 12:55:33 intellinet sm-mta[35570]: h2EJtXLG035570: --- 050 
<dmitry_sorokin at yahoo.ca>... Connecting to m
x1.mail.yahoo.com. via esmtp...
Mar 14 12:55:33 intellinet sm-mta[35570]: h2EJtXLG035570: SMTP outgoing connect 
on mail.intellinet.ab.ca
Mar 14 12:55:34 intellinet sm-mta[35570]: h2EJtXLG035570: --- 050 
<dmitry_sorokin at yahoo.ca>... Sent (ok dirdel
)
Mar 14 12:55:34 intellinet sm-mta[35570]: h2EJtXLG035570: 
to=<dmitry_sorokin at yahoo.ca>, delay=00:00:01, xdelay
=00:00:01, mailer=esmtp, pri=31646, relay=mx1.mail.yahoo.com. [64.156.215.5], 
dsn=2.0.0, stat=Sent (ok dirdel)

Mar 14 12:55:34 intellinet sm-mta[35570]: h2EJtXLG035570: done; delay=00:00:01, 
ntries=1
Mar 14 12:55:34 intellinet sm-mta[35570]: h2EJtWLG035564: done; delay=00:00:02, 
ntries=1
Mar 14 12:55:34 intellinet sm-mta[35570]: NOQUEUE: --- 050 Closing connection 
to mx1.mail.yahoo.com.
Mar 14 12:55:34 intellinet sm-mta[35570]: NOQUEUE: --- 050 Closing connection 
to localhost

Dmitry




More information about the Info-cyrus mailing list