linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: urgrue <urgrue@tumsan.fi>
To: Scott Taylor <scott@dctchambers.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: Outgoing mail filters
Date: Thu, 5 Feb 2004 10:39:34 +0200	[thread overview]
Message-ID: <20040205083934.GC26996@fede2.tumsan.fi> (raw)
In-Reply-To: <5.2.1.1.0.20040204110919.00abfc00@mustang>; from scott@dctchambers.com on Wed, Feb 04, 2004 at 21:12:02 +0200

hi,
yes it works for outgoing also. this because im not running mailscanner 
in procmail (which is how most people set up their mail scanners), but 
like this:
/usr/sbin/sendmail -bd -ODeliveryMode=queueonly -OQueueDirectory=/var/
spool/mqueue.in
/usr/sbin/sendmail -q15m -om
/opt/mailscanner/bin/check_mailscanner

so you see, one instance of sendmail spools my mail to mailscanner's 
dir (mqueue.in), mailscanner goes through that dir continuously, scans 
the contents, and moves scanned files to sendmails real queue dir, and 
the second instance of sendmail sends from there.
thus, since i use the same server for sending and receiving mail, 
incoming and outgoing mail are all the same

the beauty of it is, these startup commands are the totality of the 
configuration required to get it working with sendmail. you dont have 
to lay a finger on procmailrc, sendmail.cf, or anything else.




> At 07:45 AM 02/04/2004, urgrue wrote:
>> i use mailscanner (www.mailscanner.info i think). very easy to set 
>> up. it supports most major virusscanners as well as a few anti-spam 
>> solutions (spamassassin is what i use, works well too).
> 
> Hi Urgrue,
> 
> You use this for filtering outgoing mail?  Maybe I'm just going blind 
> looking at this screen too much, but I can't find anything on their 
> site about filtering outgoing mail.
> 
> Cheers.
> 
> Scott.
> 
> 
> 
>>> Hello all,
>>> I use sendmail and procmail to filter incoming messages for spam 
>>> and windoze executable attachments.  How can I filter outgoing mail?
>>> Cheers.
>>> Scott.
>>> -
>>> To unsubscribe from this list: send the line "unsubscribe linux-
>>> admin" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-
>> admin" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-
> admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

  reply	other threads:[~2004-02-05  8:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-04 16:06 Outgoing mail filters Scott Taylor
2004-02-04 15:45 ` urgrue
2004-02-04 19:12   ` Scott Taylor
2004-02-05  8:39     ` urgrue [this message]
2004-02-05 16:27       ` Scott Taylor
2004-02-05 21:12         ` Slightly OT: Taking Unix/Linux class? Eve Atley
2004-02-05 19:25           ` Joakim Ryden
2004-02-05 19:37           ` Glynn Clements
2004-02-05 21:29           ` Jay Goodman
2004-02-05 23:07             ` terry white
2004-02-05 22:46           ` terry white
2004-02-06  0:19           ` Stephen Samuel
2004-02-04 21:52 ` Outgoing mail filters Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040205083934.GC26996@fede2.tumsan.fi \
    --to=urgrue@tumsan.fi \
    --cc=linux-admin@vger.kernel.org \
    --cc=scott@dctchambers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).