Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to reset spam_subject_tag using serveradmin?

I use serveradmin to set a tag for the subject line of spam emails, by the command:


sudo serveradmin settings mail:postfix:spam_subject_tag = "***SPAM*** "


In order that I could filter automatically. I no longer need to do this, so wish to reset the spam subject tag. However, I can't find the appropriate value for the key. Neither a double quoted space or even two double quotes works. What I want to do is reset the value of the key to its original value of ""


Can someone let me know the command in order to do this?

OS X Server

Posted on Sep 1, 2015 4:16 AM

Reply
Question marked as Best reply

Posted on Sep 4, 2015 8:08 AM

I don't use serveradmin for these settings.. you have more options/flexibility editing the conf file directly.

/Library/Server/Mail/Config/amavisd/amavisd.conf


$sa_spam_subject_tag = undef; # disables subject tag


Lots of other goodies to adjust here.. one horrible default:

Search 'destiny', if you see D_BOUNCE, change to D_DISCARD.


after editing, restart amavisd with:

sudo launchctl stop org.amavis.amavisd

2 replies
Question marked as Best reply

Sep 4, 2015 8:08 AM in response to AlanFleming

I don't use serveradmin for these settings.. you have more options/flexibility editing the conf file directly.

/Library/Server/Mail/Config/amavisd/amavisd.conf


$sa_spam_subject_tag = undef; # disables subject tag


Lots of other goodies to adjust here.. one horrible default:

Search 'destiny', if you see D_BOUNCE, change to D_DISCARD.


after editing, restart amavisd with:

sudo launchctl stop org.amavis.amavisd

How to reset spam_subject_tag using serveradmin?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.