Re: How to control the email file name procmail produces

"N.J. Mann" <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
In message <20110128140730.GM23376@michelle1>,
	Michelle Konzack ([email protected]) wrote:
> Hello Yue Wu,
> 
> you can follw the tips of LuKreme and Sean but IF YOU REALY need the
> messages on a Windows system, you can use TRAP to rename it using
> 
>     TRAP='rename "s|:2|_2|" ${LASTFOLDER}'
> 
> and put it at the beginning of the ~/.procmailrc file

This will not work, because there is no :2 suffix when procmail delivers
the message to the relevant 'new' subdirectory.  It is the MUA which
adds that suffix when it moves the file from the 'new' subdirectory to
the 'cur' subdirectory.  See the relevant standards or even wikipedia.


Cheers,
       Nick.
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.