Issue with alias

Discussion in 'Installation/Configuration' started by mccharlet, Jun 29, 2025.

  1. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi,
    Il have an issue with the alias using in a forms in my website. The form send an email with smtp gateway. The website,email and smtp are in the same server. the mail from the form is considered SPAM.
    I need to put the alias in the whitelist to solve it. All it's in the same server, i'm surprise to need whitelist an alias
    alias : webmaster@mydomainwebsite
    mailbox : billetterie@mydomainwebsite
    mailbox relay smtp : smtp@mydomainwebsite

     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I wonder why you use webmaster@mydomainwebsite as the from address? This address is typically used when sending emails through the PHP mail() function, rather than using SMTP via a gateway. Check your contact form plugin to ensure you are sending through the SMTP gateway and not localhost. Also, when sending through a SMTP gateway, ensure that this gateway is permitted to do so in the SPF record of your domain.
     
  3. mccharlet

    mccharlet Member HowtoForge Supporter

    Hi Till,
    It's right, i don't use smtp relay for this form, but phpmail to localhost.
    But all is in the same server, why it's considered SPAM. phpmail doesn't use to a local account ? i just understant wy is block
    I will change the configuration for my form.
    Thanks
     

Share This Page