Re: Scripts in /etc/init.d Question and Comment.

2002-04-08 Thread Aaron Schrab
At 19:35 -0400 07 Apr 2002, JPS <[EMAIL PROTECTED]> wrote:
> me to raise my awareness!). How about prefacing the scripts in
> `/etc/init.d' with something along the lines of:
> 
>   if [ ! $EUID == 0 ]; then
>   echo "Sorry, this script must run with root privileges."
>   if

If this is done, that bit of code shouldn't be used (at least in most
cases) since $EUID is a bashism.  I'd suggest something like:

  if [ ! -O / ] # Check if root directory is owned by current user

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.schrab.com/aaron/
 However, since procmail is the ultimate supply of rope for mail hacking,
 here are the directions for tying a noose: -- Philip Guenther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Bug#685038: ITP: mailscanner -- email gateway for virus scanning, spam and phishing detection

2012-08-15 Thread Aaron Schrab
Package: wnpp
Severity: wishlist
Owner: Aaron Schrab 

* Package name: mailscanner
  Version : 4.84.5.2
  Upstream Author : Julian Field 
* URL : http://www.mailscanner.info
* License : GPL
  Programming Lang: Perl
  Description : email gateway for virus scanning, spam and phishing 
detection

MailScanner is a email gateway virus-scanner and spam and
phishing-detector. It uses Exim, sendmail or postfix as its basis,
and supports clamav and some commercial virus scanning engines to do
the actual virus scanning. For spam detection MailScanner uses
spamassassin.

The action taken on virus, spam or phishing mails can be configured
with a flexible ruleset based on sender, receiver, scoring, etc.

Virus checking is disabled and spam checking is enabled by default.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120816003506.9966.37840.report...@pug.qqx.org



Re: Change the expectation that emails should wrap at 80 characters

2025-02-27 Thread Aaron Schrab

At 15:53 + 27 Feb 2025, Jonathan Dowland  wrote:
If you happen to use edit_headers, you *might* want something like this 
(no idea if mutt has adopted it yet, ensures no trailing space on empty 
header lines):


https://github.com/neomutt/neomutt/pull/1164


That PR shows as being merged several years ago. I'd supplied a similar 
patch for the original mutt as well, but had that rejected. After that I 
handled it in my vim by adding the following to 
~/.vim/ftplugin/mail.vim:


setlocal formatoptions+=rawn2
autocmd CursorMoved,CursorMovedI  call autoformat#mail()

The function called there is defined in 
https://github.com/aschrab/dotfiles/blob/master/vim/autoload/autoformat.vim
It takes care of removing the `a` and `w` options from `formatoptions` 
while in the header area.


Looks like I've been using that for ~13 years now, and I don't recall 
having any issues with it.