|if [ -d "$HOME/postmaster/Maildir/.einar.$EXT2/new" ];  \
then maildirdeliver $HOME/postmaster/Maildir/.einar.$EXT2/; \
else  maildirdeliver $HOME/postmaster/Maildir ; fi

I'm a little tired of the above script in my .qmail-einar-default file.
Since I'm no script expert, I would appreciate som help to expand this
"script" to a even more flexible solution.

I use IMAP to read my mail, and creating new directories. When I subscribe
to a new list, I basicly create a directory under einar with the name
qmail-newlist and subscribe with this address
[EMAIL PROTECTED] Mail is the delivered to this
subdirectory.

But, I realy would love to:
a) not be locked on the .einar.$EXT2, if it exist according to the
mailaddress deliver it
b) be able to have directories in several levels depending on the
emailaddress, insted of todays 2
 ( I can deliver to einar and to directories beneath depending of the EXT2
value).

I guess this is just some easy substitute entry, but since this is not what
I'm good at I reeeeaaaaly could need some inspiration.
--
--------------------------------------------
IDG New Media     Einar Bordewich
Technical Manager  Phone: +47 2336 1420
E-Mail:           [EMAIL PROTECTED]
--------------------------------------------


Reply via email to