Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run spamassassin with vmail user #200

Merged
merged 1 commit into from
May 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/configure
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,13 @@ av_scanner = clamd:/var/run/clamav/clamd

spamd_address = 127.0.0.1 783

# User who passes mails to spamassassin. He should have a home directory in order
# to save configuration and scanning data (e.g. for Bayes filter). The default
# vexim-user can be used for this purpose. If the user does not exist, SpamAssassin
# will fall back to "nobody" and default settings, with all consequences.

VEXIM_SA_USERNAME = vexim

# Specify the domain you want to be added to all unqualified addresses
# here. An unqualified address is one that does not contain an "@" character
# followed by a domain. For example, "[email protected]" is a fully qualified
Expand Down
4 changes: 1 addition & 3 deletions docs/vexim-acl-check-content.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@

# Pass missing spam score and report data to routers and transports, but do not reject anything yet.
# Also, if set, remove X-Spam-* headers here: we will add our own ones later.
# NOTE: If the "maildeliver" user does not exist, SpamAssassin will fall back to "nobody" and default
# settings, with all consequences. You may want to change this user name and/or create a user.
#
warn spam = maildeliver:true
warn spam = VEXIM_SA_USERNAME:true
set acl_m_spam_score = $spam_score
set acl_m_spam_bar = $spam_bar
set acl_m_spam_report = $spam_report
Expand Down