ownership problem with qmail, maildir, and vpopmail

This is a discussion on ownership problem with qmail, maildir, and vpopmail within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; I've been trying to figure this out for a week now... When I send mail through my smtp server, ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-26-2008
noblessw@gmail.com
 
Posts: n/a
Default ownership problem with qmail, maildir, and vpopmail

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.
Reply With Quote
  #2 (permalink)  
Old 01-26-2008
noblessw@gmail.com
 
Posts: n/a
Default [SOLVED] ownership problem with qmail, maildir, and vpopmail

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.


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:28 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0