New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added milter reject to cleanup section #16

Merged
merged 1 commit into from Jan 20, 2016

Conversation

Projects
None yet
2 participants
@sbidy
Contributor

sbidy commented Jan 19, 2016

The the cleanup section don't recognized the "milter-reject" case as "reject" in 1.14 and 1.11. Added the elseif from the smtpd section.

Test:
$sl= Jan 19 14:42:50 SYSTEMNAME postfix/cleanup[3101]:
$proc = cleanup
$text = 40C12F39F: milter-reject: END-OF-MESSAGE from 45.Red-80-39-23.staticIP.rima-tde.net[80.39.23.45]: 5.7.1 Delivery not authorized, message refused!; from=PierceJeremiah1411@example.com to=nonpollutingja@example.com proto=ESMTP helo=<45.Red-80-39-23.staticIP.rima-tde.net>

Added milter reject to cleanup section
The the cleanup section don't recognized the "milter-reject" case as "reject" in 1.14 and 1.11. Added the elseif from the smtpd section.

Test:
$sl= Jan 19 14:42:50 SYSTEMNAME postfix/cleanup[3101]:
$proc = cleanup
$text = 40C12F39F: milter-reject: END-OF-MESSAGE from 45.Red-80-39-23.staticIP.rima-tde.net[80.39.23.45]: 5.7.1 Delivery not authorized, message refused!; from=<PierceJeremiah1411@example.com> to=<nonpollutingja@example.com> proto=ESMTP helo=<45.Red-80-39-23.staticIP.rima-tde.net>

schweikert added a commit that referenced this pull request Jan 20, 2016

Merge pull request #16 from sbidy/master
Added milter reject to cleanup section

@schweikert schweikert merged commit 9a31767 into schweikert:master Jan 20, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment