Networking Forums

Networking Forums > Computer Networking > Linux Networking > Sendmail masquerading

Reply
Thread Tools Display Modes

Sendmail masquerading

 
 
=?ISO-8859-1?Q?Lars-G=F6ran_Andersson?=
Guest
Posts: n/a

 
      01-02-2004, 10:27 AM
I wan't to mail outside my LAN - to the Internet!
But my ISP claims that my "From:" is not of an known domain. Of course
it isn't, it's my local domain.
And therefore I have tried to use the Sendmails "MASQURADE" functions.
Without any success.
I've done it like this:

MASQUERADE_AS(My_ISP_DOMAIN)dnl
MASQURADE_DOMAIN(localhost)
MASQURADE_DOMAIN(localhost.domain)

Now I begin to believe that I totaly missunderstood the use of
MASQUERADE. Is there any other solution that can work or have I to give
up sendmail.

I'm using tripwire and want it to report to an address outside my LAN.
Otherwise it's easy e.g. with Pine you can set the From-address to
whatever you like and then it work's. But in the case of tripwire I
don't know any other way.

 
Reply With Quote
 
 
 
 
Buck Turgidson
Guest
Posts: n/a

 
      01-02-2004, 05:49 PM
>
> MASQUERADE_AS(My_ISP_DOMAIN)dnl
> MASQURADE_DOMAIN(localhost)
> MASQURADE_DOMAIN(localhost.domain)


I find sendmail to be very difficult, but I managed to get my machine to
send outgoing mail just yesterday. Do you need to include your email
account with "My_ISP_DOMAIN"? That's what I did.

This is what I did


define(`SMART_HOST', `[smtp.east.cox.net]')
MASQUERADE_AS((E-Mail Removed))
FEATURE(masquerade_envelope)
MASQUERADE_DOMAIN('smooch.turgidson.com')
FEATURE(masquerade_envelope)
FEATURE(`genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')

Then, create these 2 files:

/etc/mail$ cat genericstable
(E-Mail Removed) (E-Mail Removed)

/etc/mail$ cat generics-domains
smooch.turgidson.com





 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
masquerading with SUSE 9.3 marcuso Linux Networking 1 04-11-2006 11:16 AM
masquerading with SUSE marcuso Linux Networking 8 03-22-2006 10:36 AM
IP Masquerading Tejas Kokje Linux Networking 1 04-14-2004 02:42 AM
Userlevel IP Masquerading rajREMOVETIGERsekar_manokaran@yahoo.co.uk Linux Networking 0 03-04-2004 01:08 PM
Masquerading Ali Rafeek Linux Networking 1 01-03-2004 04:33 PM



1 2 3 4 5 6 7 8 9 10 11