On Sat, 2007-09-08 at 12:49 -0400, Sam Varshavchik wrote:
> >> The only suspicious thing I see in your log entry is:
> >> 
> >> …/tcdp.org/alias!!,addr=<.iS>
> >> 
> >> I have no idea where the ".iS" recipient address comes from.
> > 
> > Yep.  This is obviously bogus.  I noticed it too, and I'm going to have
> > to do some serious digging to find it.  It doesn't come from anything
> > explicit in my setup.
> > 
> > /etc/courier# grep -R iS *  =>  nada
> > 
> > I'm not finding it anywhere in any of the config files in the virtual
> > mail tree, either.
> 
> The . could represent an unprintable, control character, it almost looks 
> like minor memory corruption, however even if it were so, the message should 
> still end up getting delivered somewhere.

One would think so.  I did the same test again:

Sep  8 12:02:19 shakti courierd: 
newmsg,id=000000000014255A.0000000046E2D55D.000076C7: dns; bubba.cactus.org 
(bubba.cactus.org [::ffff:192.207.27.54])
Sep  8 12:02:19 shakti courierd: 
started,id=000000000014255A.0000000046E2D55D.000076C7,from=<[EMAIL 
PROTECTED]>,module=local,[EMAIL 
PROTECTED]/home/vmail/domains/fmp.com/alias!!,addr=<[EMAIL PROTECTED]>
Sep  8 12:02:19 shakti courierd: Waiting.  shutdown time=none, wakeup time=Sat 
Sep  8 12:02:31 2007, queuedelivering=253, inprogress=5
Sep  8 12:02:19 shakti courierlocal: 
id=000000000014255A.0000000046E2D55D.000076C7,from=<[EMAIL 
PROTECTED]>,addr=<@fmp.com>,size=703,success: Message delivered.
Sep  8 12:02:19 shakti courierd: 
completed,id=000000000014255A.0000000046E2D55D.000076C7

No weird "iS" in these.

Nonetheless, the mail didn't show up anywhere.  It has a marker string
it it, ("XYZZY") and a recursive grep for this in my vmail directories
turns up nothing.

I have a hunch here, and I'm going to research it.  I'm using a pretty
complex query of the MySQL database which contains my virtual mail data
in , and I have things set up so that the query will return a valid
account for either "[EMAIL PROTECTED]" or "user.domain.name".  I'll bet I
need to revisit this query and possibly refine it.  My guess is that it
may be returning some kind of a result if the username is null.

MYSQL_SELECT_CLAUSE     select CONCAT(id,"@",domain_name) as
idd,crypt,clear,uid,gid,home,maildir,quota,name,"" from courier.passwd
where (id=lower("$(local_part)") and domain_name=lower("$(domain)")) or
CONCAT(lower(id),".",lower(domain_name))="$(local_part)"

if "$local_part == "" we still have a valid query, say, for @fmp.com:

select CONCAT(id,"@",domain_name) as
idd,crypt,clear,uid,gid,home,maildir,quota,name,"" from courier.passwd
where (id=lower("") and domain_name=lower("fmp.com")) or
CONCAT(lower(id),".",lower(domain_name))=""

This returns an empty set if I do this manually, but if I turn on MySQL
logging I may see some informative results from courier's queries.

-- 
Lindsay Haisley       | "In an open world,    |     PGP public key
FMP Computer Services |    who needs Windows  |      available at
512-259-1190          |      or Gates"        | http://pubkeys.fmp.com
http://www.fmp.com    |                       |


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to