• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved MSMTP Relay only some adress

Aude

New Pleskian
First : Happy new year ;)

My problem is on fresh install, i don't want to have email and dns server, i delegate this to my provider.
So i desactivate dns server et install MSMTP (relay only)
i use moi@mondomaine.com on relay smtp (OVH.com)

when i use this adress moi@mondomaine.com via "normal client" , no problem

When i send email to test with setting / stats / report in plesk panel, green box with succefull sent message.

but i only receive mail when adress are account@gmail, account@yahoo.ca
if it's domain name (redirection) account@domainename.com i never receive mail ?

when i check mail /var/log/mail log all is success (smtp=250)

Do you have an idea ?

sorry formy bad english.

Thanks you.
 
Nobody ? i try to resolve this with support.. but not seem to be ok...

i need to use another "from" adress in mstmp with real adress mail.

maillog is ok

Jan 9 11:26:59 nomboutique msmtp: host=ssl0.ovh.net tls=on auth=on user=compte@domain.com from=psaadm@localhost recipients=externalmail@domain2.com mailsize=4120 smtpstatus=250 smtpmsg='250 2.0.0 Ok: queued as 38D9660008E' exitcode=EX_OK

support tell me to add mail.force_extra_parameters = "-f realmail@realdomain.com" in php.ini but no effect

how can i change this from ?
 
As an alternative you can add the "-f realmail@realdomain.com" as a fifth parameter in PHP's mail command that is sending the mail in question. However, I have doubts that this will solve the issue. A mail with an invalid sender domain should not be queued to begin with, so it's probably not the reason for the problem. Have you tested with realdomain.com or with different domains on different other servers, too?
 
Thanks for your reply.
i try "-f realmail@realdomain.com" but not solve my problem

as you can see msmtp relay my mails with success to smtp relay, but it's not sending process directly concern, "just" informations of sending "from".
Because recipient server check (probably from spam) if sender exist and psaadm@localhost not exist

 
The site parameter cannot be changed??? If there is such a parameter in a configuration file, it will normally occupy the fifth parameter of the PHP mail() function, setting "-f ...@localhost" as sender. Have you tried to change your website configuration to reflect your real sender address?
 
after 8 hours of team viewer support,2 emails, ... :

modify /etc/msmtprc
auto_from off
from name@domaine.com

restart service

bad new is this file is auto-generate, so it can be overwrite.
 
Back
Top