* Sun Dec 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-4.sme

- add mini-qmail as Message delivery agent  [SME: 12737]
  few other fixes
  TODO  migrate old qmail properties and change in template
  TODO catch all non existing recipient / check BCC working
This commit is contained in:
2024-12-15 16:10:49 -05:00
parent f2b33f4260
commit 0cec86dcb7
11 changed files with 49 additions and 9 deletions

View File

@@ -0,0 +1 @@
compatibility_level=2

View File

@@ -0,0 +1,22 @@
# qmail local delivery{
## alternatively we could set a db with per user delivery
# mailbox_command_maps = hash:/etc/postfix/mailbox_commands
## in /etc/postfix/mailbox_commands
# # These users need qmail-local delivery.
# johndoe /usr/local/libexec/postqmail-local
# janedoe /usr/local/libexec/postqmail-local
###########################################
# alternatively we could ask dovecot to handle the delivery
#mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT" -d "$USER"
# then sieve rules are needed
# maildrop or procmail could do to ....
}
prepend_delivered_header = file, forward
mailbox_command = /usr/bin/postqmail-local
# qmail needs to forward to qmqpd
qmqpd_authorized_clients = 127.0.0.1

View File

@@ -1,5 +1,3 @@
#2525 inet n - n - - smtpd
# :25 is in use by qpsmtpd
#smtp inet n - n - - smtpd
#smtp inet n - n - 1 postscreen
#smtpd pass - - n - - smtpd

View File

@@ -0,0 +1 @@
628 inet n - n - - qmqpd

View File

@@ -1,4 +1,3 @@
#628 inet n - n - - qmqpd
pickup unix n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr unix n - n 300 1 qmgr

View File

@@ -0,0 +1,4 @@
# qmail need to test for virtual boxes
qmail-local unix - n n - - pipe
user=$USER argv=/usr/bin/sudo -u $user -H /usr/bin/postqmail-local ${mailbox} ${extension} ${nexthop} ${sender}