Personal tools
You are here: Home FAQ - Frequently Asked Questions PureMessage für Unix Sendmail Configuration Utility for PM
Document Actions

Sendmail Configuration Utility for PM

Zur Konfiguration des PM Sendmail muß das Tool unter /opt/pmx/sendmail/sbin/pmx-sendmail-conf verwendet werden. Hier sind die einzelnen Menüs.

Main Menu:

Sendmail configuration



  1. Choose type of mail server

  2. Add milter

  3. Print milters

  4. Verify milters

  5. Edit milters

  6. Edit sendmail.mc (invokes 'vi')

  7. Build sendmail.cf and maps (invokes 'make')

  8. Exit



Enter selection:



Mit "1" wird der Server-Typ ausgewählt, also "HUB" (= alle Mails werden local zugestellt) oder "GATEWAY" (Weiterleitung an einen Final Destination MTA)

What kind of mail server to configure?



  1. Hub (delivers all mail locally)

  2. Gateway (relays to another server)



Enter a selection (or h for help):

Mit der Auswahl "2" (GATEWAY) kommt der folgende Schirm:

Mail Gateway server type selected.

    Please edit /opt/pmx/sendmail/etc/mail/mailertable

    to add the domain(s) for which this server should relay mail,

    and the host(s) to which such mail should be relayed.  For

    example, if you have an Exchange server where all the mail

    should be sent for local delivery, add:



        yourdomain.com         smtp:[exchange.yourdomain.com]



Edit /opt/pmx/sendmail/etc/mail/mailertable with vi now? [yes]

In der Mailer Table wird die Mailbehandlung pro Domain eingetragen, d.h. mail für die Domain a.b wird per smtp an server1 weitergeleitet, für domain x.y an server2. Die eckigen Klammern [] verhindern ein DNS Lookup, was besonders bei internen Servern und/oder internen Domains wichtig ist.


    Also edit /opt/pmx/sendmail/etc/mail/access

    to add the IP addresses or domain(s) from which mail should be

    accepted for further relaying. Typically, this would include the

    Mail Hub itself, and any particular hosts or IP addresses which

    can send mail through the Mail Gateway. For example:



    yourdomain.com                 RELAY

    clientmta.yourdomain.com     RELAY

    192.168.1                     RELAY



Edit /opt/pmx/sendmail/etc/mail/access with vi now? [yes]

In der Access Table wird eingetragen, für welche IP Adressen ein Relay erlaubt ist.

Danach muß mit make die Konfiguration erzeugt werden.


    You must run make to regenerate the maps after your changes.

Run make now? [yes]

Danach gelangt man wieder zum Main Menu. Mit "2" gelangtman zum Milter Add Dialog. Dabei wird zuerst nach einem Namen für den Miter gefragt, der Default (M1) ist ausreichend. Der Socket ist mit [inet:3366@localhost] bereits richtig eingestellt. Bei einer verteilten Installation müßte hier anstatt localhost der name des PM Servers angegeben werden.
If sendmail can't connect to a socket it can either 'tempfail'
or 'reject' the SMTP connection.
Do you want sendmail to tempfail if it can't connect? [yes]
Das heißt, sollte eine Verbindung zu PM nicht möglich sein, kann Sendmail entweder mit TEMPFAIL die Queue erzeugen oder die Message mit REJECT zurückweisen.
TEMPFAIL ist hier default und meist die bessere Lösung.

Als Timeout ist 5min voreingestellt, dies sollte genügen, ebenso der Default von 2min für "Send information to milter timeout", sowie die default Einstellungen für "Read Reply" und "End of message".

Danach gelangt man wieder zum Main Menü, wo mit "7" die Konfiguration geschrieben wird.

Nun muß mit "7. Build sendmail.cf" die Konfiguration erzeugt werden, danach kann das Setup Tool verlassen werden.
Searchbox
« May 2012 »
Su Mo Tu We Th Fr Sa
12345
6789101112
13141516171819
20212223242526
2728293031
Navigation