l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2004 Jan 04 18:53

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] configuring sendmail with dynamic ip dsl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] configuring sendmail with dynamic ip dsl



Hi - I have been trying to configure sendmail so I can
run it on my local server at home, which is connected
to the net via a DSL connection with a dynamic IP
address.

I host my domains and websites from this server, and
use a script with zoneedit.com to keep my domain name
dns entries mapped to my dynamic ip (which rarely
seems to change anyway) and this all works fine.

I also have sendmail configured ok so I can send and
receive email ok.

What is driving me nuts is the dynamic ip blacklists
that result in the majority of my emails being bounced
from mailservers that consider my dynamic IP address
to be the originator of spam.

I think this is a pretty broad (and wrong) assumption,
but anyway, heres my problem try to get round this:

I've read on abuse.net that I can configure sendmail
to relay my email via my ISP's smtp server, so it
appears to come from them, rather than my ip address.

I am using Redhat 8.0.

Heres what I added to /etc/mail/sendmail.mc:

define(`SMART_HOST',`mail.yourisp.net')dnl 
   MASQUERADE_AS(kevinhooke.com)dnl
   FEATURE(`allmasquerade')dnl 
   FEATURE(`masquerade_envelope')dnl 

replacing mail.yourisp.net with sbcglobal/yahoo's smtp
server.

I then updated this with:
m4 sendmail.mc > sendmail.cf

then restarted my sendmail server with:
/etc/init.d/sendmail restart

Server starts ok, everything looks good.

When I send mail, I can see in /var/log/maillog that
the email was relayed via mx1.mail.yahoo.com (I
think).

The email that is actually sent though still has info
about my own server and my dynamic IP address, which
means the email is still getting blacklisted/blocked
as spam.

Heres the headers:
X-Apparently-To: kevin_hooke@yahoo.com via
66.218.93.88; Sat, 03 Jan 2004 13:32:42 -0800 
X-YahooFilteredBulk: 64.165.71.234 
Return-Path: <kevin@kevinhooke.com> 
Received: from 64.165.71.234 (EHLO
linuxsvr.localdomain) (64.165.71.234) by
mta207.mail.scd.yahoo.com with SMTP; Sat, 03 Jan 2004
13:32:42 -0800 
Received: from thebeast ([192.168.0.3]) by
linuxsvr.localdomain (8.12.8/8.12.8) with ESMTP id
i03LWf11031162 for <kevin_hooke@yahoo.com>; Sat, 3 Jan
2004 13:32:42 -0800 
Message-ID: <002c01c3d241$26b3f160$0300a8c0@thebeast> 
From: "Kevin Hooke" <kevin@kevinhooke.com>  Add to
Address Book 
To: "Kev" <kevin_hooke@yahoo.com> 
Subject: test from pc 
Date: Sat, 3 Jan 2004 13:32:55 -0800 
MIME-Version: 1.0 
Content-Type: text/plain; charset="iso-8859-1" 
Content-Transfer-Encoding: 7bit 
X-Priority: 3 
X-MSMail-Priority: Normal 
X-Mailer: Microsoft Outlook Express 6.00.2800.1158 
X-MimeOLE: Produced By Microsoft MimeOLE
V6.00.2800.1165 
Content-Length: 1 

This was an email sent from Outlook on my Windows XP
machine, via my sendmail mailserver for my
kevinhooke.com domain on my linux box, to a test email
address kevin_hooke@yahoo.com

I was expecting from what I read on the abuse.net site
that relaying via my isp's smtp server would solve the
dynamic ip blacklisting problems, but apparently it
hasn't or I am misunderstanding something.

Any ideas? I only know a little linux (enough to get
me in trouble apparently), so please be explicit with
any instructions! :-) 

If anyone knows of any website/how-tos that may help,
that would be appreciated too!

Thanks, Kevin Hooke


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.