meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
linux:issues [2019/08/22 08:26] – created niziak | linux:exim:issues [2021/04/30 09:20] – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Issues ====== | ||
+ | |||
+ | ====== F=<>: Unrouteable address ====== | ||
+ | |||
+ | < | ||
+ | www-data@hostnaname.example.com F=<>: Unrouteable address | ||
+ | </ | ||
+ | |||
+ | Test routing path: | ||
+ | <code bash> | ||
+ | exim -bt www-data@example.com | ||
+ | |||
+ | DEBUG: system_aliases for www@example.com | ||
+ | DEBUG: procmail for www-data@example.com | ||
+ | www-data@example.com is undeliverable: | ||
+ | </ | ||
+ | |||
+ | |||
====== unable to set gid=33 ====== | ====== unable to set gid=33 ====== | ||
Line 11: | Line 29: | ||
<file php mailtest.php> | <file php mailtest.php> | ||
<?php | <?php | ||
- | $email = "w.nizinski@grinn-global.com"; | + | $email = "user@domain.com"; |
$subject = "test z phpa"; | $subject = "test z phpa"; | ||
$message = "lorem ipsum"; | $message = "lorem ipsum"; | ||
Line 18: | Line 36: | ||
print ($mail); | print ($mail); | ||
?> | ?> | ||
- | |||
</ | </ | ||
+ | |||
+ | Reason: | ||
+ | |||
+ | **Apache Module MPM ITK** | ||
+ | The MPM ITK Apache module implements restrictions on the use of the setuid() function and the setgid() function. As a result, scripts that depend on these functions may encounter problems. This includes scripts that use the mail() function, the shell_exec function, or the sudo command. | ||
+ | |||
+ | You can resolve these restrictions with one of the following methods: | ||
+ | |||
+ | * Do not use the MPM ITK Apache module. | ||
+ | * Update your script to no longer require escalated privileges. | ||
+ | * Turn off the security and allow users to execute scripts as the root user. You can allow users with a UID or GID between 0 and 4294496296 | ||
+ | < | ||
+ | < | ||
+ | LimitUIDRange 0 4294496296 | ||
+ | LimitGIDRange 0 4294496296 | ||
+ | </ | ||
+ | </ | ||
+ | | ||
+ | **Warning: | ||
+ | |||
+ | To work around it, you would have to change your php or php-apps to | ||
+ | send mails via SMTP to localhost instead of invoking / | ||
+ | directly. I can't give any advice on how to do that, though. Or maybe | ||
+ | there is some way to install some minimal MTA like ssmtp or nullmailer | ||
+ | as / | ||
+ | how easy it is to install those parallel to exim, though. Maybe it | ||
+ | could work by diverting exim's / | ||
+ |