You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We just encountered increasing undelivered messages rate on certain recipient server and it was caused by mismatch between From header and envelope address. Then we found out that Nette did not pass required parameter (-f) to sendmail automatically and it must be set manually. I would expect this would be handled by mailer.
We solved it by replacing default SendmailMailer by this child class:
I just think this should either be default behaviour (is the any case when yo do not want to pass -f parameter?) or be configurable either by providing subclass (EnvelopeSendmailMailer, FromSendmailMailer, ...) as we did it or even better maybe as option (setPassEnvelopeFrom()) of SendmailMailer.
Activity
dg commentedon Jan 5, 2021
Can it cause some problems when it will be the default?
MartinMystikJonas commentedon Jan 6, 2021
I think not. At least if you do not use some quite non-standard configuration of mail delivery system. But I am not 100% sure.
dg commentedon Jan 6, 2021
We will see :)
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
5 remaining items
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]
SendmailMailer: 'From' is passed as cmd argument [Closes #78]