Ok, here's the answer. I've been beating my head against a wall and I
found a command someone suggested to run to troubleshoot qmail. /var/
qmail/bin/qmail-showctl . And here's the magic line....
Messages to be delivered locally: subdomain.domain.com ....... See
the problem? It was only going to deliver mail to my domain if it
matched
user@subdomain.domain.com instead of
user@domain.com .
Here's the fix: edit /var/qmail/control/locals change the subdomain
to your domain and away you go.
Man, I knew it was an easy answer, it always is in linux... (most of
the time). Hope this helps someone out there (or me next time I have
this undocumented problem ;)
On Jan 26, 10:21 am, noble...@gmail.com wrote:
> I've been trying to figure this out for a week now...
>
> When I send mail through my smtp server, it stores the mail in /var/
> vpopmail/domain/<domain>/<user>/.maildir . I'm using vpopmail with a
> mysql database. I fixed that so it delivers to /home/<user>/.maildir
> by manually changing the path to the maildir in my mysql database.
>
> Here's the problem, when it creates new mail, it does so with
> ownership vpopmail:vpopmail and file mode 700. So, now my users dont
> have permission to view their mail.
>
> How can I fix this?
>
> Thanks. Let me know if you need any more information.