Bug 250045
| Summary: | Procmail - add NO_USER_TO_LOWERCASE_HACK | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vince Schiavoni <hlingler> | ||||||
| Component: | procmail | Assignee: | Miroslav Lichvar <mlichvar> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 6 | CC: | hlingler | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2007-07-30 10:47:42 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Vince Schiavoni
2007-07-30 04:12:23 UTC
Created attachment 160213 [details]
Sample of bounced system mail
Created attachment 160220 [details]
modified procmail config.h file
OK, I'm not really very knowledgeable/experienced with this stuff, but I'm tired of the bouncing e-mails, so I fixed this problem as follows: Reference: http://www.terraluna.org/dgp/cvsweb/procmail/config.h: "... /*#define NO_USER_TO_LOWERCASE_HACK /* uncomment if your getpwnam() is case insensitive or if procmail will always be supplied with the correct case in the explicit delivery mode argument(s) */ ..." I downloaded the procmail-3.22-17.1.src.rpm from redhat/FC and installed with "rpm -ivh procmail-3.22-17.1.src.rpm", then from the /usr/src/redhat/SPECS/ folder: "rpmbuild -bp procmail.spec", then edited the /usr/src/redhat/BUILD/procmail-3.22/config.h file (attached) as per the above reference to include: "#define NO_USER_TO_LOWERCASE_HACK", then used checkinstall (instead of "make install") to create a new procmail-3.22-1presario.i386.rpm, and installed that with "rpm -Uvh --force procmail-3.22-1presario.i386.rpm". This eliminated the procmail bounce errors, but I still had to add "MODIFY_MAILER_FLAGS(`LOCAL', `+u')dnl" to the /etc/mail/sendmail.mc file (as per http://www.sendmail.org/~ca/email/lfaq.html#UPPER) and reload sendmail to finish the job. With these two changes (to procmail-3.22/config.h and sendmail.mc), e-mail is now being successfully delivered to user Vince as intended. I still request/suggest that the active releases of procmail be revised to incorporate the "NO_USER_TO_LOWERCASE_HACK", unless there is some special reason not to do so. I would further request/suggest that sendmail/sendmail.mc be revised to include the "MODIFY_MAILER_FLAGS" as an option, as it is also required to accomplish the goal of local system mail delivery to usernames with uppercase letters. Thanx and Regards, Vince Well, the code disabled by the define was replaced after procmail-3.10, so adding it to current config.h won't change anything. FC6 procmail can deliver mail to usernames with uppercase letters. As for sendmail, please see bug #63677. |