Hello community,

here is the log from the commit of package opensuse-postfix-image for 
openSUSE:Factory checked in at 2020-11-19 12:01:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opensuse-postfix-image (Old)
 and      /work/SRC/openSUSE:Factory/.opensuse-postfix-image.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opensuse-postfix-image"

Thu Nov 19 12:01:16 2020 rev:5 rq:849313 version:1.0.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/opensuse-postfix-image/opensuse-postfix-image.changes
    2020-11-17 21:27:44.665521972 +0100
+++ 
/work/SRC/openSUSE:Factory/.opensuse-postfix-image.new.5913/opensuse-postfix-image.changes
  2020-11-23 10:37:28.769820935 +0100
@@ -1,0 +2,5 @@
+Wed Nov 18 17:59:37 UTC 2020 - Thorsten Kukuk <[email protected]>
+
+- Enhance documentation
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ README.md ++++++
--- /var/tmp/diff_new_pack.5o7NKf/_old  2020-11-23 10:37:29.309821527 +0100
+++ /var/tmp/diff_new_pack.5o7NKf/_new  2020-11-23 10:37:29.309821527 +0100
@@ -1,5 +1,24 @@
 # Postfix container
 
+- [Guide](#guide)
+  - [Create new postfix server](#create-new-postfix-server)
+- [Supported environment variables](#supported-environment-variables)
+  - [Generic variables](#generic-variables)
+  - [SMTP related variables](#smtp-related-variables)
+  - [Virtual mailbox related variables](#virtual-mailbox-related-variables)
+  - [LDAP related variables](#ldap-related-variables)
+- [Data persistence volumes](#data-persistence-volumes)
+- [Virtual domains and virtual users](#virtual-domains-and-virtual-users)
+  - [Environment Variables](#environment-variables)
+  - [Files](#files)
+- [Mail delivery via LMTP](#mail-delivery-via-lmtp)
+
+## Guide
+
+### Create new postfix server
+
+By default a simple relayhost postfix instance is started.
+
 The command to run this container is:
 
 ```sh
@@ -8,9 +27,12 @@
 
 In all examples, `podman` can be replaced directly with `docker`.
 
-## Supported environment variables:
+## Supported environment variables
+### Generic variables
 - `DEBUG=[0|1]`                Enables "set -x" in the entrypoint script.
 - `TZ`                 Timezone to use in the container.
+
+### SMTP related variables
 - `SERVER_HOSTNAME`    Server hostname. Emails will appear to come from the 
hostname's domain.
 - `SERVER_DOMAIN`      If not set, the domain part of `SERVER_HOSTNAME` will 
be used.
 - `SMTP_RELAYHOST`     Name of the SMTP relay server to use.
@@ -22,10 +44,14 @@
 - `MASQUERADE_DOMAINS` Comma separated list of domains that must have their 
subdomain structure stripped off.
 - `MYDESTINATION`      List of domains for which mails are delivered locally 
instead of forwarding to another machine.
 - `LMTP=host`           Host on which the lmtp service is running. This will 
disable the usage of the vmail user account.
+
+### Virtual mailbox related variables
 - `VIRTUAL_MBOX=[0|1]` Create virtual mail boxes in /var/spool/vmail owned by 
user vmail.
 - `VMAIL_UID=5000`     User ID and group ID of the vmail user for virtual 
domains and mailboxes.
 - `VIRTUAL_DOMAINS=`   Whitespace seperated list of virtual domains, will be 
written to `/etc/postfix/vhosts`.
 - `VIRTUAL_USERS=`     Whitespace seperated list of virtual users email 
addresses.
+
+### LDAP related variables
 - `USE_LDAP=[0|1]`     Use LDAP for virtual mail box user accounts.
 - `LDAP_BASE_DN`       LDAP base DN, defaults to `dc=example,dc=org`.
 - `LDAP_SERVER_URL`    LDAP Server URL, defaults to `ldap://localhost`.
@@ -71,7 +97,7 @@
 ```
 
 Will store the mails for the users `[email protected]`, `[email protected]`,
-`[email protected]` into the directories inside of the container:
+`[email protected]` into the directories inside of the container:
 - `/var/spool/vmail/example.com/user1/`
 - `/var/spool/vmail/example.com/user2/`
 - `/var/spool/vmail/example1.com/user/`
@@ -118,5 +144,14 @@
 
 The example call:
 ```sh
-podman run -d --rm --name postfix -p "25:25" -e VIRTUAL_MBOX=1 -e 
VMAIL_UID=5000 -e SERVER_HOSTNAME=smtp.example.com -e 
SMTP_RELAYHOST=relay.example.com -e SMTP_USERNAME=mailer -e SMTP_PASSWORD='XXX' 
-v "/srv/postfix/vmail:/var/spool/vmail" -v 
"/srv/postfix/etc/vhosts:/etc/postfix/vhosts:ro" -v 
"/srv/postfix/etc/vmaps:/etc/postfix/vmaps:ro" -v 
"/srv/postfix/etc/vquota:/etc/postfix/vquota:ro" 
registry.opensuse.org/opensuse/postfix:latest
+podman run -d --rm --name postfix -p 25:25 -e VIRTUAL_MBOX=1 -e VMAIL_UID=5000 
-e SERVER_HOSTNAME=smtp.example.com -e SMTP_RELAYHOST=relay.example.com -e 
SMTP_USERNAME=mailer -e SMTP_PASSWORD='XXX' -v 
"/srv/postfix/vmail:/var/spool/vmail" -v 
"/srv/postfix/etc/vhosts:/etc/postfix/vhosts:ro" -v 
"/srv/postfix/etc/vmaps:/etc/postfix/vmaps:ro" -v 
"/srv/postfix/etc/vquota:/etc/postfix/vquota:ro" 
registry.opensuse.org/opensuse/postfix:latest
+```
+
+## Mail delivery via LMTP
+
+To deliver the mails via a LMTP service, the container needs to know the host
+on which such a service is running:
+
+```sh
+podman run -d --rm --name postfix -p 25:25 -e MYDESTINATION=example.com -e 
LMTP=lmtp.example.com registry.opensuse.org/opensuse/postfix:latest
 ```

++++++ entrypoint.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/entrypoint/ldap/virtual_mailbox_maps 
new/entrypoint/ldap/virtual_mailbox_maps
--- old/entrypoint/ldap/virtual_mailbox_maps    2020-11-17 16:17:12.000000000 
+0100
+++ new/entrypoint/ldap/virtual_mailbox_maps    2020-11-18 18:59:54.000000000 
+0100
@@ -14,4 +14,4 @@
 query_filter = maildrop=%s
 #result_attribute = homeDirectory
 #result_format = %s/Maildir/
-result_format = %u/
+result_format = %d/%u/
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to