[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Dealing with missing From: header during send.
From: |
Ralph Corderoy |
Subject: |
Re: [Nmh-workers] Dealing with missing From: header during send. |
Date: |
Tue, 10 Jan 2012 10:56:35 +0000 |
Hi Earl,
> %(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)\
> %(formataddr{to})%(formataddr{cc})%(formataddr(me))\
> %<(match example1.com)From: address@hidden
> %?(match example2.com)From: address@hidden
> %|From: address@hidden>\
Does this shed any light? match seems to work here.
$ c='%(lit)%(formataddr
%<{reply-to}%?{from}%?{sender}%?{return-path}%>)%(formataddr{to})%(formataddr{cc})%(formataddr(me))'
$
$ scan -format "$c"'%(putstr)' last
Earl Hood <address@hidden>, address@hidden, ralph
$ scan -format "$c"'%(match maker)%(putnum)' last
0
$ scan -format "$c"'%(match Hood)%(putnum)' last
1
$ scan -format "$c"'%<(match maker)t%|f%>' last
f
$ scan -format "$c"'%<(match Hood)t%|f%>' last
t
Cheers, Ralph.
- Re: [Nmh-workers] Dealing with missing From: header during send., (continued)
- Re: [Nmh-workers] Dealing with missing From: header during send., Ken Hornstein, 2012/01/09
- [Nmh-workers] smart header processing, Lyndon Nerenberg, 2012/01/09
- Re: [Nmh-workers] smart header processing, Ken Hornstein, 2012/01/09
- Re: [Nmh-workers] smart header processing, Lyndon Nerenberg, 2012/01/09
- Re: [Nmh-workers] smart header processing, Jeffrey Honig, 2012/01/09
- Re: [Nmh-workers] smart header processing, Lyndon Nerenberg, 2012/01/09
- Re: [Nmh-workers] smart header processing, Valdis . Kletnieks, 2012/01/09
- Re: [Nmh-workers] Dealing with missing From: header during send., Earl Hood, 2012/01/10
- Re: [Nmh-workers] Dealing with missing From: header during send.,
Ralph Corderoy <=
- Re: [Nmh-workers] Dealing with missing From: header during send., Earl Hood, 2012/01/10
- Re: [Nmh-workers] Dealing with missing From: header during send., Ken Hornstein, 2012/01/10
- [Nmh-workers] request for mh-format "printf" operator, bergman, 2012/01/10
- Re: [Nmh-workers] request for mh-format "printf" operator, Ken Hornstein, 2012/01/10
- Re: [Nmh-workers] Dealing with missing From: header during send., Earl Hood, 2012/01/10
- Re: [Nmh-workers] Dealing with missing From: header during send., Ken Hornstein, 2012/01/10
- Re: [Nmh-workers] Dealing with missing From: header during send., Valdis . Kletnieks, 2012/01/10
- Re: [Nmh-workers] Dealing with missing From: header during send., Robert Elz, 2012/01/11
- Re: [Nmh-workers] Dealing with missing From: header during send., Ken Hornstein, 2012/01/11
- Re: [Nmh-workers] Dealing with missing From: header during send., Paul Fox, 2012/01/11