Hello maildrop experts,

I have postfix+maildrop+mysql working. I need a little help about some maildrop regexp. The problem which i have is that only with the next sintax i obtained a correct comportament!

[root@dinu etc]# cat maildroprc
if ( /^From:.*<[EMAIL PROTECTED]>/ )
{
cc "/home/mailusers/test.ro/titi/Maildir/"
}
[root@dinu etc]#
To be short: when [EMAIL PROTECTED] send and email to anyone, i want a copy of each email to be sent to user [EMAIL PROTECTED]! This sintax is working but is not easy to setup the complet path to titi's mailbox account!

My question is: Does not exist any posisbility to replace cc "/home/mailusers/test.ro/titi/Maildir/" with other sintax using email address, like cc [EMAIL PROTECTED] ?

If i try to use:
[root@dinu etc]# cat maildroprc
if ( /^From:.*<[EMAIL PROTECTED]>/ )
{
cc [EMAIL PROTECTED]
}
[root@dinu etc]#

Now [EMAIL PROTECTED] send a message to [EMAIL PROTECTED]

The copy of email is placed in /home/mailusers/test.ro/mimi/0 file and not in /home/mailusers/test.ro/titi/Maildir/ directory!!!!

I tryed to redefine some predefined variabiles like DEFAULT=$HOME/Maildir/ but whithout any result! I want to mention that i use only virtual acounts and $HOME var, is extracted from mysql database.

mysql> select id, home, maildir from users; +-----------+--------------------------------+----------+
| id | home | maildir |
+-----------+--------------------------------+----------+
| mimi.3323 | /home/mailusers/test.ro/mimi/ | Maildir/ |
| alex | /home/mailusers/test.ro/alex/ | Maildir/ |
| titi | /home/mailusers/test.ro/titi/ | Maildir/ |
| alexa | /home/mailusers/test.ro/alexa/ | Maildir/ |
+-----------+--------------------------------+----------+

Any ideas or some maildrop example will be wellcome.

Best regards,
Alex






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to