2 messages in net.sourceforge.lists.courier-users[courier-users] Losing my brain with ...
FromSent OnAttachments
Jason LixfeldFeb 5, 2003 2:25 pm 
Chris BerryFeb 5, 2003 2:45 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Losing my brain with authdbActions...
From:Jason Lixfeld (jlix@andromedas.com)
Date:Feb 5, 2003 2:25:42 pm
List:net.sourceforge.lists.courier-users

I've been trying for about 3 days now to get this stuff working. I've had some great suggestions from people here, but unfortunatley all their suggestions and all my tinkering and all my reading has still left me hanging.

I'm trying to setup virtualhosting for one single domain with courier as the mta, popper and imap server. The error that is plaguing me (and I'm sure if I get this fixed, popper and imap will magically start working as well) is a User unknown when trying to send to a virtual user:

=== (maillog) ===

Feb 5 16:21:58 industry courierd: newmsg,id=00004004.3E418076.00001910 Feb 5 16:21:58 industry courierd: id=00004004.3E418076.00001910,from=<jlix@industry.synchrosounds.com>,addr=<jas@industry.synchrosounds.com>: 550 User unknown. Feb 5 16:21:58 industry courierd: id=00004004.3E418076.00001910,from=<jlix@industry.synchrosounds.com>,addr=<jas@industry.synchrosounds.com>,status: failure Feb 5 16:21:58 industry courierd: completed,id=00004004.3E418076.00001910 Feb 5 16:21:58 industry courierd: started,id=00004004.3E418076.00001910,from=<>,module=dsn,host=,addr=<jlix@industry.synchrosounds.com> Feb 5 16:21:58 industry courierd: Waiting. shutdown time=none, wakeup time=Wed Feb 5 16:49:23 2003, queuedelivering=2, inprogress=1

=====

I've recently experimented with deleting $HOME to see if the logfile error changed; it didn't. I was hoping that if the logfile error changed after I deleted $HOME, it would point me to a permission problem or something. Beause there is no debugging that I have found, it is very difficult to find exactly where a problem lies. Anyway, here's my configuration:

BTW: Yes, I did run makeuserdb and makehosteddomains! :)

=== (userdb) ===

jas@industry.synchrosounds.com home=/services/mail/content/vdomain/synchrosounds.com/jason/Maildir|mail=/services/mail/content/vdomain/synchrosounds.com/jason/Maildir|systempw=$1$Bz0UMXrI$8s1Zzi1x2iNG3P9yyiesX1|gid=999|uid=999

# Ran makeuserdb, .dat file exists and is current.

=== (authdaemonrc) ===

authmodulelist="authuserdb" authmodulelistorig="authuserdb" daemons=5 version="" authdaemonvar=/services/mail/content/authdaemon

=== (authmodulelist) ===

authdaemon

=== (courierd) ===

prefix="/services/mail/courier" exec_prefix="/services/mail/courier" PATH=/services/mail/courier/bin:/bin:/usr/bin:/usr/local/bin SHELL=/bin/sh DYNAMICDELIVERIES=1 DEFAULTDELIVERY=./Maildir MAILDROPDEFAULT=./Maildir ESMTP_CORK=1 UUXFLAGS="-j -g C" ESMTP_USE_STARTTLS=1 LC_ALL=C COURIERTLS=/services/mail/courier/bin/couriertls ESMTP_TLS_VERIFY_DOMAIN=0 TLS_PROTOCOL=SSL3 TLS_TRUSTCERTS= TLS_VERIFYPEER=NONE

=== (esmtpacceptmailfor) ===

.synchrosounds.com synchrosounds.com .andromedas.com andromedas.com

=== (locals) ===

empty/non-existent

=== (esmptd) ===

PATH=/services/mail/courier/bin:/bin:/usr/bin:/usr/local/bin SHELL=/bin/sh ULIMIT=4096 BOFHCHECKDNS=1 BOFHNOEXPN=0 BOFHNOVRFY=0 NOADDMSGID=1 NOADDDATE=1 AUTH_REQUIRED=0 COURIERTLS=/services/mail/courier/bin/couriertls TLS_PROTOCOL=SSL3 TLS_CERTFILE=/services/mail/courier/share/esmtpd.pem TLS_VERIFYPEER=NONE MAILUSER=daemon MAILGROUP=daemon PORT=smtp BLACKLISTS="" ACCESSFILE=${sysconfdir}/smtpaccess MAXDAEMONS=40 MAXPERC=5 MAXPERIP=5 PIDFILE=/services/mail/content/tmp/esmtpd.pid TCPDOPTS="-stderrlogger=/services/mail/courier/sbin/courierlogger" AUTHMODULES="" ESMTPAUTH="" AUTHMODULES_WEBADMIN="authdaemon" ESMTPAUTH_WEBADMIN="LOGIN CRAM-MD5" ESMTPAUTH_TLS="" ESMTPAUTH_TLS_WEBADMIN="PLAIN LOGIN CRAM-MD5" ESMTPDSTART=NO

=== (hosteddomains) ===

industry.synchrosounds.com

# Ran makemakehosteddomains, .dat file exists and is current.

=== ($HOME directory tree) ===

[root@industry courier]# tree -apugDF /services/mail/content/vdomain/ /services/mail/content/vdomain/ `-- [drwxr-xr-x root root Feb 5 16:24] synchrosounds.com/ `-- [drwxr-xr-x 999 999 Feb 5 16:24] jason/ `-- [drwx------ 999 999 Feb 5 16:24] Maildir/ |-- [drwx------ 999 999 Feb 5 16:24] cur/ |-- [drwx------ 999 999 Feb 5 16:24] new/ `-- [drwx------ 999 999 Feb 5 16:24] tmp/

6 directories, 0 files

=== (ps -xauw) ===

root 6638 0.0 0.2 1696 572 ? S 17:01 0:00 /services/mail/courier/libexec/authlib/authdaemond.plain start root 6647 0.0 0.3 1696 596 ? S 17:01 0:00 /services/mail/courier/libexec/authlib/authdaemond.plain start root 6648 0.0 0.2 1696 572 ? S 17:01 0:00 /services/mail/courier/libexec/authlib/authdaemond.plain start root 6649 0.0 0.2 1696 572 ? S 17:01 0:00 /services/mail/courier/libexec/authlib/authdaemond.plain start root 6655 0.0 0.2 1696 572 ? S 17:01 0:00 /services/mail/courier/libexec/authlib/authdaemond.plain start root 6656 0.0 0.2 1696 572 ? S 17:01 0:00 /services/mail/courier/libexec/authlib/authdaemond.plain start root 6661 0.0 0.2 1948 556 ? S 17:01 0:00 /services/mail/courier/libexec/courier/courierd daemon 6663 0.0 0.3 1656 704 ? S 17:01 0:00 /services/mail/courier/sbin/couriertcpd -stderrlogger=/services/mail/courier/sbin/courierlogger -user=daemon -group=daemon -access=/services/mail/conf/courier/smtpaccess.dat -maxprocs=40 -maxperc=5 -maxperip=5 -pid=/services/mail/content/tmp/esmtpd.pid smtp /services/mail/courier/sbin/courieresmtpd /services/mail/courier/libexec/courier/modules/esmtp/authstart authdaemon root 6666 0.0 0.3 1644 652 ? S 17:01 0:00 /services/mail/courier/sbin/couriertcpd -address=0 -stderrlogger=/services/mail/courier/sbin/courierlogger -stderrloggername=pop3d -maxprocs=40 -maxperip=4 -pid=/services/mail/content/tmp/pop3d.pid -nodnslookup -noidentlookup -address=0 110 /services/mail/courier/libexec/courier/courierpop3login /services/mail/courier/libexec/authlib/authdaemon /services/mail/courier/libexec/courier/courierpop3d Maildir root 6667 0.0 0.3 1644 652 ? S 17:01 0:00 /services/mail/courier/sbin/couriertcpd -address=0 -stderrlogger=/services/mail/courier/sbin/courierlogger -stderrloggername=imapd -maxprocs=40 -maxperip=4 -pid=/services/mail/content/tmp/imapd.pid -nodnslookup -noidentlookup 143 /services/mail/courier/libexec/courier/imaplogin /services/mail/courier/libexec/authlib/authdaemon /services/mail/courier/bin/imapd Maildir daemon 6668 0.0 0.6 2456 1332 ? S 17:01 0:00 /services/mail/courier/libexec/courier/courierd daemon 6670 0.0 0.1 1376 328 ? S 17:01 0:00 /services/mail/courier/sbin/courierlogger courieresmtpd root 6673 0.0 0.1 1376 328 ? S 17:01 0:00 /services/mail/courier/sbin/courierlogger imapd root 6674 0.0 0.1 1376 328 ? S 17:01 0:00 /services/mail/courier/sbin/courierlogger pop3d uucp 6675 0.0 0.2 1484 528 ? S 17:01 0:00 ./courieruucp root 6676 0.0 0.1 1408 380 ? S 17:01 0:00 ./courierlocal root 6677 0.0 0.1 1420 372 ? S 17:01 0:00 ./courierfax daemon 6678 0.0 0.2 1540 472 ? S 17:01 0:00 ./courieresmtp daemon 6679 0.0 0.2 1416 460 ? S 17:01 0:00 ./courierdsn root 6703 0.0 0.3 1732 600 pts/0 S 17:07 0:00 grep courier

=====

I think I've covered all the bases as far as what config files are relovent, but if there is anything else I can offer, I'd be happy to.

Thanks in advance!