Outgoing mail filters
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.
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).
Quoted 14 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · urgrue
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.
Quoted 13 lines
Quoted 9 lines
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 [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
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.
Quoted 34 lines
Quoted 1 line · urgrue
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.
Quoted 9 lines
Quoted 9 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 5 lines
-
To unsubscribe from this list: send the line "unsubscribe linux- admin" in
the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Kewl. Thanks.
Scott.
Quoted 46 lines · urgrue
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_mailscannerso 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.
Quoted 22 lines
Quoted 1 line · urgrue
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.Quoted 9 lines
Quoted 9 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 5 lines
-
To unsubscribe from this list: send the line "unsubscribe linux- admin" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 5 lines
-
To unsubscribe from this list: send the line "unsubscribe linux- admin" in
the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Slightly OT: Taking Unix/Linux class?
I'd like to get opinions on possibly taking a linux/unix course. We run a Red Hat 9 linux server in a small business, and I come from a primarily windows environment (though I do use a little Unix on Mac OS X). I was debating taking a unix/linux course at a local community college. We also own "Red Hat Linux Networking and System Administration", but obviously I need the time to read this book. I don't have the luxury of playing with our server to learn and get hands-on feel.
So based on this course description...is it worth it? How in-depth do community college courses of this nature go? Is there another, perhaps better way to go about learning what I need to know?
CIT-220 Unix Operating System
------------------------------
Section AW60 R
06:15PM-09:20PM
(3 credits)
Dates: 01/26/04 - 05/01/04
Prerequisite(s): PREREQUISITES: CIT111, CIT115
This course introduces students to the UNIX and LINUX operating systems. Lecture and classroom labs using a UNIX/LINUX operating system environment cover the following topics: internal design concepts, command line
interface, text editing, shell scripting, and file maintenance tools. Additional topics include tools and facilities used in administering a small network including user account management, file system permissions, printer management, system monitoring, backup/restore of files, and other administrative tools.
Thanks,
Eve
Re: Slightly OT: Taking Unix/Linux class?
On Thu, Feb 05, 2004 at 01:12:13PM -0800, Eve Atley wrote:
=>
=> I'd like to get opinions on possibly taking a linux/unix course. We run a => Red Hat 9 linux server in a small business, and I come from a primarily => windows environment (though I do use a little Unix on Mac OS X). I was => debating taking a unix/linux course at a local community college. We also => own "Red Hat Linux Networking and System Administration", but obviously I => need the time to read this book. I don't have the luxury of playing with our => server to learn and get hands-on feel.
No course in the world, in my experience, is gonna replace playing around. Playing Around[TM] is a highly and severly underestimated way of learning (this stuff). Some classes/theory under the belt isn't gonna hurt though.
=> So based on this course description...is it worth it? How in-depth do => community college courses of this nature go? Is there another, perhaps => better way to go about learning what I need to know?
What is it you do need to know? Are you going to be adminestering this system? Or do you just want to get some general knowledge?
--Jo
Re: Slightly OT: Taking Unix/Linux class?
In reply to Eve AtleyQuoted 11 lines · Eve Atley
I'd like to get opinions on possibly taking a linux/unix course. We run a Red Hat 9 linux server in a small business, and I come from a primarily windows environment (though I do use a little Unix on Mac OS X). I was debating taking a unix/linux course at a local community college. We also own "Red Hat Linux Networking and System Administration", but obviously I need the time to read this book. I don't have the luxury of playing with our server to learn and get hands-on feel.
So based on this course description...is it worth it? How in-depth do community college courses of this nature go? Is there another, perhaps better way to go about learning what I need to know?
I don't believe that you can become even remotely competent in any aspect of computing (whether programming, administration, or even just usage) based solely or primarily upon academic tuition; there is just too much to learn.
If you don't know where to start, a course may help to provide useful orientation. But the bulk of the knowledge inevitably has to be acquired by other means; primarily through a mixture of reading and practice.
If the only Linux box available is the server, and you can't practice on that, other alternatives include:
1. Using a bootable Linux distribution (e.g. Knoppix) to practice on what is normally a Windows box, without needing to interfere with the Windows setup.
2. Getting another box; apart from some of the desktop components, most current Linux distributions will work fine on the computers which are normally considered obselete (e.g. P90s, maybe even 486s; the kind of systems which tend to be thrown away because their second-hand value is so close to zero).
3. Using other Unix-like systems, e.g. MacOSX, or a Windows box with Cygwin installed. Cygwin has a few "quirks", due to having to run on top of a decidedly non-Unix OS, but most of the utilities are exactly the same programs which form the core of any Linux distribution.
Signature · 1 line
Glynn Clements <[email protected]>
Re: Slightly OT: Taking Unix/Linux class?
In reply to Eve AtleyWell, I'd like to chime in without the rantings of the 'haughty linux
wizards'. Eve, the course sounds likes it will point you in the right
direction. And some people need courses as a basis to get them started in the the learning process. The course description of topics to be covered seems to be a good foundation and progression, but as suggested earlier make sure you play around alot. Somehow get a spare machine (even an old clunker) and put RedHat on it. If you have access to a bunch of spare machine, use them all. I wouldn't recommend dual booting a machine since I garuntee you'll be blowing up you OS on the quest for knowledge several times along the way.
Someone earlier suggested Knoppix and I'd recommend against that suggestion. Knoppix is Debian based and there is just enough of a difference at the administration level between Debian and Redhat for the beginner(as you claim to be) to get very frustrated. If you cannot get any spare machines at all,
then your last resort is knoppix.
Learn the basics with the system you'll be using most (Redhat) and then
when the neccessary, sprout out. Play and read alot. If you get stuck,
Google can almost always help, even with the toughest of questions. Messages boards can be useful, but be aware that there are a lot of arrogant linux users out there. Just ignore them and listen to the good guys.
Good luck and have fun.
Quoted 41 lines
I'd like to get opinions on possibly taking a linux/unix course. We run a Red Hat 9 linux server in a small business, and I come from a primarily windows environment (though I do use a little Unix on Mac OS X). I was debating taking a unix/linux course at a local community college. We also own "Red Hat Linux Networking and System Administration", but obviously I need the time to read this book. I don't have the luxury of playing with our server to learn and get hands-on feel.
So based on this course description...is it worth it? How in-depth do community college courses of this nature go? Is there another, perhaps better way to go about learning what I need to know?
CIT-220 Unix Operating System
------------------------------
Section AW60 R
06:15PM-09:20PM
(3 credits)
Dates: 01/26/04 - 05/01/04
Prerequisite(s): PREREQUISITES: CIT111, CIT115
This course introduces students to the UNIX and LINUX operating systems. Lecture and classroom labs using a UNIX/LINUX operating system environment cover the following topics: internal design concepts, command line
interface, text editing, shell scripting, and file maintenance tools. Additional topics include tools and facilities used in administering a small network including user account management, file system permissions, printer management, system monitoring, backup/restore of files, and other administrative tools.Thanks,
Eve-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Slightly OT: Taking Unix/Linux class?
on "2-5-2004" "Jay Goodman" writ:
: rantings of the 'haughty linux wizards'
perhaps then, asking in a M$ based environment a better plan.
: system you'll be using most (Redhat)
that is an assumption, UNLESS of course, the 'enterprise' is in your
immediate future. a little 'reading' on RH's distribution plans might be a good idea.
: arrogant linux users out there. Just ignore them and listen to the good : guys.
it is a "REAL TIME" error, to confuse 'arrogance' with 'expertise'.
further, being hung up on the former, almost guarantees an inability to aquire the latter ...
Signature · 2 lines
... i'm a man, but i can change,
if i have to , i guess ...Re: Slightly OT: Taking Unix/Linux class?
In reply to Eve Atley... ciao:
on "2-5-2004" "Eve Atley" writ:
: Red Hat 9 linux server in a small business ... We also own "Red Hat : Linux Networking and System Administration" ... I don't have the luxury : of playing with our server
it is unclear to me, 'why' you want to 'learn' linux. if it's work
related, you have a problem. RH, in an M$-esque move, no longer offers distributions like they did in the past. RH has gotten expensive. also, RH almost always 'back-ported' security patches, and in so doing, kept the 'user' tied to them.
in addition, if your work environ does not allow adequate time to get
the job done, then you're walking into a situation where you have ultimate responsibility, and "NO" authority. trying to 'learn' on a "production" machine is not a prudent choice in any event, and is not a good career move.
it's my opinion, linux not taught, but learned. if you're serious,
you'll put a system together, and suffer the learning curve involved. initially, you can expect to break something, and then you get to fix it.
fwiw:
(a) RTFM (read the fucking manual)
(b) 'man man'
(c) 'apropos foobar' a very helpful information template ...
Signature · 2 lines
... i'm a man, but i can change,
if i have to , i guess ...Re: Slightly OT: Taking Unix/Linux class?
In reply to Eve AtleyHaving taught courses, I'd say that you could find them useful, especially if you have a good instructor. The course should give you some directed hands-on experience with a live system, teach you some stuff you hadn't considered and hopefully even disabuse you of some bad practices.
On the other hand, do NOT presume that the course will turn you into an overnight guru. Time energy and, as someone else pointed out, "Just Playing Around" are what you need for something like that.
Some suggestions:
1: get yourself a machine (home or work) that you can play with. It
doesn't have to be an expensive new box. An old P3/500 with a 10Meg
hard drive is a fine start. If you want to play with networking get a couple more .. A couple of P2s with 64 meg of ram will do OK. With that and a KVM switch, you're ready to play.
If you get the hardware second hand (or out of an old store room), it'll probably be a good bit less expensive than the course, and will give you a leg up during the course and after (before, even).
man man is your friend
Quoted 33 lines · Eve Atley
I'd like to get opinions on possibly taking a linux/unix course. We run a Red Hat 9 linux server in a small business, and I come from a primarily windows environment (though I do use a little Unix on Mac OS X). I was debating taking a unix/linux course at a local community college. We also own "Red Hat Linux Networking and System Administration", but obviously I need the time to read this book. I don't have the luxury of playing with our server to learn and get hands-on feel.
So based on this course description...is it worth it? How in-depth do community college courses of this nature go? Is there another, perhaps better way to go about learning what I need to know?
CIT-220 Unix Operating System
------------------------------
Section AW60 R
06:15PM-09:20PM
(3 credits)
Dates: 01/26/04 - 05/01/04
Prerequisite(s): PREREQUISITES: CIT111, CIT115
This course introduces students to the UNIX and LINUX operating systems. Lecture and classroom labs using a UNIX/LINUX operating system environment cover the following topics: internal design concepts, command line
interface, text editing, shell scripting, and file maintenance tools. Additional topics include tools and facilities used in administering a small network including user account management, file system permissions, printer management, system monitoring, backup/restore of files, and other administrative tools.Thanks,
Eve
Signature · 4 lines
Stephen Samuel +1(604)876-0426 [email protected] http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching the jewel within each person and bringing it to light.
Quoted 2 lines · Scott Taylor
I use sendmail and procmail to filter incoming messages for spam and windoze executable attachments. How can I filter outgoing mail?
One possible approach:
The easy part: change confSMTP_MAILER to a custom mailer (e.g. procmail invoked on a specialised procmailrc file) which performs the filtering then re-sends the message. See section 5.4 of the Sendmail Installation and Operation Guide (op.ps/op.txt) for details on writing the mailer definition.
The hard (or, at least, awkward) part: preventing loops; you have to ensure that the re-sent message doesn't get sent back to the filter. Probably the simplest solution is to run two sendmail daemons (on separate ports), one which filters and one which doesn't. You can do it with one daemon, but that involves writing custom sendmail rulesets.
Other approaches include using sendmail's "milter" API (you probably wouldn't want to use this directly, but there may be suitable products which use it to "plug in" to sendmail) or the header-matching features which were added in 8.10.
Signature · 1 line
Glynn Clements <[email protected]>