Google Apps, Sendmail, And Getting WordPress To Send Emails

I currently use Google Apps to handle the email on my domain name. So the SMTP records are set to Google Apps. However I want my VPS to be able to send mail, and I can get it to send mail to domains other than ZLStudios.net which is my server.

I want the server to be able to send me mail let's say if someone comments on a blog post I wrote. I can't seem to get that working though. I have Webmin and under Local Domains it says this:

"Apart from mail to zlstudios.net, sendmail will only accept for local delivery mail for domains and hostnames listed in the text box below. If you want your mail server to handle multiple email domains, they must all be listed on this form."

Is there a way I can disable that zlstudios.net domain name?

3 Replies

(Woah, people still use sendmail?!?!)

That usually means your server's hostname is literally "zlstudios.net". Try changing the system hostname to something that isn't your domain name, like "bob.zlstudios.net".

@cusinndzl:

I currently use Google Apps to handle the email on my domain name. So the SMTP records are set to Google Apps. However I want my VPS to be able to send mail, and I can get it to send mail to domains other than ZLStudios.net which is my server.

I am having the same problem. My hostname is set to server1.mydomain.com

I can receive emails from other sources just fine, and my wordpress site can send emails to me@gmail.com without problem, however emails from my wordpress to me@mydomain.com never arrive…

Can anyone help please?

Thanks!

What shows up in your mail server's log file?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct