On Wed, 6 Jun 2007, Andy Lyttle wrote:
What's the best way to configure imapd/ipop3d to deny user logins unless the
user is a member of a particular group?
The best routine to make such a check is pw_login() in env_unix.c. Note
the existing code that checks the list of mail administrators.
Hi,
I did it through PAM,
in /etc/pam.d/imap (or pop3)
#%PAM-1.0
auth required pam_stack.so service=system-auth
accountrequired pam_access.so accessfile=/etc/security/imap_access.conf
accountrequired pam_stack.so service=system-auth
in /etc/security/imap_access.conf
OK, I've got something that seems to work!
I've added two lines to the pw_login() function in env_unix.c, so it
looks like this:
/* make safe copies of user and home */
if (user) user = cpystr (pw-pw_name);
home = cpystr (home ? home : pw-pw_dir);
Hello,
We are using IMAP Append commands with UW IMAP v2006h and MIX folders.
They are being passed through Mail::Cclient perl module (v1.12 --
latest), but by enabling imap telemetry, it doesn't seem that Perl is
the issue at all.
What I find is that sometimes (and I cannot determine the
Hi Erik -
The telemetry that you provided is incomplete, as it does not contain the
tagged OK response from your command.
I am looking for a tagged OK related to the APPEND command, something
like:
0007 OK [APPENDUID 1181165017 1] APPEND completed
or perhaps something like:
Ok.
1. The flags ARE defined on the target mailbox already as all I am
really doing is deleting a message and appending it back to the same
folder slightly modified (annotated) but with the same keywords.
Sometimes it works, sometimes it doesn't * on the same message with the
same keywords
Try the imap-2006i development tarball. The spurious create bug is
definitely fixed; and maybe the other problem.
-- Mark --
http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.