2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] courier + mysql +...
FromSent OnAttachments
tros...@juniper.netJul 21, 2003 12:49 pm 
tros...@juniper.netJul 21, 2003 1:16 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:Re: [courier-users] courier + mysql + domainsActions...
From:tros...@juniper.net (tros@juniper.net)
Date:Jul 21, 2003 1:16:45 pm
List:net.sourceforge.lists.courier-users

Lame to respond to my own question BUT: hosteddomains vs. locals was my problem... M

So am using MySQL & am trying to direct different domains to different maildirs.... Problem is every email that comes in doesn't have the domain name appended to it when it goes to ask MySQL what's up... By setting 'defaultdomain' all incoming email gets that domain appended to it. So I get debug lines like:

Jul 21 11:18:14 [courierd]
started,id=0001B114.3F1C2E66.00001A8D,from=<>,module=local,host=ma@foobie.com!!8!12!/var/spool/mail/foobie.com/mark!!,addr=<mark>

Note 'foobie.com' is the default domain & 'addr=<mark>' even tho the email was addressed to 'ma@someothervirtualdomain.com' ...

How can I get 'addr' properly expanded so the defaultdomain doesn't have to be used?

thanks, M