Add LMTP server
This commit is contained in:
parent
18c2f95112
commit
3867fa36a2
9 changed files with 187 additions and 35 deletions
|
|
@ -81,7 +81,3 @@ policy-spf unix - n n - 0 spawn
|
|||
# SpamAssassin content filter
|
||||
spamassassin unix - n n - - pipe
|
||||
user=mail argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
|
||||
|
||||
# happyDeliver analyzer - receives emails matching transport_maps
|
||||
happydeliver unix - n n - - pipe
|
||||
flags=DRXhu user=happydeliver argv=/usr/local/bin/happyDeliver analyze -config /etc/happydeliver/config.yaml -recipient ${recipient}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Transport map - route test emails to happyDeliver analyzer
|
||||
# Pattern: test-<uuid>@domain.com -> happydeliver pipe
|
||||
# Transport map - route test emails to happyDeliver LMTP server
|
||||
# Pattern: test-<uuid>@domain.com -> LMTP on localhost:2525
|
||||
|
||||
/^test-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}@.*$/ happydeliver:
|
||||
/^test-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}@.*$/ lmtp:inet:127.0.0.1:2525
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue