$50 to anyone who can help me fix this problem (serious)
Bruce A. Bergman
bruceb at fatcity.com
Fri Nov 21 23:08:47 EST 2003
I'm at my wits end here, and have been fighting this thing for half a year
(off and on) with no success. So, US$50 will be sent to the first person
who helps me figure out what's wrong with my config such that things work
correctly. I am serious -- I will definitely pay this bounty to the first
person who can figure out what the heck I have (or have not) done.
Disclaimer: I am a competent Linux admin, years of experience. Can grok
sendmail to a fair extent. RedHat 7.1 system otherwise working perfectly.
Synopsis: Mail to me from anywhere else in the net.world works fine.
Cyrus delivers it to me as expected. However, if I try sending to one of my
client domain addresses, and my E-mail address is included in any config
file, the result is that the message is never delivered. It ends up (and
stays) in the mqueue forever. I have TONS of disk space free, and I do not
use quotas, btw.
I will include what I think you gurus might ask for, but let me know if you
need anything else not included here:
Here's what rpm -qa shows:
# standard standalone server implementation
# do not delete these entries!
mboxlist cmd="ctl_mboxlist -r"
deliver cmd="ctl_deliver -r"
# UNIX sockets start with a slash and are put into /var/imap/socket
# add or remove based on preferences
imap cmd="/usr/cyrus/bin/imapd" listen="imap" prefork=0
imaps cmd="/usr/cyrus/bin/imapd -s" listen="imaps" prefork=0
pop3 cmd="/usr/cyrus/bin/pop3d" listen="pop3" prefork=0
pop3s cmd="/usr/cyrus/bin/pop3d -s" listen="pop3s" prefork=0
sieve cmd="/usr/cyrus/bin/timsieved" listen="sieve" prefork=0
# at least one LMTP listener is required for proper delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
lmtpunix cmd="/usr/cyrus/bin/lmtpd" listen="/var/imap/socket/lmtp"
# this is required
checkpoint cmd="ctl_mboxlist -c" period=30
# this is only necessary if using duplicate delivery suppression
#delprune cmd="ctl_deliver -E 3" period=1440
A directory of /var/imap:
drwxr-x--- 2 cyrus mail 4096 Nov 21 19:05 db
drwxr-x--- 3 cyrus mail 4096 Jun 17 11:25 deliverdb
drwxr-x--- 2 cyrus mail 4096 May 12 2003 log
-rwxr-x--- 1 cyrus mail 0 Mar 2 2001 mailboxes
-rw------- 1 cyrus root 16384 Nov 9 12:09 mailboxes.db
drwxr-x--- 2 cyrus mail 4096 Dec 1 2002 msg
drwxr-x--- 2 cyrus mail 8192 Nov 21 19:29 proc
drwxr-x--- 28 cyrus mail 4096 Sep 19 2002 quota
drwxr-xr-x 2 cyrus mail 4096 Nov 21 19:05 socket
drwxr-x--- 28 cyrus mail 4096 Sep 19 2002 user
A directory of /var/imap/socket:
srwxrwxrwx 1 root root 0 Nov 21 19:05 lmtp
srwxrwxrwx 1 root root 0 May 15 2003 xyz
lmtp 2003/tcp # lmtpd for cyrus
My sendmail.mc file:
dnl This is the macro config file used to generate the /etc/sendmail.cf
dnl file. If you modify this file you will have to regenerate the
dnl /etc/sendmail.cf by running this macro config through the m4
dnl m4 /etc/sendmail.mc > /etc/sendmail.cf
dnl You will need to have the sendmail-cf package installed for this to
FEATURE(`mailertable',`hash -o /etc/mail/mailertable')
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')
dnl We strongly recommend to comment this one out if you want to protect
dnl yourself from spam. However, the laptop and users on computers that do
dnl not hav 24x7 DNS do need this.
My domain is fatcity.com, and I have many customers (in other domains I
host) that I support.
In /etc/aliases, bruceb at fatcity.com is directed to bruceb at CYRUS.
/etc/mail/mailertable has the following in it:
I have a line in /etc/mail/virtusertable such as (somesite.com is one of my
customer's domains which I administer):
testing at somesite.com testing-alias
In /etc/aliases, you'll find:
bruceb at CYRUS,user1 at somesite.com,user2 at somesite.com
(BTW, I've tried 'bruceb', 'smtp:bruceb at CYRUS', 'bruceb at fatcity.com' and
others in this alias with no difference in end-result behavior...)
When I send mail from any other account (something on yahoo, for example),
the mail is delivered to everyone perfectly, including me. Whoo hoo! :-)
When I send mail from my account (bruceb at fatcity.com), it delivers everyone
fine EXCEPT me. Instead, what I get is the following in mqueue:
/var/spool/mqueue (1 request)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient---------
hAM3n5720012 7 Fri Nov 21 19:49 <bruceb at fatcity.com>
(Deferred: cyrus mailer (/usr/cyrus/bin/deliver) exited
bruceb at CYRUS
Looking at the qFile, I see:
MDeferred: cyrus mailer (/usr/cyrus/bin/deliver) exited with EX_TEMPFAIL
Flushing the mqueue gets:
Running /var/spool/mqueue/hAM3n5720012 (sequence 1 of 1)
bruceb at CYRUS... aliased to bruceb at CYRUS
bruceb at CYRUS... Connecting to INBOX via cyrus...
bruceb at CYRUS... Deferred: cyrus mailer (/usr/cyrus/bin/deliver) exited with
In /var/log/messages, I see:
Nov 21 19:51:03 mh2 deliver: connect(/var/imap/socket/lmtp) failed:
So that's where I'm stuck. Any clues?? Again, the disk isn't full, and I
don't use quotas. Using "-q" has not made a difference.
I hope $50 is still worth something these days! :-)
More information about the Info-cyrus