Re: Sendmail Masquerading Question
Stew Benedict wrote: > > On Wed, 13 Feb 2002, Ian wrote: > > > I think it was either Kurt or you who said to add > > > > set hostname = marchak.homeip.net > > > > to my .muttrc file...which I did. But when mail arrives at the other > > end, mutt has changed it to marchak.homeip.net, but there's something in > > the header, I think it's the fact that in the header of the email > > contains > > > > Return-Path: <[EMAIL PROTECTED]> > > > > is what is causing the other servers to reject because a direct cut and > > paste of the From info (from the same header) is > > > > From: Ian <[EMAIL PROTECTED]> > > > > You need to setup masquerading for the envelope and the header, and you > can also use genericstable to rewrite the From:. If you take a look at > Linux Journal's site there's a wrieup I did on a sendmail setup like this > that I've used successfully at a manufacturing plant where several folks > were masqued behind one internet account. I've tucked away yours and David's posts...will have a look-see tonight. I think the link is: http://www.linuxjournal.com/article.php?sid=4539 in case anyone else is interested. > I do the same thing here and > run 4 seperate accounts for my various identitities. You know, a few trips to a good doctor, and you can maybe whittle it down to one identity. ;-) -- Linux SxS [http://sxs.homeip.net/] ___ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Sendmail Masquerading Question
On Wed, 13 Feb 2002, Ian wrote: > I think it was either Kurt or you who said to add > > set hostname = marchak.homeip.net > > to my .muttrc file...which I did. But when mail arrives at the other > end, mutt has changed it to marchak.homeip.net, but there's something in > the header, I think it's the fact that in the header of the email > contains > > Return-Path: <[EMAIL PROTECTED]> > > is what is causing the other servers to reject because a direct cut and > paste of the From info (from the same header) is > > From: Ian <[EMAIL PROTECTED]> > You need to setup masquerading for the envelope and the header, and you can also use genericstable to rewrite the From:. If you take a look at Linux Journal's site there's a wrieup I did on a sendmail setup like this that I've used successfully at a manufacturing plant where several folks were masqued behind one internet account. I do the same thing here and run 4 seperate accounts for my various identitities. If you need more details, holler. Stew Benedict ___ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Sendmail Masquerading Question
On Wed, 13 Feb 2002 22:43:41 -0500 begin Ian <[EMAIL PROTECTED]> spewed forth: [snip] > > But no matter what combination of DM / CM / CG (shooting wildly at then > end) I cannot prevent it from mailing out [EMAIL PROTECTED] when I > send from the sendmail box. Which of course bounces as domain doesn't > exist. Remove the CG item(s). You need: DMmarchak.ca FEATURE(masquerade_envelope) (this goes in your .mc file, then rebuild w/ m4) you can always test: sendmail -bt /tryflags hs /try esmtp [EMAIL PROTECTED] /try local [EMAIL PROTECTED] (all should resolve completely (and finally) to [EMAIL PROTECTED]) D to quit. Ciao, David A. Bandel -- Focus on the dream, not the competition. -- Nemesis Racing Team motto Internet (H323) phone: 206.28.187.30 ___ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Sendmail Masquerading Question
I do the same as you. But, I use mutt, which puts on the proper world accessible address (hammershome.com) instead of my private network name jhammer.org (which also exists on the net but its not mine.) All my mail is composed and sent on my box which runs sendmail and also serves as the firewall. Do you think mine works because by serendipity jhammer.org exists in the real world, too? Joel On Wed, Feb 13, 2002 at 10:43:41PM -0500, Ian wrote: > OK, > Followed Doug's SxS step and produced in about an hour or less, a fully > functioning sendmail. All but the tweaking...which has turned out to > be far less satisfying. > > >From mail clients on other hosts on my home network, email composed in > say > netscape goes out with the From values set (in netscape) staying as is, > and all seems to be working OK. > > Whenever I send mail from the sendmail machine, which is behind a > firewall w/ port forwarding, the address is always [EMAIL PROTECTED] > which only exists in my little network...although I have the marchak.ca > domain hosted outside, the only official/external NS records are > www.marchak.ca and marchak.ca. > > So, domain masquerading sounded like what I was looking for. I have a > domain through dyndns.org, which I put in /etc/mail/local-host-names and > I can accept mail for marchak.homeip.net...cool. What I wanted to do > was have mail sent from [EMAIL PROTECTED] (which is what it would be > when I am logged in locally to the box with sendmail running) to be > changed to [EMAIL PROTECTED] > > I have a imaps server running and I want to have all my mail bounced to > sent to marchak.homeip.net so I can do away with outside web mail and > just run my services myself...so I have no mailbox size limits except > the ones I put on myself...and because I can. > > But no matter what combination of DM / CM / CG (shooting wildly at then > end) I cannot prevent it from mailing out [EMAIL PROTECTED] when I > send from the sendmail box. Which of course bounces as domain doesn't > exist. > > Can someone more sage in sendmail shed some light on my dim little > picnic? > -- > Linux SxS [http://sxs.homeip.net/] > ___ > Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users > Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. ___ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Sendmail Masquerading Question
OK, Followed Doug's SxS step and produced in about an hour or less, a fully functioning sendmail. All but the tweaking...which has turned out to be far less satisfying. >From mail clients on other hosts on my home network, email composed in say netscape goes out with the From values set (in netscape) staying as is, and all seems to be working OK. Whenever I send mail from the sendmail machine, which is behind a firewall w/ port forwarding, the address is always [EMAIL PROTECTED] which only exists in my little network...although I have the marchak.ca domain hosted outside, the only official/external NS records are www.marchak.ca and marchak.ca. So, domain masquerading sounded like what I was looking for. I have a domain through dyndns.org, which I put in /etc/mail/local-host-names and I can accept mail for marchak.homeip.net...cool. What I wanted to do was have mail sent from [EMAIL PROTECTED] (which is what it would be when I am logged in locally to the box with sendmail running) to be changed to [EMAIL PROTECTED] I have a imaps server running and I want to have all my mail bounced to sent to marchak.homeip.net so I can do away with outside web mail and just run my services myself...so I have no mailbox size limits except the ones I put on myself...and because I can. But no matter what combination of DM / CM / CG (shooting wildly at then end) I cannot prevent it from mailing out [EMAIL PROTECTED] when I send from the sendmail box. Which of course bounces as domain doesn't exist. Can someone more sage in sendmail shed some light on my dim little picnic? -- Linux SxS [http://sxs.homeip.net/] ___ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.