Re: [Evolution] I want to collect all email address in a folder

finally, I wrote a simple shell script to collect mail addresses. I provided
it here for further reference.

first, create a shell script

#! /bin/sh
sed -n -r '/^[fF]rom.*:.*\w+([-+.]\w+)* \w+([-.]\w+)*\.\w+([-.]\w+)*/p' - |
egrep -o '\w+([-+.]\w+)* \w+([-.]\w+)*\.\w+([-.]\w+)*' >>


maybe a simple one:
#! /bin/sh
sed -n -r '/^From: /p' - | grep -E -o
'\w+([-+.]\w+)* \w+([-.]\w+)*\.\w+([-.]\w+)*' >> yourfile.txt

next, one should create a filter in evolution. In the filter, take the
action of "pipe to program" and choose the file created above.

apply the filter for those mails you want.
View this message in context:
Sent from the Gnome Evolution - General mailing list archive at

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]