[maildropl] getaddr confusion
Brought to you by:
mrsam
From: Neil R. <mai...@co...> - 2016-04-20 12:43:58
|
I am using getaddr in .mailfilter to extract addresses: if( /^From:\s*(.*)/:h ) { FRM=getaddr($MATCH1) } I have added log "$FRM" to the .mailfilter file to investigate, and it fails to extract the address from lines like this: From: "Someone - Mailbox" <so...@so...> But it will work with: From: "Some One" <so...@so...> I guess the hyphen is causing trouble - is this a bug or am I failing to understand? Regards, Neil. |