On Sun, May 05, 2013 at 04:37:22PM +0200, David Haller wrote:
Hello,
On Sun, 05 May 2013, Marcus Meissner wrote:
On Sun, May 05, 2013 at 02:45:12PM +0200, David Haller wrote:
... and you can always alias a 'sudo /usr/sbin/sendmail -q' to e.g. 'sm'.
Don't forget the corresponding entry in /etc/sudoers.
sudo is not needed.
For flushing the (postfix or sendmail) queue via 'sendmail -q' when you have setup either to "defer" sending mails? I'll test that with this mail. Calling it on an empty queue (with postfix) does return an exitstatus of 0...
You can e.g. call /usr/sbin/sendmail as user to send emails, if your system is correctly setup for mail.
Sure, or via proxy with mail/mailx/mutt/....
Some other sendmail operations are not possible as user, there you need sudo / su.
And I think (or soonish thought), that flushing the queue is (was) one of those.
Yes, that one probably needs root rights. (didnt check) Ciao, MArcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org