[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[msmtp-users] Re: Welcome to the "msmtp-users" mailing list
Does msmtp have some trigger which will execute certain commands if the mail send is not successful?
Anyway I just hacked up a php script which is a wrapper over msmtp. It will execute msmtp and if the command fails, it will just pipe an error message to procmail. You can configure your procmail to deliver the msmtp error messages to a separate mailbox, and thus you will have the full functionality of a smtp server itself. CUrrently it becomes sort of irritable trying to figure out if the mail really went or not.
Thanks.
attached msmptp.php