l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Jan 04 11:29

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)
Re: [vox-tech] configuring sendmail with dynamic ip dsl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] configuring sendmail with dynamic ip dsl

On Sat, 3 Jan 2004, Kevin Hooke wrote:

> 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.


> 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.


> Heres the headers:
> X-Apparently-To: kevin_hooke@yahoo.com via
>; Sat, 03 Jan 2004 13:32:42 -0800 
> X-YahooFilteredBulk: 
> Return-Path: <kevin@kevinhooke.com> 
> Received: from (EHLO
>  linuxsvr.localdomain) ( by
>  mta207.mail.scd.yahoo.com with SMTP; Sat, 03 Jan 2004
>  13:32:42 -0800 

Yahoo received this directly from you.  Not good.

(Note: header continuation lines are always indented.)


> 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.

You have not actually relayed the email through your isp.

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

I think you need the MAIL_HUB macro to force all outgoing
connections to be made to your ISP's smtp server... something like

  define( 'MAIL_HUB', 'mail.yourisp.net' )dnl

which will tell your computer to never connect directly to the recipient's
mailserver, but always to your isp.

MASQUERADE_AS simply tells sendmail to rewrite your From: email address 
as if you were on a different machine (the one which represents your
public email address).

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


Disclaimer: sendmail is a black art... I am barely functional with it.

Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil@dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
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:
Sunset Systems
Who graciously hosts our website & mailing lists!