QBA wrote:
> 
> Hi,
> 
> I'd like to know if I can send my messages not being root.
> Now my situation looks like this: as a common user I write
> messages in mutt and pressing 'y' I send them. Usually I do it
> while being offline so all messages are waiting in qmail's queue.
> And when I'm connected to the internet (to do so I use /etc/ppp/ppp-on
> script that is included to my RedHat 6.2 as default) I must su to root
> to be able to send all my messages (and to fetch my messages I don't
> have to). And to send them I type '/usr/bin/killall -ALRM qmail-send'.
> So I thought that it would be great if I could send e-mails as not root
> and to do it whenever I want to (I mean not automaticaly because I heard
> that I can add qmail-send command to ip-up - this not what I want).
> Do you have any idea how can I do it? And moreover I'd like to it was
> as secure as possible (hope that I won't have to add suid bit to any file).

I know this isn't the answer you requested, but I can't see why putting
the killall -ALRM qmail-send in /etc/ppp/ip-up.local wouldn't solve your
problems? If you are offline your messages wait in the queue and if you
are online they get sent directly. I think it's an ideal solution, no?

/Ludde

-- 
  _   _ _ __  __  ___
 | | | | |  \|  \| __| Ludvig Omholt .................. http://ludde.net
 | |_| | | D | D | _|  070-310 08 71 ................... [EMAIL PROTECTED]
 |___|___|__/|__/|___| ++++++++ linux kernel 2.2.17 on an i686 +++++++++

Reply via email to