Skip to main content

user@server.tld -> mailbox@domain.tld

Comments

5 comments

  • 24x7server
    Hello, I think you are sending mail through php scripts using the php mail function and due to server is sending all mail through user@hostname. You need to use SMTP authentication in your script instead of php mail function
    0
  • Wabun
    Hi, yes I was afraid for such answer, the problem is that many different websites having same issue, WordPress, TYPO3 and many others, I was hoping for a more elegant solution. WP is very difficult to do for the average user as there is no plug-in able to fix it, so you need to hard-code/modify the php mail script. Thanks for your reply anyway.
    0
  • 24x7server
    Hello, If your user are sending these mail through contact form, Then you can use CONTACT FORM 7 plugin for word-press. With this plugin setting you can use SMTP function instead of php mails.
    0
  • Wabun
    I found this in one of my old documents... In exim under advanced settings, it rewrites it. # Set return-path sender to local domain instead of hostname. untrusted_set_sender = *@+local_domains
    0
  • cPanelMichael
    Hello :) The best way to solve this issue is to require your users to utilize SMTP authentication when sending out emails. However, you are welcome to implement that custom Exim entry and let us know the outcome. Thank you.
    0

Please sign in to leave a comment.