Re: [exim] String expansion - deleting everything but a spec…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marcin Krol
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] String expansion - deleting everything but a specified set of characters from string
Hello Ted,


> You're going to end up with filenames longer than your file system can
> handle.


I created a monster:

maildir_tag = T=${length_50:${sg{${sg{${from_utf8:$acl_m_subject}}{\N[!@#$%^&*()~{}\[\]\|"'`;\:/\?<>,\.]\N}{}}}{ +}{_}}}-S=$message_size

It works but damn! it's ugly. :-)


--
Marcin Krol