Skip to content

Commit

Permalink
docsrc/setup-postfix: fix for socketmap
Browse files Browse the repository at this point in the history
https://www.postfix.org/socketmap_table.5.html says after socketmap:unix:PATH
follow colon and a map name.  The map name is sent in the request, as
described in the prelude of imap/smmapd.c, but skipped by smmapd.
  • Loading branch information
dilyanpalauzov committed May 3, 2024
1 parent 9011128 commit 74da6ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docsrc/assets/setup-postfix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ server and engineer delivery via LMTP. The following examples show the
or, if you have enabled smmapd you can automatically track mailboxes with::

postconf -e "virtual_mailbox_domains=hash:/etc/postfix/virtual_recipient_domains"
postconf -e "virtual_mailbox_maps=socketmap:unix:/run/cyrus/socket/smmap"
postconf -e "virtual_mailbox_maps=socketmap:unix:/run/cyrus/socket/smmap:smmapd"

2. Optional: Set the concurrency and recipient limits for LMTP delivery to the
``virtual`` destination::
Expand Down
7 changes: 6 additions & 1 deletion docsrc/imap/reference/manpages/systemcommands/smmapd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ Description
a Cyrus mailbox exists, that it is postable and it is under quota. It
accepts commands on its standard input and responds on its standard
output. It MUST be invoked by :cyrusman:`master(8)` with those
descriptors attached to a remote client connection.
descriptors attached to a remote client connection. The service ignores
the userdeny database. The received queries contain map name followed by
mailbox, **smmapd** ignores the map name. Queries with plus addressing return
*OK* if the user has a mailbox with the name after plus, otherwise the result
is *NOTFOUND*. Match for the mailbox after plus is performed case-sensitive,
for the address before the plus - case-insensitive.

**smmapd** |default-conf-text|

Expand Down

0 comments on commit 74da6ab

Please sign in to comment.