Sponsored Content
Operating Systems Solaris sendmail + procmail + spamassassin Post 72018 by sx3v1l_1n51de on Tuesday 17th of May 2005 07:47:11 PM
Old 05-17-2005
CPU & Memory sendmail + procmail + spamassassin

Hello, I'm triying to install senmail + procmail + spamassassin, but i've been having trouble with the first part, i cant install procmail...

im using solaris 9, i have already installed sendmail, then i tried to install procmail and everything goes right, , then edit the /etc/mail/sendmail.cf file
replacing...

MLocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qmn, S=10/30,
R=20/40, T=DNS/RFC822/X-Unix,
A=procmail -a $h -d $u

(i got that from google, it was the only config related stuff i found, apparently it's so easy to install that no one ever had any trouble with it... except me Smilie )

then i restart sendmail... and nothing... i check the procese with 'ps -ef | grep procmail' and i dont see it, am i supossed to see it?, did i missed a step?

i have tried with everything i found on google, and nothing , the INSTALL file only says type 'make install'... and that's it. any idea of what i'm doing wrong?

thanks

Tony.
 

7 More Discussions You Might Find Interesting

1. Linux

Spamassassin

I have a Linux red hat 9 router running. I have spamassassin runnning and it is putting emails into the users home folders. The question is how do the users go through the file? Frank (0 Replies)
Discussion started by: frankkahle
0 Replies

2. Solaris

can't run spamassassin

Hey, i use solaris 10, and i need tu use spamassassin, so i dowload it and install it following the instructions (download the missing CPAN packages), so "make" and "make install" go well, but when i attempt to test spamassassin with shell# spamassassin -t < sample-spam.txt i got this : ... (2 Replies)
Discussion started by: wodel
2 Replies

3. UNIX for Advanced & Expert Users

Problem with sendmail procmail spamassasin & relay

I have been working on setting up a mail relay. I have just about everything working except for the procmail part. The configuration is as follows: Internet -> mailrelay -> mail server | spamassassin server I have spamassassin running on a seperate... (3 Replies)
Discussion started by: hardesty
3 Replies

4. UNIX for Dummies Questions & Answers

Procmail or Spamassassin?

Hello, this is my first visit to your forum and I've searched previous threads for my answer but have not been able to find one. Apologies if there is one that I didn't discover. Is there a way of bouncing or deleting spam that contains non-existent addresses in TO: field but is delivered due... (1 Reply)
Discussion started by: WendyTinley
1 Replies

5. UNIX and Linux Applications

Problem installing spamassassin CentOS 5.5

Hi every body I am facing problem installing spamassassin on my CentOS - Direct Admin VPS The installation ended with the following error REQUIRED module out of date: Archive::Tar optional module missing: Digest::SHA optional module missing: Mail::SPF optional module missing: IP::Country... (0 Replies)
Discussion started by: rizwan65
0 Replies

6. UNIX for Dummies Questions & Answers

Help with SendMail Procmail filtering

Hi All, I am very new to Unix. I have a test server running FreeBSD 10.1 and SendMail 8.14.9. I need to filter incoming emails based on the sender's email address or domain and forward them to another address on a different domain as well as to the original recipient. Can I achieve this with... (1 Reply)
Discussion started by: simplemind
1 Replies

7. UNIX for Advanced & Expert Users

Some mails not scanned by SpamAssassin 3.4.1 w sendmail/procmail on Fedora 21

We have a user who has about a 50% missed rate on spam detection. I'm wondering if his user prefs or something is preventing scanning of all messages? SpamAssassin version 3.4.1, running on Perl version 5.20.3, sendmail Version 8.15.2 The contents of the user_prefs file: # How many points... (2 Replies)
Discussion started by: RobbieTheK
2 Replies
SMRSH(8)						      System Manager's Manual							  SMRSH(8)

NAME
smrsh - restricted shell for sendmail SYNOPSIS
smrsh -c command DESCRIPTION
The smrsh program is intended as a replacement for sh for use in the ``prog'' mailer in sendmail(8) configuration files. It sharply limits the commands that can be run using the ``|program'' syntax of sendmail in order to improve the over all security of your system. Briefly, even if a ``bad guy'' can get sendmail to run a program without going through an alias or forward file, smrsh limits the set of programs that he or she can execute. Briefly, smrsh limits programs to be in a single directory, by default /usr/adm/sm.bin, allowing the system administrator to choose the set of acceptable commands, and to the shell builtin commands ``exec'', ``exit'', and ``echo''. It also rejects any commands with the charac- ters ``', `<', `>', `;', `$', `(', `)', ` ' (carriage return), or ` ' (newline) on the command line to prevent ``end run'' attacks. It allows ``||'' and ``&&'' to enable commands like: ``"|exec /usr/local/bin/filter || exit 75"'' Initial pathnames on programs are stripped, so forwarding to ``/usr/ucb/vacation'', ``/usr/bin/vacation'', ``/home/server/mydir/bin/vaca- tion'', and ``vacation'' all actually forward to ``/usr/adm/sm.bin/vacation''. System administrators should be conservative about populating the sm.bin directory. For example, a reasonable additions is vacation(1), and the like. No matter how brow-beaten you may be, never include any shell or shell-like program (such as perl(1)) in the sm.bin direc- tory. Note that this does not restrict the use of shell or perl scripts in the sm.bin directory (using the ``#!'' syntax); it simply dis- allows execution of arbitrary programs. Also, including mail filtering programs such as procmail(1) is a very bad idea. procmail(1) allows users to run arbitrary programs in their procmailrc(5). COMPILATION
Compilation should be trivial on most systems. You may need to use -DSMRSH_PATH="path" to adjust the default search path (defaults to ``/bin:/usr/bin:/usr/ucb'') and/or -DSMRSH_CMDDIR="dir" to change the default program directory (defaults to ``/usr/adm/sm.bin''). FILES
/usr/adm/sm.bin - default directory for restricted programs on most OSs /var/adm/sm.bin - directory for restricted programs on HP UX and Solaris /usr/libexec/sm.bin - directory for restricted programs on FreeBSD (>= 3.3) and DragonFly BSD SEE ALSO
sendmail(8) $Date: 2004/08/06 03:55:35 $ SMRSH(8)
All times are GMT -4. The time now is 02:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy