> In outgoing messages from 'cron', ssmtp does not user /etc/revalias
> if it is required to send the Error messages through the Internet
> or local network because a server is running unobserved.

It only happens with FromLineOverride=yes, of course. The question is: Should 
revalias entries override FromLineOverride=yes? That would be easy:

--- ssmtp.c.orig        2006-05-30 14:34:43.071399405 +0200
+++ ssmtp.c     2006-05-30 17:49:00.674984776 +0200
@@ -1430,6 +1430,9 @@
        if(uad == (char *)NULL) {
                uad = append_domain(pw->pw_name);
        }
+       else {
+               override_from = False;
+       }

        rt = &rcpt_list;

Perhaps just when the sender address isn't qualified? That's a bit more 
complicated.

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: pgpmZDzRsfQ8d.pgp
Description: PGP signature

Reply via email to