generated from smedev/Template-for-SMEServer-Core-Package
* Sun Nov 17 2024 <jpp@koozali.org> 1.0-2.sme
- listen only via sockets - use both unix user and virtual users - groups and pseudonyms implemented in virtual maps - support smarthost with and without auth - support global and per domain delegated mail server - support ssl - uses qmail - recipient delimiter in left part of email. - all domains set as local domains in mydestination - message_size_limit - local and remote concurency limit
This commit is contained in:
14
root/usr/bin/postqmail-local
Normal file
14
root/usr/bin/postqmail-local
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
#credit Ron Bickers <rbickers@logicetc.com>
|
||||
# $1 = $LOCAL
|
||||
# $2 = $EXTENSION
|
||||
# $3 = $DOMAIN
|
||||
# $4 = $SENDER
|
||||
export PATH=$PATH:/usr/local/bin:/var/qmail/bin
|
||||
tail +2 | seekablepipe qmail-local -- \
|
||||
"$USER" "$HOME" "$LOCAL" "${EXTENSION:+-}" "$EXTENSION"
|
||||
"$DOMAIN""$SENDER" ./Maildir/
|
||||
e=$?
|
||||
(($e == 111)) && exit 75
|
||||
(($e == 100)) && exit 77
|
||||
exit $e
|
Reference in New Issue
Block a user