[courier-users] Auto creation of home dir on first mail and/or logon to imap/pop3
I am setting up a mail hosting solution with a simple SQL+PHP interface but I need to make a sudo script (kinda like quica does it) to make the users home dirs. Could this be automated like postfix does it? When the user receives a welcome mail or at the first logon he/she will get the home dir and mail dirs automatically made. Hope this is possible. Thanks in advance. Best regards Stian B. Barmen --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] how to prevent wrong mail delivery
chester c young wrote: with two local domains d1.com and d2.com having users u1 and u2 respectively. if mail is wrongly addressed to u2ATd1.com, how do you bounce the mail and/or insure u2 does not receive it by accident? You don't. That's the point of a *local* domain. When d1.com and d2.com are both in 'locals' then there is no '[EMAIL PROTECTED]' and no '[EMAIL PROTECTED]'. There is only 'u1' and 'u2'. It doesn't matter which domain is used; u1@any-local-domain is always delivered to the user 'u1'. You need to redo these domains as hosteddomains. In that case '[EMAIL PROTECTED]' and '[EMAIL PROTECTED]' are two separate accounts since the domain is now part of the account name. Read the DESCRIPTION section of the 'makehosteddomains' man page for an explanation of how this works. I think that what you really want is hosted domains, not local domains. Jeff Jansen --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] common alias between two local domains - how?
chester c young wrote: with two local domains, d1.com and d2.com, with respective users support1 and support2. would like mail to supportATd1.com to be deliverd to support1 (AT d1.com), and supportATd2.com to go to support2 (AT d2.com). You really should set these two domains up as hosteddomains if this is going to happen very often, as others have explained. However, if you don't want to redo your domains as hosteddomains for just this account then you could also use a .mailfilter file if you are using maildrop to deliver your mail. Create the file '.mailfilter' in the HOME directory for the support user and then put the following in it. import RECIPIENT if ($RECIPIENT eq '[EMAIL PROTECTED]') to ! [EMAIL PROTECTED] if ($RECIPIENT eq '[EMAIL PROTECTED]') to ! [EMAIL PROTECTED] else ./Maildir This should redirect all the mail for the support address at those two domains to the proper addresses. Anything else will be delivered locally. Again, you'll need to use maildrop as your delivery agent in order for this to work. Check out the 'maildropfilter' man page for the proper syntax if you want to change this around. Jeff Jansen --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] how to prevent wrong mail delivery
chester c young wrote: with two local domains d1.com and d2.com having users u1 and u2 respectively. if mail is wrongly addressed to u2ATd1.com, how do you bounce the mail and/or insure u2 does not receive it by accident? how do you know that [EMAIL PROTECTED] is wrongly addressed? --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users