Linode Forum
https://forum.linode.com/

Help, how do I send mail? It semi works.
https://forum.linode.com/viewtopic.php?f=11&t=6471
Page 1 of 1

Author:  arachn1d [ Fri Dec 31, 2010 8:45 am ]
Post subject:  Help, how do I send mail? It semi works.

So I have my incoming mail handled by google. I set up google mx records.

Anyway, my vbulletin board can "send emails" out to people, but when I send a test email to myself I don't get anything using the system.

I'm not sure why. I just tried setting up a SPF record but I don't know if it's the right way.

If I tail -f -n 0 exim/maillog

I get this =>

the@email.com Unrouteable address

I just want it to be a very simple OUTBOUND email... so far not receiving it when sent to gmail.

(edit)

It appears when I send to an address that isn't gmail related it works.

Is this SPF issue?

I have

Code:
v=spf1 include:aspmx.googlemail.com ~all


Quote:
HELO Result="softfail" Remote IP="74.207.251.201"


I don't think that's good. :(

edit: I think I almost fixed it to work. I can send email out as long as it's not to the hostname of the server.

Can I change my hostname to anything? I'm not sure what to change it to.

Right now hostname is the domain so if I send mail to user@domain.com I am guessing it's just trying to route it locally.

Do I just change the host name arbitrarily? What does this mean to my DNS records? I'm hosting with apache and such.

edit 2: changed hostname to server.domain.com and added DNS cname for server to point to @.

edit 3: using
Code:
v=spf1 a:74.207.251.201 include:_spf.google.com ~all


No luck so far. Still getting routed locally and getting softfail.

Author:  obs [ Fri Dec 31, 2010 11:30 am ]
Post subject: 

Your spf record should look like

"v=spf1 a mx include:_spf.google.com ~all"

and in your postfix.conf set

mydestination = localhost, localhost.$mydomain

Author:  arachn1d [ Fri Dec 31, 2010 3:59 pm ]
Post subject: 

obs wrote:
Your spf record should look like

"v=spf1 a mx include:_spf.google.com ~all"

and in your postfix.conf set

mydestination = localhost, localhost.$mydomain


Thanks. I just updated spf record. However I'm not using postfix.conf I have exim...

(can't find postfix.conf only exim conf..)
(edit, guess I'll just install postfix!)

Author:  obs [ Fri Dec 31, 2010 4:34 pm ]
Post subject: 

Ya I'd go for postfix if you're just sending email, it's a darn sight easier to manage.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/