Geo writes:

« HTML content follows »

If you have any follow-up questions, you will need to format them according
to generally-accepted formatting conventions for Internet E-mail.

Top-posting is rude.

I will not reply to any top-posted followups.

I've tried chowning the files to root, the 'courier' user, as well as the
user who has the mailbox that has the .courier, .courier-default and
.courier-owner files in his home directory. All three attempts produce the
same response. I agree with what you're saying, and permissions are
whacked somehow, but which user *should* own the files?

If you do not know what numeric uid/gid you are using for a configured mail
account, then you really need to step back, and review the documentation
until you have a better idea how things are supposed to work.

This mail account did not appear by itself.  Whatever mailbox address you
are using for list mail, you must've created this account at some point in
the past.  When you did that, you must've specified this account's home
directory, maybe the default maildir, as well as its numeric uid and gid.

That's the numeric uid and gid that must own all the files in this account.

You didn't even state, to my recollection, whether you are using MySQL,
LDAP, PostgreSQL, or other type of authentication, so nobody can even tell
you where to look.

And even if you're completely lost, then you should still be able to figure
this out using basic UNIX principles.  Your message does indicate that
you've set up couriermlm to be invoked upon mail receipt, therefore you must
already know that putting "| command" into a .courier files causes the
indicated command to run upon receipt of mail.

Therefore, it follows that putting "| echo foo >/tmp/bar" into the .courier
file will cause this command to be executed upon receipt of a test message,
thus creating a dummy /tmp/bar file.

And, since newly created files are owned by the effective uid/gid of the
process that created the file, this is how you can figure out -- if you
don't know where else to look -- who should own all the files in this mail
account.

I really don't think that this should be so difficult.  This is basic Unix
stuff.



Attachment: pgpyMrrzlsjiy.pgp
Description: PGP signature

Reply via email to