Thread: Re: [Linuxcommand-discuss] Email forwarding
Brought to you by:
bshotts
From: William S. <bs...@tw...> - 2000-10-27 02:39:05
|
On Thursday 26 October 2000 22:35, you wrote: > yes, you could definetly do this to procmail.. but, if you are able to > somehow in .forward dump it to a file, you could easily grab the > information you neeed using a combination of grep, egrep, and awk, and > make it cute with sed :) I'll have to poke into it... ooh ooh! project! :) > > »» jura - technolust.cx sysadmin > »» e-mail: jura at geekpitlabs dot com > »» http://3640552130/ > »» > »» SpamNet IRC Network + founder > »» irc.spamnet.org 6667 > »» http://www.spamnet.org > > »» Packets should be free to choose which route they prefer. > > On Thu, 26 Oct 2000, William Shotts wrote: > > On Thursday 26 October 2000 21:03, Thomas Bauer wrote: > > > Hi! > > > > > > I just wondered how this is done: > > > > > > When I get an email (on my own server, sendmail) I want to forward > > > specific lines from this email to another email address (say e.g. the > > > From-line and the first line of the body). How is this done? I know > > > there is a file .forward where you can forward the whole message .. > > > Maybe someone knows .. > > > > > > Tom > > > > I would guess that you would need to use something like procmail to do > > that. I have no experience with it but it supports automatic filtering > > and such. > > > > -- > > > > ||||| William Shotts, Jr. (bs...@cl...) > > ||||| http://www.clark.net/pub/bshotts/ (Updated 04/13/2000) > > ||||| Be a Linux Commander! Follow me to http://linuxcommand.org > > > > _______________________________________________ > > Linuxcommand-discuss mailing list > > Lin...@li... > > http://lists.sourceforge.net/mailman/listinfo/linuxcommand-discuss Yes, this would make a good project. I'm waiting :-) A reminder, you must post to the mailing list explicitly. If you just reply to the message, it will only go to the sender. Reply to all to post to the list too. -- ||||| William Shotts, Jr. (bs...@cl...) ||||| http://www.clark.net/pub/bshotts/ (Updated 04/13/2000) ||||| Be a Linux Commander! Follow me to http://linuxcommand.org |
From: jura <ro...@te...> - 2000-10-27 03:10:33
|
oops :) wasn't thinking :) anyhow... when I'm at work tomorrow i'll poke at it... shouldn't be too hard :) (of course I have said that about other "simple" projects and they ended up taking me weeks ;) ) but I'll post it to the list when it's finished... Senor Bauer; (nice skates BTW) i'll keep ya posted :) feel free to drop by irc.spamnet.org in #technolust at some point and let me know what else you need for it to do, etc. toodles! »» jura - technolust.cx sysadmin »» e-mail: jura at geekpitlabs dot com »» http://3640552130/ »» »» SpamNet IRC Network + founder »» irc.spamnet.org 6667 »» http://www.spamnet.org »» Packets should be free to choose which route they prefer. On Thu, 26 Oct 2000, William Shotts wrote: > On Thursday 26 October 2000 22:35, you wrote: > > yes, you could definetly do this to procmail.. but, if you are able to > > somehow in .forward dump it to a file, you could easily grab the > > information you neeed using a combination of grep, egrep, and awk, and > > make it cute with sed :) I'll have to poke into it... ooh ooh! project! :) > > > > »» jura - technolust.cx sysadmin > > »» e-mail: jura at geekpitlabs dot com > > »» http://3640552130/ > > »» > > »» SpamNet IRC Network + founder > > »» irc.spamnet.org 6667 > > »» http://www.spamnet.org > > > > »» Packets should be free to choose which route they prefer. > > > > On Thu, 26 Oct 2000, William Shotts wrote: > > > On Thursday 26 October 2000 21:03, Thomas Bauer wrote: > > > > Hi! > > > > > > > > I just wondered how this is done: > > > > > > > > When I get an email (on my own server, sendmail) I want to forward > > > > specific lines from this email to another email address (say e.g. the > > > > From-line and the first line of the body). How is this done? I know > > > > there is a file .forward where you can forward the whole message .. > > > > Maybe someone knows .. > > > > > > > > Tom > > > > > > I would guess that you would need to use something like procmail to do > > > that. I have no experience with it but it supports automatic filtering > > > and such. > > > > > > -- > > > > > > ||||| William Shotts, Jr. (bs...@cl...) > > > ||||| http://www.clark.net/pub/bshotts/ (Updated 04/13/2000) > > > ||||| Be a Linux Commander! Follow me to http://linuxcommand.org > > > > > > _______________________________________________ > > > Linuxcommand-discuss mailing list > > > Lin...@li... > > > http://lists.sourceforge.net/mailman/listinfo/linuxcommand-discuss > > Yes, this would make a good project. I'm waiting :-) > > A reminder, you must post to the mailing list explicitly. If you just reply > to the message, it will only go to the sender. Reply to all to post to the > list too. > > -- > ||||| William Shotts, Jr. (bs...@cl...) > ||||| http://www.clark.net/pub/bshotts/ (Updated 04/13/2000) > ||||| Be a Linux Commander! Follow me to http://linuxcommand.org > _______________________________________________ > Linuxcommand-discuss mailing list > Lin...@li... > http://lists.sourceforge.net/mailman/listinfo/linuxcommand-discuss > |