[IRCServices] Email forwarding
Andrew Kempe
andrewk at icon.co.za
Sun Jan 21 01:47:54 PST 2001
I got very close to being able to send passwords to an email address. I was
not at all keen on having to handle more sockets so I was basically doing
the following:
- Dumping the password to a file. The file also contained the email address
to which to send the email.
- Run a cron that basically used "mail" to send the mail off.
There is a slight overhead in having to write to a file but I didn't think
that there would be _that_ many mails being created. Forwarding memo's would
up this number of mails a lot. What I had in mind was outputting the memo's
to a single file for a specified time, say 1 minute. After that time a new
file is started and a cron can then parse up the old file and send the memos
off.
These may not be the most elegant solutions, but they're simple to implement
and they get the job done.
Andrew
> -----Original Message-----
> From: owner-ircservices at snow.shadowfire.org
> [mailto:owner-ircservices at snow.shadowfire.org]On Behalf Of Andrew Church
> Sent: 06 November 2000 00:03
> To: ircservices at snow.shadowfire.org
> Subject: Re: [IRCServices] Email forwarding
>
>
> >Very late reply but hey...
> >
> >IMHO the E-Mail Forwarding feature would seriously ROCK!
> >Any plans on implementing this?
>
> Just a quick note on this--I had this on my TODO list since way long
> ago, but it turns out it's a pain to implement, mainly because of
> needing to
> either fork and keep track of another process or handle SMTP connections
> using select() in the same process, and having to watch resource
> consumption
> in either case. I don't know what Andrew Kempe's priorities are, but just
> keep in mind that it's not something that can be dashed out on the spur of
> the moment.
>
> >Quinn
> >----------
> >> From: Kelmar K. Firesun <kfiresun at ix.netcom.com>
> >> To: ircservices at snow.shadowfire.org
> >> Subject: Re: [IRCServices] Email forwarding
> >> Date: Monday, October 23, 2000 22:32
> >>
> >>
> >> ----- Original Message -----
> >> From: Scott Seufert <anarki at flamebait.org>
> >> To: <ircservices at snow.shadowfire.org>
> >> Sent: Monday, October 23, 2000 7:01 AM
> >> Subject: Re: [IRCServices] Email forwarding
> >>
> >> ] ... SNIP ... [
> >>
> >> >
> >> > sending all the memos in one email would be prefered. Also making the
> >time
> >> > interval a .conf setting would be wise.
> >> >
> >> > MEMO2MAIL 15 <---- Minutes _after_ update to send mail.
> >> > This type of setting would make it easier for services, the
> box and the
> >> > box's Admin(s). :)
> >> >
> >> > MAIL_DELAY 120 <--- delay in seconds between batches.
> >> > This could be used in the case of a large amount of mail
> sent. The mail
> >> can
> >> > be broken down into batches sent, say maybe 800k at a time. This way
> >800k
> >> is
> >> > sent, then 120 seconds later 800k more and so on.
> >> >
> >>
> >> ] ... SNIP ... [
> >>
> >> You might also wish to add a NickServ option that would allow
> >> the user to:
> >>
> >> 1) Either disable the feature totally
> >> 2) Have it only send the e-mail when the user is not on
> >> the IRC Network
> >> 3) Have memoserv send the e-mail and keep a copy of the message.
> >> 4) Or, have memoserv just send an e-mail and discard the message
> >> afterwards. (Mabey not a good idea here in some cases though)
> >>
> >> On the whole it sounds like an excellent idea,
> >>
> >> Bryce Simonds (Kelmar K. Firesun)
> >> IRC operator: dream.esper.net
> >>
> >>
> >> ---------------------------------------------------------------
> >> To unsubscribe, send email to majordomo at snow.shadowfire.org
> >> with "unsubscribe ircservices" in the body, without the quotes.
> >
> >---------------------------------------------------------------
> >To unsubscribe, send email to majordomo at snow.shadowfire.org
> >with "unsubscribe ircservices" in the body, without the quotes.
>
> --Andrew Church
> achurch at dragonfire.net
> http://achurch.dragonfire.net/
>
> ---------------------------------------------------------------
> To unsubscribe, send email to majordomo at snow.shadowfire.org
> with "unsubscribe ircservices" in the body, without the quotes.
>