]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/2000/000631.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 2000 / 000631.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] About new Version...
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20About%20new%20Version...&In-Reply-To=B5988FA2.E4%25anarki%40flamebait.org">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="000630.html">
11 <LINK REL="Next" HREF="000626.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] About new Version...</H1>
15 <B>Jonathan George</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20About%20new%20Version...&In-Reply-To=B5988FA2.E4%25anarki%40flamebait.org"
17 TITLE="[IRCServices] About new Version...">jonathan at lite.net
18 </A><BR>
19 <I>Mon Jul 17 08:19:59 PDT 2000</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000630.html">[IRCServices] About new Version...
22 </A></li>
23 <LI>Next message: <A HREF="000626.html">[IRCServices] About new Version...
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#631">[ date ]</a>
27 <a href="thread.html#631">[ thread ]</a>
28 <a href="subject.html#631">[ subject ]</a>
29 <a href="author.html#631">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE> I've implemented this before in two IRC-based projects I've done.
35
36 Your best bet is to use popen(3) to open sendmail, and then just
37 write the email to the given pipe. This has it's advantages because:
38
39 a) You don't have to read() from the pipe.
40 b) You don't have to try to send email again if the first one
41 bounces.
42 c) Generally most popular MTA's (Qmail is a definite one) include
43 a drop-in sendmail replacement, OR they just leave sendmail alone.
44 Sendmail is both a client and server, and there is no reason it can't be
45 left alone just to be used to pipe mail into.
46
47 Regards,
48
49 Jonathan George, CEO
50 MultiList Central
51 www.MultiListCentral.com
52
53 |&gt;<i> .. where &gt;&gt;&gt; precedes a line sent by the server, and &lt;&lt;&lt; precedes one sent by
54 </I>|&gt;<i> the client. Note the blank line separating the Subject: header from the
55 </I>|&gt;<i> message body. Completely RFC compliant and easy to implement. Also notice my
56 </I>|&gt;<i> MTA (in the 'greeting' line) is not Sendmail, but another popular alternative
57 </I>|&gt;<i> called Exim. No problem if the mail-sending routines are implemented in &quot;SMTP
58 </I>|&gt;<i> client&quot; form but a potential PITA [pain in the a**] if you wanted to use
59 </I>|&gt;<i> command-line sending. Obviously some error-handling must be built in
60 </I>|&gt;<i> (500-series numbers in particular mean a rejected delivery) but this is pretty
61 </I>|&gt;<i> trivial.
62 </I>|<i>
63 </I>|<i>I can see that then, thank you for clearing that up :)
64 </I>
65
66
67 ---------------------------------------------------------------
68 To unsubscribe, send email to <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">majordomo at ender.shadowfire.org</A>
69 with &quot;unsubscribe ircservices&quot; in the body, without the quotes.
70
71
72 </PRE>
73
74 <!--endarticle-->
75 <HR>
76 <P><UL>
77 <!--threads-->
78 <LI>Previous message: <A HREF="000630.html">[IRCServices] About new Version...
79 </A></li>
80 <LI>Next message: <A HREF="000626.html">[IRCServices] About new Version...
81 </A></li>
82 <LI> <B>Messages sorted by:</B>
83 <a href="date.html#631">[ date ]</a>
84 <a href="thread.html#631">[ thread ]</a>
85 <a href="subject.html#631">[ subject ]</a>
86 <a href="author.html#631">[ author ]</a>
87 </LI>
88 </UL>
89
90 </body></html>