LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-04-2008, 03:38 AM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
Send mail using localhost in several places in header


Hi
I am trying to setup my send mail to increase delivery to Inboxes of Hotmail/Yahoo/Gmail I did setup SPF and Domain keys successfully however emails that I send using the typical mail command still get sent to the junk box. I did check out my headers and I found the following two lines
Received: from mydomain.com (mydomain.com [127.0.0.1] (may be forged))
Received: (from me@localhost)

I would really prefer it if I could use the real IP "sendmail is listening on all IPs"
instead of 127.0.0.1 and me@mydomain instead me@localhost.

Any hints
 
Old 11-04-2008, 07:51 AM   #2
Yaniv-Fer
Member
 
Registered: Feb 2006
Distribution: Fedora,Solaris
Posts: 46

Rep: Reputation: 15
Hi ALInux

if i understand you correct you are trying to send mails from your local mailserver (postfix,sendmail,etc) at home or office to send mails to hotmail, gmail etc...


in order to not get blocked or to get on the spam lists... xbl-sbl etc

you will need:

1.correct dns entries
A record and PTR record that are pointing back to you...
if i remember right maybe also SPF entry...


2. if you would like to receive mails you will need MX records pointing to your mailserver...


in short... your mails are going to the junk folder because you do not have correct DNS entries and maybe you are using a dynamic ip range...


good luck...

Yaniv Ferszt

oh and about the other thing...
you will need to configure masquerade... on your mail server...
so if you send a mail from root@localhost it will masquerade it to
root@your_domain.com

Last edited by Yaniv-Fer; 11-04-2008 at 07:53 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can mail command be used to send mail onto global mail servers like yahoo etc dale_chip Linux - Newbie 4 08-12-2008 08:33 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
Postfix: SASL & Send mail through scripts frol localhost snjv Linux - Server 2 06-02-2007 10:53 AM
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration