Re: sendmail "send as" and error
- View Sourcebitozoid:
> When using sendmail binary, I have found two sources of errors.Use a logfile monitor. Postfix logs all submission errors.
> - No recipients.
> - Not authorized (user is not in 'authorized_submit_users').
> I have two questions:
> 1) Errors get logged, but is there a way for them to be reported by email?
Unlike the SMTP agents, the Postfix sendmail command must be able
to run even when Postfix is stopped. It cannot depend on the
existence of running postfix daemons.
There are many errors that Postfix sendmail cannot notify by sending
email (such as disk full, bad file permission, etc.) so it does not
attempt to notify for only a subset.
> 2) Is there a way to authorize a user to use sendmail but forbid the use ofNo-one has asked for that, therefore it is not implemented. Software
> the '-f' (send as) flag?
may be free to use, but that doesn't mean it costs nothing to provide.