1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] [RFC] msec (nail) can't send reports to local users accounts - require an MTA?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20msec%20%28nail%29%20can%27t%20send%20reports%20to%20local%0A%20users%20accounts%20-%20require%20an%20MTA%3F&In-Reply-To=%3C4E7B9A9E.9070305%40arcor.de%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008320.html">
<LINK REL="Next" HREF="008290.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] [RFC] msec (nail) can't send reports to local users accounts - require an MTA?</H1>
<B>Florian Hubold</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20msec%20%28nail%29%20can%27t%20send%20reports%20to%20local%0A%20users%20accounts%20-%20require%20an%20MTA%3F&In-Reply-To=%3C4E7B9A9E.9070305%40arcor.de%3E"
TITLE="[Mageia-dev] [RFC] msec (nail) can't send reports to local users accounts - require an MTA?">doktor5000 at arcor.de
</A><BR>
<I>Thu Sep 22 22:29:18 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="008320.html">[Mageia-dev] [RFC] msec (nail) can't send reports to local users accounts - require an MTA?
</A></li>
<LI>Next message: <A HREF="008290.html">[Mageia-dev] Faac and building upon faac
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8322">[ date ]</a>
<a href="thread.html#8322">[ thread ]</a>
<a href="subject.html#8322">[ subject ]</a>
<a href="author.html#8322">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Am 22.09.2011 21:48, schrieb andre999:
><i> Florian Hubold a écrit :
</I>>><i> Hello,
</I>>><i>
</I>>><i> during validation of validation of msec/sectool update candidates,
</I>>><i> a problem showed up: <A HREF="https://bugs.mageia.org/show_bug.cgi?id=1621">https://bugs.mageia.org/show_bug.cgi?id=1621</A>
</I>>><i> Seems mailx (on behalf of msec) can't send mails to local user accounts
</I>>><i> due to missing sendmail, citing one of the comments:
</I>>><i>
</I>>><i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=2255#c25">https://bugs.mageia.org/show_bug.cgi?id=2255#c25</A>
</I>>><i> But sendmail (or alternative) is required for local delivery.
</I>>><i> Try it out for yourself
</I>>><i>
</I>>><i> $ mailx -v -s "test mail" root
</I>>><i> EOT
</I>>><i> /usr/lib/sendmail: No such file or directory
</I>>><i> "/home/derek/dead.letter" 9/214
</I>>><i> . . . message not sent.
</I>>><i>
</I>>><i> This results in msec reports ending as /dead.letter and never being
</I>>><i> sent to the user who was specified in msec configuraion or during
</I>>><i> initial installation of Mageia.
</I>>><i>
</I>>><i> So i added a require on sendmail to msec. But sendmail conflicts
</I>>><i> with vacation, and more importantly with postfix.
</I>>><i> So how to solve this mess? Do we want the reports to not be sent
</I>>><i> to some local user account, we can leave it like it is and i'll
</I>>><i> remove the require on sendmail.
</I>>><i>
</I>>><i> But if we want security reports to be sent to local users if they
</I>>><i> specify so, how to proceed further?
</I>><i>
</I>><i> I have postfix installed, and it works nicely with msec messages.
</I>><i> So the problem with msec reports must be related to the configuration.
</I>><i> (I originally installed postfix under Mandriva, so that may be a factor.)
</I>><i>
</I>><i> Note that in msec something like {userid}@localhost should be specified, to
</I>><i> be sent to a local user. Maybe we should display something like
</I>><i> "(use {userid}@localhost for a local user)"
</I>><i> in msec.
</I>><i> (I don't know offhand how to send to a local group.)
</I>><i>
</I>><i> Before installing postfix, the messages went to /dead.letter as you note,
</I>><i> which is awkward as it requires root privileges to remove older messages.
</I>><i>
</I>><i> I just noticed that sendmail is a lot smaller, so I installed it in place of
</I>><i> postfix, since that is all I use postfix for. Hopefully it works with the
</I>><i> default config.
</I>><i> It might be useful for msec to require one of postfix or sendmail.
</I>><i>
</I>Please see my other mail, with the four choices, and pick one.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008320.html">[Mageia-dev] [RFC] msec (nail) can't send reports to local users accounts - require an MTA?
</A></li>
<LI>Next message: <A HREF="008290.html">[Mageia-dev] Faac and building upon faac
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8322">[ date ]</a>
<a href="thread.html#8322">[ thread ]</a>
<a href="subject.html#8322">[ subject ]</a>
<a href="author.html#8322">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|