Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Sending mail problems, detected as spam

General questions about VestaCP
Post Reply
  • Print view
Advanced search
13 posts
  • 1
  • 2
  • Next
Kaurer
Posts: 16
Joined: Fri Dec 20, 2013 10:02 pm

Sending mail problems, detected as spam
  • Quote

Post by Kaurer » Sat Dec 21, 2013 1:13 pm

Hello,

I have a problem sending mail. All mail I send reaches tray Gmail spam.

I have reviewed the SPF record for the domain and it seems correct, this is what I have:

@ TXT "v=spf1 a mx ip4:xx.xx.xx.xx ?all"

Thanks for your help, greetings.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Sending mail problems, detected as spam
  • Quote

Post by skid » Sat Dec 21, 2013 2:17 pm

Hi Kaurer,

most probably server hostname doesn't match FQDN. You can setup it using "hostname my.domain.ltd" command. There is also one important thing. Server IP should have pingable PTR (reverse record).
Top

Kaurer
Posts: 16
Joined: Fri Dec 20, 2013 10:02 pm

Re: Sending mail problems, detected as spam
  • Quote

Post by Kaurer » Sat Dec 21, 2013 3:49 pm

Hi skid,

This is what I have set up right now:

# cat /etc/hostname
srv1.mydomain.com

#cat /etc/hosts
127.0.0.1 localhost srv1.mydomain.com

On DigitalOcan pane for PTR I have:
ip: xx.xx.xx.xx
PTR record: srv1.mydomain.com.

Is this correct?

Thank you very much for your help.
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Sending mail problems, detected as spam
  • Quote

Post by skid » Tue Dec 24, 2013 1:46 pm

Kaurer, everything looks right. Google is also love DKIM signatures I suggest you to make it as well.
Top

Kaurer
Posts: 16
Joined: Fri Dec 20, 2013 10:02 pm

Re: Sending mail problems, detected as spam
  • Quote

Post by Kaurer » Tue Dec 24, 2013 5:16 pm

Hi skid,

The IP of the server is very new and has never been used to send emails, perhaps that could be the cause.

I'll try to add a DKIM signature and see what happens.

Thanks for your help. Greetings.
Top

nightstryke
Posts: 83
Joined: Tue Jan 14, 2014 6:43 am

Re: Sending mail problems, detected as spam
  • Quote

Post by nightstryke » Tue Jan 14, 2014 6:55 am

Hey my setup is a bit different, but i'm getting the same issue.

Here's my settings:

# cat /etc/hostname
server1

#cat /etc/hosts
127.0.0.1 localhost
x.x.x.x server1.mydomain.com server1


I don't have digital ocean, i'm hosting it off of a vps on my dedicated server and my domain registrar is godaddy.

Any help would be much appreciated!
Top

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: Sending mail problems, detected as spam
  • Quote

Post by misak35 » Sun Jan 19, 2014 1:01 pm

Here is mine # cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
xxx.xxx.xxx.xxx server1.mydomain.tld server1
::1 localhost.localdomain localhost

How to setup a valid PTR? I check my domain on https://www.whatsmydns.net/#PTR/ and get me Error: Invalid IP address :S :S
Top

nightstryke
Posts: 83
Joined: Tue Jan 14, 2014 6:43 am

Re: Sending mail problems, detected as spam
  • Quote

Post by nightstryke » Mon Jan 20, 2014 5:07 am

misak35 wrote:Here is mine # cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.
xxx.xxx.xxx.xxx server1.mydomain.tld server1
::1 localhost.localdomain localhost

How to setup a valid PTR? I check my domain on https://www.whatsmydns.net/#PTR/ and get me Error: Invalid IP address :S :S
I'm looking at this as I"m trying to get it setup properly and it looks like we may have to edit one or all of the templates manually.

Code: Select all

/usr/local/vesta/data/templates/dns/child-ns.tpl
/usr/local/vesta/data/templates/dns/default.tpl
/usr/local/vesta/data/templates/dns/gmail.tpl
Looking at it more closely, the default and child should probably be edited to add a PTR/RDNS setting. - I'm not sure on this as I haven't tried it yet.
Top

misak35
Posts: 60
Joined: Thu Jan 16, 2014 10:48 am

Re: Sending mail problems, detected as spam
  • Quote

Post by misak35 » Mon Jan 20, 2014 9:36 am

Try this http://www.microsoft.com/mscorp/safety/ ... fault.aspx :) maybe hlp you :D
Top

Muczkowski
Posts: 4
Joined: Thu Oct 23, 2014 9:27 pm

Re: Sending mail problems, detected as spam
  • Quote

Post by Muczkowski » Thu Jan 29, 2015 9:08 am

Hello, I'll refresh the subject.

Problem is the same. Mails go without any problem but only gmail throws them to spam.
My settings are:

hostname:
mail.circusmosaic.pl

PTR:
mail.circusmosaic.pl

DKiM is on,

SPF set like:
TXT "v=spf1 a mx ip4:xx.xx.xx.xx ~all"

lets go with some screenshot:
http://circusmosaic.pl/2.png
http://circusmosaic.pl/3.png

..so what's wrong with that?
Thaank you!
Top


Post Reply
  • Print view

13 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password