
cweimann at gmail
Jul 3, 2008, 4:03 PM
Post #7 of 12
(1111 views)
Permalink
|
Well, its different :) On Thu, Jul 3, 2008 at 2:51 PM, John Simpson <jms1[at]jms1.net> wrote: >> >> jet# ./mkvalidrcptto.test | egrep "joe|nowhere.mil" >> Virtual domain "nowhere.mil" will not reject mail to non-existent >> mailboxes. >> joe[at]localhost >> joe-foo-joe[at]localhost >> @nowhere.mil >> jet# ls /home/joe/.qmail* >> /home/joe/.qmail-foo-joe >> jet# >> >> It seems to think I have a /home/joe/.qmail-foo-default file. I would >> expect it to only accept mail for joe[at]nowhere.mil. > > it doesn't inspect the contents of the home directory at all. however, after > re-reading "man dot-qmail" (i don't normally use system users for mailboxes > at all, so this stuff isn't as fresh in my mind as it should be) i can see > that it needs to. > > i've just updated it, please try again. > jet# ./mkvalidrcptto.test ERROR: no appropriate .qmail file exists in "joe-foo" home directory, for virtual domain "nowhere.mil" > again, thanks for letting me know... i'd much rather make the script > correctly handle all of these (as i think of them) "edge cases", than have > to tell people to look elsewhere simply because they don't do things exactly > the same way i do (i.e. with a zero-byte "locals" file, and every domain, > including the "me" domain, managed by vpopmail.) > In my situation I have one customer might have multiple domains. They will have different people responsible for the billing@ addresses for each domain but they only have one account on the mail server. Therefore the first domain might have /home/joe/.qmail-foo-billing and /home/joe/.qmail-bar-billing and those two files have different delivery instructions in them. Some clients have a -default file besides the -billing one but the sane ones do not. I'm pretty sure one even has a -default for one domain but not the others. As far as this being an edge case I'm not really sure how else I would do it :)
|