Can't deliver to user@domain accounts from sendmail

James A. Pattie james at pcxperience.com
Fri Sep 12 17:36:59 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrzej Filip wrote:
| James A. Pattie wrote:
|
|>     I'm trying to get cyrus 2.1.14 on a Debian Testing box w/ Sendmail
|> 8.12.9 to
|> deliver using the user at domain style of cyrus accounts instead of just
|> user.
|>
|>     I have been able to create the account via cyradm, but I can't get
|> sendmail
|> configured so that it will deliver any e-mail now to cyrus.
|>
|>     my sendmail.mc snippet is:
|>
|> MAILER_DEFINITIONS
|> Mcyrus,         P=[IPC], F=lsDFMnqA@/:|SmXz, E=\r\n,
|> ~                S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP,
|> T=DNS/RFC822/X-UNIX,
|> ~                A=FILE /var/run/cyrus/socket/lmtp
|>
|> LOCAL_RULE_0
|> Rbb + $+ < @ $=w . >    $#cyrus $: + $1
|>
|>
|> ------
|>
|> I'm getting the following errors:
|> Sep 11 14:48:02 debian sm-mta[31022]: h8BJcXbt030819:
|> to=<root at mail.pcxperience.com>, delay=00:09:29, xdelay=00:00:00,
|> mailer=cyrus,
|> pri=300328, relay=localhost, dsn=4.4.2, stat=Deferred: Connection
|> reset by localhost
|>
|> I'm using saslauthd and that was working before I decided to move the
|> accounts
|> to user at domain style.  I have unixhierachysep: yes.
|>
|> I have googled and I haven't found any solution to this problem.  Is
|> it not
|> possible to work with cyrus 2.1.x in this manner?
|>
|>
|> Any help appreciated.
|
|
| I assumed you run sendmail 8.12.
| What is reported by the command below executed by root ?
|
| ( echo Subject: test; echo ) | sendmail -oi -v root at mail.pcxperience.com
|

Here's the output from /var/log/mail.log that corresponds to the test I just sent.

Sep 12 16:28:24 debian cyrus/lmtpunix[17814]: executed
Sep 12 16:28:24 debian cyrus/lmtpd[17814]: accepted connection
Sep 12 16:28:24 debian cyrus/lmtpd[17814]: lmtp connection preauth'd as postman
Sep 12 16:28:24 debian sm-mta[17813]: h8CLSOtn017811: to=<test at pcxperience.com>,
delay=00:00:00, xdelay=00:00:00, mailer=cyrus, pri=120343, relay=localhost,
dsn=5.1.1, stat=User unknown
Sep 12 16:28:24 debian sm-mta[17813]: h8CLSOtn017811: h8CLSOtm017813: DSN: User
unknown
Sep 12 16:28:24 debian cyrus/lmtpd[17814]: duplicate_check:
<200309122128.h8CLSOtm017813 at mail.pcxperience.com> user.root            0
Sep 12 16:28:24 debian cyrus/lmtpd[17814]: unable to sendto() notify socket:
Connection refused
Sep 12 16:28:24 debian cyrus/lmtpd[17814]: mystore: starting txn 2147483679
Sep 12 16:28:24 debian cyrus/lmtpd[17814]: mystore: committing txn 2147483679
Sep 12 16:28:24 debian cyrus/lmtpd[17814]: duplicate_mark:
<200309122128.h8CLSOtm017813 at mail.pcxperience.com> user.root            1063402104
Sep 12 16:28:24 debian sm-mta[17813]: h8CLSOtm017813:
to=<root at mail.pcxperience.com>, delay=00:00:00, xdelay=00:00:00, mailer=cyrus,
pri=31645, relay=localhost [[UNIX: /var/run/cyrus/socket/lmtp]], dsn=2.0.0,
stat=Sent
Sep 12 16:29:19 debian cyrus/imapd[17022]: idle for too long, closing connection
Sep 12 16:29:24 debian cyrus/lmtpd[17814]: Could not shut down filedescriptor 0:
Bad file descriptor
Sep 12 16:29:24 debian cyrus/lmtpd[17814]: Could not shut down filedescriptor 1:
Bad file descriptor
Sep 12 16:29:24 debian cyrus/lmtpd[17814]: Could not shut down filedescriptor 2:
Bad file descriptor
Sep 12 16:29:24 debian cyrus/master[16738]: process 17814 exited, status 0
Sep 12 16:30:19 debian cyrus/imapd[17022]: Could not shut down filedescriptor 0:
Bad file descriptor
Sep 12 16:30:19 debian cyrus/imapd[17022]: Could not shut down filedescriptor 1:
Bad file descriptor
Sep 12 16:30:19 debian cyrus/imapd[17022]: Could not shut down filedescriptor 2:
Bad file descriptor
Sep 12 16:30:19 debian cyrus/master[16738]: process 17022 exited, status 0


- --
James A. Pattie
james at pcxperience.com

Linux  --  SysAdmin / Programmer
Xperience, Inc.
http://www.pcxperience.com/
http://www.xperienceinc.com/

GPG Key Available at http://www.pcxperience.com/gpgkeys/james.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQE/Yjx7tUXjwPIRLVERAiEAAJ0cA7xzTiymULeS5u1XHZk1VsmAGACfZRjf
CiybA2QX7alvhFeMCT2ymMc=
=QSKv
-----END PGP SIGNATURE-----


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the Info-cyrus mailing list