Summary: | mail/milter-greylist build fails when sendmail configured for SMTP Authentication | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Wayne Sierke <ws> |
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
Status: | Closed Works As Intended | ||
Severity: | Affects Some People | CC: | arved, eugen, m.tsatsenko |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(m.tsatsenko) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Wayne Sierke
2019-07-23 18:58:53 UTC
I am not sure. Although what you are suggesting will do the trick it may cause some trouble in the future. Why we dont just add SASL option to the port? Well, I had a look at this. It seems that the problem is caused by very old workaround which is not needed anymore. Could you please confirm commenting out following lines passing SENDMAIL_FLAGS to the build solves for problem for you: POSTFIX_LDFLAGS_OFF= ${SENDMAIL_LDFLAGS} POSTFIX_LIBS_OFF= ${SENDMAIL_LDADD} (In reply to m.tsatsenko from comment #2) I confirm that removing those lines from the port Makefile resolves the build problem when tested with poudriere. Thank you very much for identifying that. Hello, Thanks for feedback. I will submit a patch to fix this next few days. Note that corresponding Handbook section was updated before 11.4-RELEASE. I don't think this is a problem. According to the documentation you linked, you have to first install cyrus-sasl2, so once the user adds the flags to make.conf, it can be assumed that cyrus-sasl2 is installed. milter-greylist doesn't use SASL directly, so adding a dependency is not the right way to solve this problem. |