generated from smedev/Template-for-SMEServer-Core-Package
* 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:
1
root/etc/e-smith/templates/etc/postfix/main.cf/05compat
Normal file
1
root/etc/e-smith/templates/etc/postfix/main.cf/05compat
Normal file
@@ -0,0 +1 @@
|
||||
compatibility_level=2
|
22
root/etc/e-smith/templates/etc/postfix/main.cf/80qmail
Normal file
22
root/etc/e-smith/templates/etc/postfix/main.cf/80qmail
Normal 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
|
@@ -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
|
||||
|
1
root/etc/e-smith/templates/etc/postfix/master.cf/34qmqpd
Normal file
1
root/etc/e-smith/templates/etc/postfix/master.cf/34qmqpd
Normal file
@@ -0,0 +1 @@
|
||||
628 inet n - n - - qmqpd
|
@@ -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
|
||||
|
4
root/etc/e-smith/templates/etc/postfix/master.cf/36qmail
Normal file
4
root/etc/e-smith/templates/etc/postfix/master.cf/36qmail
Normal 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}
|
||||
|
Reference in New Issue
Block a user