mainSpamAssassin Milter Plugin - Support: sr #102542, Adding extra flags to init.d script

 
 

sr #102542: Adding extra flags to init.d script

Submitter:  None
Submitted:  Wed 22 Oct 2003 09:40:25 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 23 Oct 2003 04:10:56 AM UTC, comment #5: 


They're quotes.  You need them around anything you want to
treat as a single unit.  Without the quotes, the shell ended
up setting SM_EXTRA_FLAGS to "-b", then trying to run the
command "spambucket@mydomain.com".
http://steve-parker.org/sh/sh.shtml is a good quick tutorial
on shell scripting.

Dan Nelson <dnelson>
Group administrator
Thu 23 Oct 2003 04:00:20 AM UTC, comment #4: 


That work just the way i wanted it to . Thank you very
much. What do the inverted commas do just for interest
sake

Regards

Andrew

Anonymous
Thu 23 Oct 2003 03:42:57 AM UTC, comment #3: 


Try

SM_EXTRA_FLAGS="-b spambucket@mydomain.com"

Dan Nelson <dnelson>
Group administrator
Thu 23 Oct 2003 03:17:24 AM UTC, comment #2: 


How do i add it?

SM_EXTRA_FLAGS=-bspambucket@mydomain.com

where do you put the spaces in this.

adding a space between -b & email address gives an
error of command not found & just starts it with default
settings.

Can you advise of the format for this extra flag please

Anonymous
Wed 22 Oct 2003 02:55:12 PM UTC, comment #1: 


If you're using the sample rc script at
contrib/spamass-milter-redhat.rc, you can either edit it and
change SM_EXTRA_FLAGS= to whatever you want, or you can
create a file named /etc/sysconfig/spamass-milter, and set
SM_EXTRA_FLAGS= there.

Dan Nelson <dnelson>
Group administrator
Wed 22 Oct 2003 09:40:25 AM UTC, original submission:  


Hello,

       Running Redhat 9 Wil sendmail Spamassassin &
milter. They are all starting as init scripts &
milters flag are as follows
spamass-milter -p /var/run/spamass.sock -f
I am actuall wanting to change it slighty to add the
following

spamass-milter -p /var/run/spamass.sock -f -b
-email is unavailable-

How can i add the extra flags/function to the init.d
script??

Regards

Andrew

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code