VirtualTam's bookmarks

  1. A whole buncha' links with contradictory information on how to properly set up a mail server ;-)

    Disclaimer - My primary goal is to add proper Spamassassin (SA) filtering to an existing Postfix / Dovecot / roundcube installation, i.e.:

    • use SA as a milter (mail filter) to attribute a spam score to incoming mail
    • keep SA up-to-date
    • train SA with spam/ham from the users' virtual mailboxes
    • train SA according to user decisions (actual user or trained mail client with automatic/trained spam detection)

    Here we go!

    Most useful links; I stumbled upon them as soon as I knew what to look for:

    Official:

    Debian:

    CentOS:

    RHEL:

  2. Pro: no need to setup a DNS server to test virtualhosts Con: keep in mind that all "fake" hosts will point to 127.0.0.1!

    1. Use /etc/hosts to declare test hosts / domains / subdomains
    #<ip-address>	<hostname.domain.org>	<hostname>
    127.0.0.1	localhost.localdomain	localhost
    127.0.0.1	host.localdomain	host
    127.0.0.1	sub.host.localdomain	sub.host
    ::1		localhost.localdomain	localhost
    
    1. Allow per-user virtualhost definition in either (depending on your distro)
    • /etc/httpd/conf/httpd.conf
    • /etc/apache2/apache2.conf

    Include /home/albert/.httpd/*.conf

    1. Profit! Create virtualhosts with local hostnames :)