procmail
[Top] [All Lists]

Re: Replacing characters in $MATCH, and folders with periods - SOLVED

2004-04-10 07:10:28
Ruud wrote, addressing Timur,

Did you put the "SHELL = /bin/sh" in the top
of your .procmailrc?

It is in every other procmail-faq and might
have saved you from trying snr at all. :-)

But since there will rarely be even three and never four periods in the string, Timur is probably better off if procmail handles it with snr than if it invokes a shell and tr for even one period.

When I said,

underscores (which won't appear in domain names).

LuKreme replied,

Pretty sure that's not true anymore though, as I have recently seen at
least two addresses with _'s.

http://computer_collector.tripod.com/ (although that is the hostname
portion, stil, it indicates that mail_server.domain.tld could occur, or
even mail.sub_net.domain.tld)

It still would interfere, so OK then: underscores are not good either. Colons may not be so great, in case a Windows-ish system has to read the filenames later. Maybe commas are the best idea.

Thanks for the info, Kreme.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>