<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://rm-rf.ch/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://rm-rf.ch/feed.php">
        <title>wiki.rm-rf.ch - mail:postfix</title>
        <description></description>
        <link>https://rm-rf.ch/</link>
        <image rdf:resource="https://rm-rf.ch/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-09-22T23:54:01+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:absenderbasiertes_relaying"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:additional_port_for_postfix"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:autoresponder_for_postfix"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:autoresponder_fuer_postfix"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:cidr_blacklisten_in_mysql"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:cidr_blacklists_in_mysql"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:mails_aus_mailqueue_loeschen"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:postfix_add_relayhost"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:postfix_relayhost_hinzufuegen"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:postfix-quota_eng"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:postfix-quota"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:relay_with_postfix_adv"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:selektives_relaying_postfix"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:sender-based_relaying"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:sidebar"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:start"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:virtuelle_email_benutzer_mit_postfix"/>
                <rdf:li rdf:resource="https://rm-rf.ch/mail:postfix:zusaetzlicher_port_bei_postfix"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://rm-rf.ch/_media/wiki:dokuwiki.svg">
        <title>wiki.rm-rf.ch</title>
        <link>https://rm-rf.ch/</link>
        <url>https://rm-rf.ch/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://rm-rf.ch/mail:postfix:absenderbasiertes_relaying">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>absenderbasiertes_relaying</title>
        <link>https://rm-rf.ch/mail:postfix:absenderbasiertes_relaying</link>
        <description>Absenderbasiertes Relaying mit Postfix

Hintergrund

Viele Benutzer der Mailstation wollen diese als zentralen Emailgateway für&#039;s LAN verwenden. Dabei stellen sich v.a. bei der Verwendung einer dynamischen externen IP Adresse einige Probleme und Unwägbarkeiten. Das Problem bei dynamischen Absenderadressen ist es, dass sie von vielen Antispamlösungen auf Mailservern als Kriterium für Spam erkannt werden. Dazu werden Listen eingesetzt, die die IP-Blöcke aller dynamischen Adressen weltweit enthalte…</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:additional_port_for_postfix">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>additional_port_for_postfix</title>
        <link>https://rm-rf.ch/mail:postfix:additional_port_for_postfix</link>
        <description>Additional port for Postfix

As a default a SMTP-server runs on TCP port 25 and listens for incoming mails. This has one main disadvantage: Mails that are received by the DS as terminal-station as well as mails that local client send to DS to relay to other server will end on the same port. This is especially problematic if you use a anti-spam solution like spamassassin</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:autoresponder_for_postfix">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>autoresponder_for_postfix</title>
        <link>https://rm-rf.ch/mail:postfix:autoresponder_for_postfix</link>
        <description>autoresponder for postfix

With dovecot-sieve there is a plugin called vacation which creates autoreplies (out of office messages). „Unfortunately“ vacation is written in a manner that allows at most one message a day for one sender address. If you want to use vacation for an info address which responds to every request, then you would have to dive into sourcecode of vacation.</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:autoresponder_fuer_postfix">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>autoresponder_fuer_postfix</title>
        <link>https://rm-rf.ch/mail:postfix:autoresponder_fuer_postfix</link>
        <description>autoresponder mit postfix

Für dovecot-sieve gibt es mit vacation ein Plugin, welches Abwesenheitsmeldungen erstellt und verschickt. „Leider“ ist vacation so geschrieben, dass maximal einmal pro Tag eine Mail pro Sender rausgeht. Will man also z.B. für eine info-Adresse jede Mail mit einer Meldung bestätigen, geht dies mit vacation nicht ohne den Quelltext zu verändern.</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:cidr_blacklisten_in_mysql">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-22T17:36:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cidr_blacklisten_in_mysql</title>
        <link>https://rm-rf.ch/mail:postfix:cidr_blacklisten_in_mysql</link>
        <description>Postfix kennt eine nette Art von Tabellen um schnell auch grössere Netzwerke zu sperren. Das erreicht man durch eine cidr Blacklist z.B. so


192.168.205.0/27 reject


welche dann z.B. so in die Postfix Konfig (main.cf) eingebaut werden kann. 

Vielleicht möchtest Du auch</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:cidr_blacklists_in_mysql">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-22T17:32:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cidr_blacklists_in_mysql</title>
        <link>https://rm-rf.ch/mail:postfix:cidr_blacklists_in_mysql</link>
        <description>Postfix knows a very nice feature called cidr-maps. This helps to block larger ip-ranges in a very comfortable way. You can read more about it in the postfix manual

You might want to read this as well. I found a neat way to add a timestamp which updates on every sucessful SELECT</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:mails_aus_mailqueue_loeschen">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mails_aus_mailqueue_loeschen</title>
        <link>https://rm-rf.ch/mail:postfix:mails_aus_mailqueue_loeschen</link>
        <description>Dieses kleine Script hilf dem Administrator einer Postfix Servers bei der Beseitigung von Spamabfall in der Mailqueue. Dabei durchsucht das Script den Inhalt der Files direkt in der Queue. Im Gegensatz zu meinem anderen Script für die Mailqueue, welches die Informationen nur in der Ausgabe des</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:postfix_add_relayhost">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>postfix_add_relayhost</title>
        <link>https://rm-rf.ch/mail:postfix:postfix_add_relayhost</link>
        <description>Add a relayhost for postfix mailserver

The following script helps the admin to activate a relayhost in postfix configuration. It asks the user for the values on command line and inserts those values into postfix configuration


#!/bin/sh

main=&#039;/usr/syno/mailstation/etc/main.cf&#039;
#main=&#039;./main.cf&#039;
#map=&#039;./smtp_auth&#039;
map=&#039;/usr/syno/mailstation/etc/smtp_auth&#039;
echo -n &#039;Hostname of relayhost:  &#039;
while read relayhost
do
 [ &quot;x$relayhost&quot; != &#039;x&#039; ] &amp;&amp; break
 echo -n &#039;Hostname of relayhost:  &#039; &amp;&amp; continu…</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:postfix_relayhost_hinzufuegen">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>postfix_relayhost_hinzufuegen</title>
        <link>https://rm-rf.ch/mail:postfix:postfix_relayhost_hinzufuegen</link>
        <description>Relay Host in Postfix hinzufügen

Dieses kleine Script soll Usern helfen, die einen Relyhost für Postfix einrichten wollen. Dazu fragt das Script die nötigen Werte vom User ab und trägt diese in die Postfix Konfiguration ein.


#!/bin/sh

main=&#039;/usr/syno/mailstation/etc/main.cf&#039;
#main=&#039;./main.cf&#039;
#map=&#039;./smtp_auth&#039;
map=&#039;/usr/syno/mailstation/etc/smtp_auth&#039;
echo -n &#039;Hostname des Relayhosts:  &#039;
while read relayhost
do
 [ &quot;x$relayhost&quot; != &#039;x&#039; ] &amp;&amp; break
 echo -n &#039;Hostname des Relayhosts:  &#039; &amp;&amp; cont…</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:postfix-quota_eng">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>postfix-quota_eng</title>
        <link>https://rm-rf.ch/mail:postfix:postfix-quota_eng</link>
        <description>postfix-quota

postfix-quota is a little perl script which offers a service for mailbox-size checking to postfix. The script listens as a daemon on a TCP port and serves requests from postfix.
The script answers with a ACTION code for postfix (like DUNNO). If the mailbox is over quota a 450 error is returned until the mailbox is 200% over limit. If more than 200% over limit the script returns a 550 (hard error) to postfix.</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:postfix-quota">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>postfix-quota</title>
        <link>https://rm-rf.ch/mail:postfix:postfix-quota</link>
        <description>postfix-quota

postfix-quota ist ein kleines Perl Script welches einen Dienst zur Abfrage von Mailboxgrössen für Postfix zur Verfügung stellt. Dabei öffnet das Script TCP-Sockets und lauscht auf Anfragen von Postfix.
Das Script beantwortet Anfragen mit einem ACTION Code für Postfix. Ist die Quota in Ordnung oder tritt ein Fehler auf, dann kommt als ACTION ein DUNNO. Ist der User overquota dann wird Postfix angewiesen die Mail zu verweigern. Bis zu 200% Overquota mittels temporärem 450-er Fehler …</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:relay_with_postfix_adv">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>relay_with_postfix_adv</title>
        <link>https://rm-rf.ch/mail:postfix:relay_with_postfix_adv</link>
        <description>Advanced relay with Postfix

What&#039;s that?

Sender-based relaying is something very nice. More information can be found in the manual

Let&#039;s start

Here I want to show how to achieve that only certain receipient adresses are relayed. The rest of the mails should still be sent</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:selektives_relaying_postfix">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>selektives_relaying_postfix</title>
        <link>https://rm-rf.ch/mail:postfix:selektives_relaying_postfix</link>
        <description>Selektives Realying mit Postfix

What&#039;s that?

Absenderbasiertes Relaying ist etwas sehr feines bei Postfix und sorgt dafür, dass die Emails jeden Absenders über den korrekten SMTP Server (SMTP Server des jeweiligen Emailanbieters z.B. gmx oder gmail) verschickt werden kann. Dazu gibt es die entsprechenden Infos bei</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:sender-based_relaying">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sender-based_relaying</title>
        <link>https://rm-rf.ch/mail:postfix:sender-based_relaying</link>
        <description>Sender-based relaying with Postfix

Background

A lot of users of the Mailstation want to use it as a central mail-gateway for their LAN clients. Especially when using dynamic external addresses (as most of homeusers have) there is a bunch of problems. The main one is that a lot of providers use anti-spam solutions which use a dynamic sender ip as a main criteria for spammails. To achive that they use lists of networks which contain dynamic ips.</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:sidebar">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sidebar</title>
        <link>https://rm-rf.ch/mail:postfix:sidebar</link>
        <description>*  Postfix
		*  [English Version] postfix quota Service
		*  virtuelle Benutzer
		*  [English Version] Absenderbasietes Relaying
		*  [English Version] Selektives Relaying
		*  [English Version] Weitere SMTP-Ports
		*  [English Version] Autoresponder
		*  [English Version] Relayhost
		*  [English Version] CIDR Blacklisten in MySql
		*  Mails aus der Queue löschen</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:start">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://rm-rf.ch/mail:postfix:start</link>
        <description>Alles zum Thema Postfix ist hier zu finden</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:virtuelle_email_benutzer_mit_postfix">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>virtuelle_email_benutzer_mit_postfix</title>
        <link>https://rm-rf.ch/mail:postfix:virtuelle_email_benutzer_mit_postfix</link>
        <description>Virtuelle Emailnutzer mit Postfix

Per default läuft die Mailstation mit lokalen Benutzern d.h. jeder Benutzer des IMAP/POP3- oder SMTP-Servers muss über ein lokalen Account auf der Diskstation mit gültigem Homeverzeichnis verfügen. Das wird natürlich bei mehreren Benutzern etwas mühsam, da man immer einen neuen lokalen Benutzer erstellen muss. Dafür bieten sowohl der SMTP (Postfix) Server als auch der IMAP/POP3 (Dovecot) Server die Unterstützung für virtuelle Benutzer. Dabei werden alle Zugriff…</description>
    </item>
    <item rdf:about="https://rm-rf.ch/mail:postfix:zusaetzlicher_port_bei_postfix">
        <dc:format>text/html</dc:format>
        <dc:date>2014-03-21T23:16:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>zusaetzlicher_port_bei_postfix</title>
        <link>https://rm-rf.ch/mail:postfix:zusaetzlicher_port_bei_postfix</link>
        <description>Zusätzlicher Port für Postfix

Per Default läuft ein SMTP Server auf Port 25. Wenn nur ein Port verwendet wird, dann hat das einen entscheidenden Nachteil: Sowohl E-Mails, die direkt an die DS geschickt werden, als auch E-Mails von lokalen Benutzern, die diese via die DS versenden, landen auf dem gleichen Port. Problematisch wird es dann, wenn auf dem Server eine Antispam-Software wie z.B.</description>
    </item>
</rdf:RDF>
