Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Forwarding emails read from a POP3 account

0 views
Skip to first unread message

Jonathan Goodchild

unread,
Dec 3, 2003, 8:45:03 AM12/3/03
to
I manage the web-site for a group I belong to (we're an amateur musical
theatre company), and we have our own domain name. We also have a single
POP3 mail account for the domain.

What I'd like to be able to do is to read the mail from the POP3 account and
then automatically forward it to one or more of number of the different
individuals belonging to our group (and who already have their own email
accounts), using the "to" & "cc" addresses to select the appropriate
invidual.

Does anyone know of any software that would allow me to do such a thing?

I'd be looking to run it on a Linux server, but I could run under Windows if
necessary.

Thanks very much,

Jonathan Goodchild


Alan Connor

unread,
Dec 3, 2003, 2:13:59 PM12/3/03
to

That's called "bouncing". If you add comments, it's called "forwarding".

You can do either with mutt or mail or any decent MUA, but have to enter the
new address at a prompt.

Or, you could use the | command to pipe the message (once again, available in
any decent MUA) to a small script like this:

#!/bin/sh

formail -i"To: j...@hotmail.com" -s $SENDMAIL -t

exit 0


Create the files, name them joe etc, make them executable with

$chmod +rx filename

and put them in your path, probably /usr/local/bin, as root.

Now, if you've read a mail you want to send to joe, enter | joe

and it will be sent to him with the original address (your website)

appearing in the headers as Old-To: your_website's_address.

I'm sure someone will have a better idea, but this would work, and would
only require one tiny script per person.

Formail comes with the procmail package, and is a standard Nix mail utility.

AC

Alan Connor

unread,
Dec 3, 2003, 3:28:56 PM12/3/03
to
On Wed, 3 Dec 2003 13:45:03 -0000, Jonathan Goodchild <jon.go...@nospam.jgoodchild.com> wrote:
>
>


Better idea! With Mutt you can just type b, then enter the alias for the
person you want to bounce the mail to.

You just create a file called .mail_aliases in your home directory with
listings like this:

alias joe joes...@hotmail.com

Then put this line in your ~/.muttrc

set alias_file=~/.mail_aliases

That's it. Install Mutt.

comp.mail.mutt for any questions.

It's a good program and runs in textmode.

AC

those who know me have no need of my name

unread,
Dec 4, 2003, 1:19:48 AM12/4/03
to
in comp.mail.misc i read:

>I manage the web-site for a group I belong to (we're an amateur musical
>theatre company), and we have our own domain name. We also have a single
>POP3 mail account for the domain.

>Does anyone know of any software that would allow me to do such a thing?

fetchmail

--
a signature

0 new messages