summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Matthijs Kooijman [Mon, 4 May 2009 12:58:56 +0000 (14:58 +0200)]
exim: Don't do sender verification by callout.
Doing callouts puts extra resource pressure on the called server. Since
the sender address will be forged in a lot of cases anyway, this won't
really help us and can be used in a DDOS attack on some server. See
http://www.backscatterer.org/index.php?target=sendercallouts
Matthijs Kooijman [Thu, 30 Apr 2009 14:58:09 +0000 (16:58 +0200)]
exim: Relay mail for fizzgig.{eu,nl}.
Matthijs Kooijman [Thu, 30 Apr 2009 14:56:16 +0000 (16:56 +0200)]
exim4: Let exim know its external hostname.
This allows relaying to other domains (e.g., work as a backup MX) to
work, since exim knows defer mails instead of sending them to itself
again.
Matthijs Kooijman [Thu, 30 Apr 2009 07:15:51 +0000 (09:15 +0200)]
rsyslog: Add default configuration.
Matthijs Kooijman [Mon, 27 Apr 2009 14:16:38 +0000 (16:16 +0200)]
exim: Restructure the spam handling acls.
Previously, exim would have its own spam score threshold and expect
spamassassin to mark any messages as spam (even with negative score), so
spam headers could be added on non-rejected messages. Now, we use three
acl clauses instead of just one, allowing us to accept the judgment of
spamassassin again and add spam headers in a separate clause.
Matthijs Kooijman [Mon, 27 Apr 2009 14:15:49 +0000 (16:15 +0200)]
spamassassin: Mark messages as spam with score > 20.
Previously all messages would be marked and exim would set the
threshold, but this is about to change.
Matthijs Kooijman [Mon, 27 Apr 2009 14:01:53 +0000 (16:01 +0200)]
exim: Set the spamassassin profile to "spamd".
This should really matter, but setting it to "default" made spamd
complain about the user "default" not being found.
Matthijs Kooijman [Mon, 27 Apr 2009 13:56:34 +0000 (15:56 +0200)]
exim: Correct spam rejection threshold.
The score used to be compared with 20, but that really means spamscore
2.0. So we set it to 200 instead, for rejecting when the score is >20.
Matthijs Kooijman [Mon, 27 Apr 2009 13:55:06 +0000 (15:55 +0200)]
spamassassin: Run as user "spamd" instead of root.
When running as root, spamd will run as whatever user the client claims
to be, to read preferences. Since this is not-so-secure, we'll just run
as an unprivileged user to begin with (since we don't do per-user
privileges anyway).
Matthijs Kooijman [Sat, 25 Apr 2009 20:17:26 +0000 (22:17 +0200)]
exim: Add more email domains.
The list now includes all domains I process email for.
Matthijs Kooijman [Sat, 25 Apr 2009 19:51:00 +0000 (21:51 +0200)]
spamassassin: Set a custom spam report template.
The default template is long and wordy, and says the message is marked
as spam. In our configuration, all messages get the report, so that is
not very accurate.
Matthijs Kooijman [Sat, 25 Apr 2009 19:48:57 +0000 (21:48 +0200)]
exim: Add spamcheck ACL.
This ACL always adds spam headers to messages, and denies messages that
have a very high (>20) spamscore.
Matthijs Kooijman [Sat, 25 Apr 2009 16:33:47 +0000 (18:33 +0200)]
spamassassin: Set the threshold really low (-100.0).
Exim will has its own spamscore threshold, but only adds spam headers on
messages that are spam according to spamassasin. So we set the threshold
really low here.
Matthijs Kooijman [Sat, 25 Apr 2009 16:33:19 +0000 (18:33 +0200)]
spamassassin: Mark a bunch of hosts as internal.
Matthijs Kooijman [Sat, 25 Apr 2009 16:32:52 +0000 (18:32 +0200)]
spamassassin: Remove default (commented) configuration.
Matthijs Kooijman [Sat, 25 Apr 2009 16:18:02 +0000 (18:18 +0200)]
spamassassin: Enable nightly updates through cron.
Matthijs Kooijman [Sat, 25 Apr 2009 16:17:47 +0000 (18:17 +0200)]
spamassassin: Enable.
Matthijs Kooijman [Sat, 25 Apr 2009 16:16:39 +0000 (18:16 +0200)]
spamassassin: Add default configuration.
Matthijs Kooijman [Sat, 25 Apr 2009 15:53:05 +0000 (17:53 +0200)]
exim: Add vim modelines to all config files.
Matthijs Kooijman [Fri, 17 Apr 2009 13:15:44 +0000 (15:15 +0200)]
system: Set hostname and mailname
Matthijs Kooijman [Wed, 15 Apr 2009 17:43:11 +0000 (19:43 +0200)]
exim4: Use dovecot for delivery only.
This removes all previous delivery methods (.forward files, procmail and
direct Maildir delivery) in favour of using dovecot's deliver program.
Dovecot supports forwarding and filtering use sieve scripts and knows
exactly where a user's mailbox should be, so this does not remove
functionality but prevents duplicate configuration.
Matthijs Kooijman [Wed, 15 Apr 2009 17:41:49 +0000 (19:41 +0200)]
dovecot: Customize the configuration.
This enables dovecot for imaps and email delivery, using sieve for
filtering, pam and nss for authnz and enabling virtual mailboxes.
Matthijs Kooijman [Tue, 14 Apr 2009 10:05:44 +0000 (12:05 +0200)]
exim: Fix domainlist references by prepending a +.
All mail delivery was broken, since the local_domains domainlist was not
properly set.
Matthijs Kooijman [Mon, 13 Apr 2009 16:00:00 +0000 (18:00 +0200)]
dovecot: Add default configuration.
Matthijs Kooijman [Wed, 8 Apr 2009 17:41:28 +0000 (19:41 +0200)]
exim: Completely review the exim configuration.
This commit mostly removes the fancy Debian debconf automatic stuff,
since that creates a lot of overhead with macros being defined in one
place and the actual configuration in another place. Other unused parts
of the configuration are also unused.
Configuration is added for the main delivery lookups to happen from
ldap data. Both persons and groups in the LDAP directory can have email
addresses defined, which will then get forwarded or delivered
appropriately (for emailaddresses in the virtual_domains setting, of
course). Email will also be delivered for any username@host addresses,
where host is one of the drsnuggles vservers.
Matthijs Kooijman [Mon, 30 Mar 2009 07:38:57 +0000 (09:38 +0200)]
exim: Add initial configuration.
This configuration is generated by debconf by question answering.
Matthijs Kooijman [Tue, 30 Dec 2008 23:00:45 +0000 (00:00 +0100)]
pam: Let pam.d/cron include common-account.
The changes to common-account make the custom account section of
pam.d/cron unneeded.
Matthijs Kooijman [Tue, 30 Dec 2008 22:58:24 +0000 (23:58 +0100)]
pam: Let pam.d/su include common{account,session}.
Since pam.d/other was removed, su was missing the account and session
entries and failed.
Matthijs Kooijman [Tue, 30 Dec 2008 22:56:17 +0000 (23:56 +0100)]
pam: Make common-account also support unix users.
This makes sure that common-account supports both unix users (from
passwd) and ldap users. A lot of services don't do real (password)
authentication, but do need to work for both ldap and unix users (cron,
su).
common-auth still only works for ldap users, since those are the only
ones with actual passwords.
Matthijs Kooijman [Tue, 30 Dec 2008 22:51:27 +0000 (23:51 +0100)]
pam: Add .so to module names in pam.d/other.
Matthijs Kooijman [Tue, 30 Dec 2008 16:04:28 +0000 (17:04 +0100)]
pam: Deny everything in pam.d/other.
Matthijs Kooijman [Tue, 30 Dec 2008 16:01:26 +0000 (17:01 +0100)]
pam: Add default pam.d/other file.
Matthijs Kooijman [Tue, 30 Dec 2008 15:50:45 +0000 (16:50 +0100)]
pam: Fix pam configuration for cron.
This allows non-ldap users (say, root) to use cron.
Matthijs Kooijman [Tue, 30 Dec 2008 10:38:15 +0000 (11:38 +0100)]
pam: Don't allow console logins.
We don't have a console on a vserver anyway...
Matthijs Kooijman [Tue, 30 Dec 2008 10:36:39 +0000 (11:36 +0100)]
pam: Allow only root to change shells and user info.
Since changing user info and shells for ldap users is not supported by
chfn and chsh anyway, and we have no real users that are not in ldap,
limiting this to just root makes sense.
Matthijs Kooijman [Tue, 30 Dec 2008 10:24:58 +0000 (11:24 +0100)]
pam: Add default pamd.d/{chfn,chsh,cron,login} files.
Matthijs Kooijman [Mon, 29 Dec 2008 19:03:51 +0000 (20:03 +0100)]
pam: Remove all but one line from pam.d/su.
The session modules seem useless, and the common files only include ldap
and don't know about root, so that only gives warnings when root is
trying to su.
This makes it impossible for non-root users to use su, but that's a
feature.
Matthijs Kooijman [Mon, 29 Dec 2008 19:03:15 +0000 (20:03 +0100)]
pam: Add default pam.d/su file.
Matthijs Kooijman [Thu, 9 Oct 2008 20:20:13 +0000 (22:20 +0200)]
system: Set the timezone to Europe/Amsterdam.
Matthijs Kooijman [Thu, 9 Oct 2008 15:46:18 +0000 (15:46 +0000)]
apt: Move local repository from ~matthijs to /data.
Matthijs Kooijman [Thu, 9 Oct 2008 13:15:34 +0000 (13:15 +0000)]
bash: Include bash.bashrc from /etc/profile.
Matthijs Kooijman [Thu, 9 Oct 2008 13:14:52 +0000 (13:14 +0000)]
system: Add resolv.conf, pointing to the DNS vserver.
root [Tue, 30 Sep 2008 14:49:56 +0000 (14:49 +0000)]
bash: Add default global profile script.
root [Tue, 30 Sep 2008 14:33:29 +0000 (14:33 +0000)]
bash: Enable extended completion.
root [Tue, 30 Sep 2008 14:32:51 +0000 (14:32 +0000)]
bash: Add initial bashrc.
root [Fri, 26 Sep 2008 10:16:05 +0000 (10:16 +0000)]
nss: Don't use mdns for name resolution.
This change was automatically made by removing avahi-daemon.
root [Fri, 26 Sep 2008 10:15:05 +0000 (10:15 +0000)]
nullmailer: Add configuration.
root [Thu, 25 Sep 2008 15:36:02 +0000 (15:36 +0000)]
pam: Enable LDAP host attribute checking.
root [Thu, 25 Sep 2008 15:30:51 +0000 (15:30 +0000)]
pam: Only use LDAP for auth and account, remove unix authentication.
root [Thu, 25 Sep 2008 12:19:43 +0000 (12:19 +0000)]
pam: Simplify configuration.
root [Thu, 25 Sep 2008 10:24:14 +0000 (10:24 +0000)]
pam: Use LDAP for authentication.
root [Thu, 25 Sep 2008 10:23:45 +0000 (10:23 +0000)]
nss: Use LDAP for passwd and group.
root [Thu, 25 Sep 2008 07:48:37 +0000 (07:48 +0000)]
pam: Add default pam common- files.
root [Thu, 21 Aug 2008 16:04:27 +0000 (16:04 +0000)]
Add local debian repository.
root [Thu, 21 Aug 2008 15:45:24 +0000 (15:45 +0000)]
Import initial sources.list.