Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Dec 22, 2007 6:20 am 
Offline
Senior Newbie

Joined: Sun Feb 05, 2006 1:21 pm
Posts: 10
Location: United Kingdom
Hi all,

I'm running CentOS 5 with Sendmail, and it's configured to forward any mail to my domains (e.g. mydomain.com) to another email address. I also send mail from this server, but also from my home ISP's SMTP servers.

Can I use SPF in this case? I'm fairly new to it, so I need to understand it a bit better. I want to use SPF so I can increase my chances of delivering mail to the likes of Yahoo, AOL and Hotmail.

I use Linode's DNS, so when I do a reverse lookup on my IP it resolves to the Linode host name (rather than my domain name). In this case, do I include the Linode host name in the SPF record?

Any help would be much apreciated.

Ray

_________________
-=L9NUX=-


Top
   
 Post subject:
PostPosted: Sat Dec 22, 2007 1:20 pm 
Offline
Linode Staff
User avatar

Joined: Sat Jun 21, 2003 2:21 pm
Posts: 160
Location: Absecon, NJ
First things first. You can fix the rDNS of your Linode IP very easily. Set up an A record for the name you want your IP to resolve to then go into the Dashboard -> Utilities -> Reverse DNS Manager to set up rDNS.

Secondly, one of the huge advantages (in my opinion) of running a Linode is that you don't need to rely on your ISP's outbound SMTP. It's pretty easy to set up any modern MTA to use TLS & authentication. Then you just set up your mail clients to route through your Linode at all times. That makes your SPF record very easy: "v=spf1 mx -all" If your ISP is blocking outbound access on port 25, no problem. Set up your MTA to listen on a second, unblocked port. No more problem! I've done it like this for years and it makes dealing with email from my laptop so much better.

Anyway, that's my $0.02

--James


Top
   
 Post subject:
PostPosted: Sat Dec 22, 2007 4:40 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
Yes, you can have multiple servers listed in your SPF record. Check http://www.openspf.org/ for more info than you can stand.

And yes, setting *all* your mail to go through your linode instead of using your ISPs servers is not too hard. I'm too stupid to figure out TLS (well, not TLS itself, but the morass that is SASL ("Simple" my a**!)), but UUCP works nicely!

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject:
PostPosted: Sun Dec 23, 2007 11:52 am 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
UUCP over SSL, at that, if you want to do it properly. Very easy with stunnel (for incoming) and openssl (for outgoing) wrappers.
Code:
% cat /etc/stunnel/stunnel.conf
cert=/etc/stunnel/stunnel.pem

[uucp]
accept = 12345
exec = /usr/sbin/uucico
execargs = uucico -l


Code:
% cat /etc/uucp/port
port ssl-remote
  type pipe
  command /usr/bin/openssl s_client -connect remote_machine:uucp-ssl -quiet


(where "uucp-ssl" is defined in /etc/services to match the stunnel config)

Code:
% cat /etc/uucp/sys
call-login *
call-password *
commands /usr/bin/rmail
max-remote-debug none

system remote
  time Any
  # port tcpip
  port ssl-remote
  address remote-machine
  chat-seven-bit false
  chat ogin: \L ssword: \P
  called-login Uremote
  chat-timeout 60


(The rest of the UUCP config goes as normal with /etc/uucp/passwd, and /etc/uucp/call)

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group