Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ RUN >/etc/postfix/main.cf \
fi \
&& postconf -M -e 'smtp/inet=smtp inet n - n - - smtpd' \
&& postconf -M -e 'discourse/unix=discourse unix - n n - - pipe user=nobody:nogroup argv=/usr/local/bin/receive-mail ${recipient}' \
&& postconf -M -e 'policy/unix=policy unix - n n - - spawn user=nobody argv=/usr/local/bin/discourse-smtp-fast-rejection' \
&& if [ "$INCLUDE_DMARC" = "true" ]; then \
postconf -M -e 'policyd-spf/unix=policyd-spf unix - n n - - spawn user=nobody argv=/usr/bin/policyd-spf'; \
fi \
Expand All @@ -46,7 +45,7 @@ COPY policyd-spf.conf /etc/postfix-policyd-spf-python/policyd-spf.conf
COPY opendkim.conf /etc/opendkim.conf
COPY opendmarc.conf /etc/opendmarc.conf

COPY receive-mail discourse-smtp-fast-rejection /usr/local/bin/
COPY receive-mail /usr/local/bin/
COPY lib/ /usr/local/lib/site_ruby/
COPY boot /sbin/
COPY fake-pups /pups/bin/pups
Expand Down
11 changes: 0 additions & 11 deletions discourse-smtp-fast-rejection

This file was deleted.

145 changes: 0 additions & 145 deletions lib/mail_receiver/fast_rejection.rb

This file was deleted.

159 changes: 0 additions & 159 deletions spec/lib/fast_rejection_spec.rb

This file was deleted.