settings exported under wrong user.
exit(1);
}
- if (getenv("CRON_VALIDATE_MAILRCPTS") != 0L)
- ValidateMailRcpts = 1;
-
/* Get the default locale character set for the mail
* "Content-Type: ...; charset=" header
*/
* up the mail command and subjects and stuff...
*/
- if (mailto && ((ValidateMailRcpts == 0) || safe_p(usernm, mailto))
- /* Why validate the mail recipient name ? All mailers do this anyway... JVD */
- ) {
+ if (mailto && safe_p(usernm, mailto)) {
char **env;
char mailcmd[MAX_COMMAND];
char hostname[MAXHOSTNAMELEN];
XTRN time_t StartTime;
XTRN int NoFork;
XTRN int PermitAnyCrontab;
-XTRN int ValidateMailRcpts;
XTRN char MailCmd[MAX_COMMAND];
XTRN char cron_default_mail_charset[MAX_ENVSTR];