Linux - phpmail not working


Recommended Posts

So, got a new IP, and still didn't work. This was driving me nuts, as I could see in the syslog that mail was being sent. What else could it be? Well, the answer is simple. Google was rejecting the emails. The emails were being sent to Google like, "Yo, I'm an email for notification", and Google was all like, "NO! YOU ARE SPAM! IDENTIFY YOURSELF!". After researching, I needed to set up DKIM (DomainKeys Identified Mail) with sendmail. After doing that, Google is all like, "YO! WELCOME TO THE PARTY, TREAT YO SELF TO THE INBOX". 

  On 23/11/2017 at 05:05, fusi0n said:

So, got a new IP, and still didn't work. This was driving me nuts, as I could see in the syslog that mail was being sent. What else could it be? Well, the answer is simple. Google was rejecting the emails. The emails were being sent to Google like, "Yo, I'm an email for notification", and Google was all like, "NO! YOU ARE SPAM! IDENTIFY YOURSELF!". After researching, I needed to set up DKIM (DomainKeys Identified Mail) with sendmail. After doing that, Google is all like, "YO! WELCOME TO THE PARTY, TREAT YO SELF TO THE INBOX". 

Expand  

Did you test sending mail to an outlook.com server? Getting past that spam filter is near impossible since there is always a spammer on my IP block that got the whole IP block banned in my experience...

 

Keep in mind that for transactional mail(registration, notification, newsletter etc) it might be a good idea to use a service instead that handles the email sending, like sendgrid, mailgun, mailchimp, mandrill etc.

Most of them also offer a free ~10k mails/month option, offer APIs/plugins, have tools for mail tracking and have good support that resolves issues like being blacklisted quickly.

 

If you plan on sending mail from your own server, at least consider configuring SPF also besides DKIM.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Looking forward to this.
    • You know - if you abbreviate 2038 as 2K38, it's exactly the same number of characters and so isn't actually an abbreviation - and worse, just makes it confusing for people who weren't aware of the original Y2K problem which happened 25 years ago.
    • This only works for sites that care about the law. Anyone who can't or doesn't want to meet the requirements will either use a VPN or go to a (piracy) alternative that doesn't care about the law. It'll be even worse than the people having visited the law abiding sites without the verification. So way to go on that one.
    • HopToDesk 1.44.2 by Razvan Serea HopToDesk aims to improve the user experience by providing a free, easy-to-use, and secure remote desktop solution for all major device types including Windows PC, Mac, Linux, Android, Chrome Books, iOS, and even Raspberry Pi devices. HopToDesk empowers you to connect, control, and collaborate with ease. Whether you're providing IT support, managing remote teams, or accessing your own devices from anywhere, HopToDesk offers a reliable and secure solution. HopToDesk does not and cannot monitor user activity as the application uses end-to-end encryption for all traffic, and does not make a distinction between personal and business use (both are allowed). Additionally, HopToDesk includes many of the main features of common remote desktop solutions such as Unattended Access, File Transfer, Live Chat, Wake-On-LAN, 2FA, Direct IP access, a Recent Session and Favorite list, and is available in over 20 languages. HopToDesk can run in portable mode or installed on desktop operating systems. Installation is optional, and will install the HopToDesk service which runs in the background and listens for incoming connections, allowing the device to be accessible at all times. Why Choose HopToDesk? Completely Free: Enjoy full access for both personal and commercial use—no hidden fees or limitations. End-to-End Encryption: All communications, including screen sharing, file transfers, and chats, are protected with robust encryption. Open Source: Contribute to and benefit from a transparent and community-driven project. No Account Required: Connect instantly without the need for sign-ups or subscriptions. Core Features Remote Control & Screen Sharing: Effortlessly access and manage remote devices. File Transfer: Securely send and receive files with drag-and-drop simplicity. Live Chat: Communicate in real-time during sessions. Multi-Monitor Support: Navigate multiple screens with ease. Clipboard Synchronization: Copy and paste seamlessly across devices. Wake-on-LAN: Power on remote systems remotely. Session Recording: Document sessions for future reference. Two-Factor Authentication: Enhance security with an additional verification layer. Custom Branding: Personalize your remote sessions with custom avatars. Unattended Access: Connect to devices without requiring user intervention. Network Customization: Adjust settings like TURN relays and signaling servers to suit your environment. Centralized Device Management Utilize the HopToDesk Dashboard to: Monitor device status in real-time. Generate invite links for easy device integration. Customize network settings and synchronize changes effortlessly. Add a personal touch with custom avatars displayed during remote sessions. Download: HopToDesk 64-bit | 8.2 MB (Open Source) Download: HopToDesk 32-bit | 7.0 MB Link: HopToDesk Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Dedicated
      EYEREX earned a badge
      Dedicated
    • First Post
      Electronic Person earned a badge
      First Post
    • Week One Done
      CyberCeps666 earned a badge
      Week One Done
    • Very Popular
      d4l3d earned a badge
      Very Popular
    • Dedicated
      Stephen Leibowitz earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      603
    2. 2
      ATLien_0
      234
    3. 3
      Xenon
      159
    4. 4
      neufuse
      131
    5. 5
      +FloatingFatMan
      124
  • Tell a friend

    Love Neowin? Tell a friend!