-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 01 August 2004 02:56, Frederik Dannemare wrote: > On Saturday 31 July 2004 19:38, Topper Harley wrote:
[ snip ] > You should be able to do it kinda like this: > > mailhost:~# su - courier > mailhost:~$ mkdir -p /home/courier/vdomain.com/alias > mailhost:~$ echo "[EMAIL PROTECTED]" \ > > >/home/courier/vdomain.com/alias/.courier-default > > mailhost:~$ mysql -u courier -p courier > mysql> INSERT INTO users VALUES ('[EMAIL PROTECTED]',UID,GID, > -> 'passwd_not_needed','/home/courier/vdomain.com/alias'); > > Let us know if it works. Another way to do it, I think, would be to do something along the lines of: mailhost:~# echo "| /usr/bin/maildrop -d courier" \ >/etc/courier/aliasdir/.courier-default mailhost:~# chmod u+s /usr/bin/maildrop # maildrop needs to be setuid root here, I believe (pls correct me, if I'm wrong) cat <<EOF >/home/courier/.mailfilter logfile "/home/courier/maildrop-filter-log" if ( ( /^To:[EMAIL PROTECTED]/ ) || ( /^Cc:[EMAIL PROTECTED]/ ) ) { to "/home/courier/vdomain.com/webmaster/Maildir" } if ( /^To:.*/ ) { to "/dev/null" } EOF - -- Frederik Dannemare | mailto:[EMAIL PROTECTED] GnuPG key: search for 'dannemare' on http://pgpkeys.mit.edu Key fingerprint: BB7B 078A 0DBF 7663 180A F84A 2D25 FAD5 9C4E B5A8 http://frederik.dannemare.net | http://www.linuxworlddomination.dk -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBDEMuLSX61ZxOtagRAqmPAJoCX+WO12Rg+ruz6Gkssy5swz9E5wCggaZE iiSd47bH1Tp4X6vIzOGDGa8= =S8Lm -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users