public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* sendmail problem
@  Jude DaShiell
   ` Lyta Alexander
   ` Andor Demarteau
  0 siblings, 2 replies; 7+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: blinux-list

I managed to get out onto the internet with red hat and eznet and help
from Bill.  When I try to send replies to email though those get returned
and I find sendmail has intermixed the host name I chose for my system
into those email addresses.  Since the mixing happens in the domain name
part of the email address and that mixing turns my email address into
something unknown by the internet things are going to get returned.  Does
anybody know how to conceal a chosen host name from sendmail so sendmail
doesn't trash outgoing email addresses to the point this doesn't happen?

Jude <jdashiel@shellworld.net>




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sendmail problem
   sendmail problem Jude DaShiell
@  ` Lyta Alexander
     ` Jude DaShiell
   ` Andor Demarteau
  1 sibling, 1 reply; 7+ messages in thread
From: Lyta Alexander @  UTC (permalink / raw)
  To: blinux-list

what is your email client?
On Sun, Nov 04, 2001 at 10:01:34AM -0600, Jude DaShiell wrote:
> I managed to get out onto the internet with red hat and eznet and help
> from Bill.  When I try to send replies to email though those get returned
> and I find sendmail has intermixed the host name I chose for my system
> into those email addresses.  Since the mixing happens in the domain name
> part of the email address and that mixing turns my email address into
> something unknown by the internet things are going to get returned.  Does
> anybody know how to conceal a chosen host name from sendmail so sendmail
> doesn't trash outgoing email addresses to the point this doesn't happen?
> 
> Jude <jdashiel@shellworld.net>
> 
> 
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sendmail problem
   sendmail problem Jude DaShiell
   ` Lyta Alexander
@  ` Andor Demarteau
  1 sibling, 0 replies; 7+ messages in thread
From: Andor Demarteau @  UTC (permalink / raw)
  To: blinux-list

On Sun, 4 Nov 2001, Jude DaShiell wrote:

 > I managed to get out onto the internet with red hat and eznet and help
 > from Bill.  When I try to send replies to email though those get returned
 > and I find sendmail has intermixed the host name I chose for my system
 > into those email addresses.  Since the mixing happens in the domain name
 > part of the email address and that mixing turns my email address into
 > something unknown by the internet things are going to get returned.  Does
 > anybody know how to conceal a chosen host name from sendmail so sendmail
 > doesn't trash outgoing email addresses to the point this doesn't happen?
you have to check the sendmail config which domain it uses for outgoing
mail.
There should be an option setable in the config-file that specifies the
domian that needs to be used for all outgoing mail.
Sendmail is a very difficult and also vercitile program, I suggest you to
use smail qmail or exim ad MTA (mail-transfer-agent), those are smaller
clients with maybe less functionality, ut there far more easy to configure
and maintain and certainly get the job done.

Unless you are planning to process 200 mails an hour, snedmail is just too
powerfull for your usage.

 > Jude <jdashiel@shellworld.net>
 > 
 > 
 > 
 > _______________________________________________
 > Blinux-list mailing list
 > Blinux-list@redhat.com
 > https://listman.redhat.com/mailman/listinfo/blinux-list
 > 

-- 
slainte mhaith (good health), slainte (cheers)
Uisce Beatha (water of live/health)
-----------
Andor Demarteau                 E-mail: ademarte@students.cs.uu.nl
student computer science        www: http://www.students.cs.uu.nl/~ademarte/
Utrecht University              irc: see webpage for details
-----------
Believe in yourself, know what you want, and make it happen!




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sendmail problem
   ` Lyta Alexander
@    ` Jude DaShiell
       ` Lyta Alexander
       ` Willem van der Walt<vdwaltw@health.gov.za>
  0 siblings, 2 replies; 7+ messages in thread
From: Jude DaShiell @  UTC (permalink / raw)
  To: blinux-list

My email client is pine for now but that may change.  A problem pine has
is with doing pop3 well.  It's true you can do pop3 with pine, but not
unattended since passwords have to be supplied for each account contact.

Jude <jdashiel@shellworld.net>

On Mon, 5 Nov 2001, Lyta Alexander wrote:

> what is your email client?
> On Sun, Nov 04, 2001 at 10:01:34AM -0600, Jude DaShiell wrote:
> > I managed to get out onto the internet with red hat and eznet and help
> > from Bill.  When I try to send replies to email though those get returned
> > and I find sendmail has intermixed the host name I chose for my system
> > into those email addresses.  Since the mixing happens in the domain name
> > part of the email address and that mixing turns my email address into
> > something unknown by the internet things are going to get returned.  Does
> > anybody know how to conceal a chosen host name from sendmail so sendmail
> > doesn't trash outgoing email addresses to the point this doesn't happen?
> >
> > Jude <jdashiel@shellworld.net>
> >
> >
> >
> > _______________________________________________
> > Blinux-list mailing list
> > Blinux-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/blinux-list
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sendmail problem
     ` Jude DaShiell
@      ` Lyta Alexander
         ` L. C. Robinson
       ` Willem van der Walt<vdwaltw@health.gov.za>
  1 sibling, 1 reply; 7+ messages in thread
From: Lyta Alexander @  UTC (permalink / raw)
  To: blinux-list

when i sued pine this worked for me
in your .pinerc file
# Sets domain part of From: and local addresses in outgoing mail.
user-domain= (your isps name)
# List of SMTP servers for sending mail. If blank: Unix Pine uses sendmail.
smtp-server= (your isps outgoing mail server)

On Mon, Nov 05, 2001 at 05:06:50PM -0600, Jude DaShiell wrote:
> My email client is pine for now but that may change.  A problem pine has
> is with doing pop3 well.  It's true you can do pop3 with pine, but not
> unattended since passwords have to be supplied for each account contact.
> 
> Jude <jdashiel@shellworld.net>
> 
> On Mon, 5 Nov 2001, Lyta Alexander wrote:
> 
> > what is your email client?
> > On Sun, Nov 04, 2001 at 10:01:34AM -0600, Jude DaShiell wrote:
> > > I managed to get out onto the internet with red hat and eznet and help
> > > from Bill.  When I try to send replies to email though those get returned
> > > and I find sendmail has intermixed the host name I chose for my system
> > > into those email addresses.  Since the mixing happens in the domain name
> > > part of the email address and that mixing turns my email address into
> > > something unknown by the internet things are going to get returned.  Does
> > > anybody know how to conceal a chosen host name from sendmail so sendmail
> > > doesn't trash outgoing email addresses to the point this doesn't happen?
> > >
> > > Jude <jdashiel@shellworld.net>
> > >
> > >
> > >
> > > _______________________________________________
> > > Blinux-list mailing list
> > > Blinux-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/blinux-list
> >
> >
> >
> > _______________________________________________
> > Blinux-list mailing list
> > Blinux-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/blinux-list
> >
> 
> 
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sendmail problem
     ` Jude DaShiell
       ` Lyta Alexander
@      ` Willem van der Walt<vdwaltw@health.gov.za>
  1 sibling, 0 replies; 7+ messages in thread
From: Willem van der Walt<vdwaltw@health.gov.za> @  UTC (permalink / raw)
  To: Jude DaShiell; +Cc: blinux-list

Hi,
Install and use fetchmail.
It puts your retreived mail into the mailbox of the executing user.
What i found is that the pine that comes with redhat is
compiled with 'n feature that disallows the sending
of mail with another from field as the one of the user one is logged on
as.
Thus, create a user with the same name as the one at your isp to save
you some
trouble.
Doing offline mail with pine when the smtp server is set to the isp's
smtp server did not work for me.  I let the sendmail on the local box do
the sending.  I run sendmail in my dialup script.
hth
Willem
On
Mon,
5 Nov 2001, Jude DaShiell wrote:

> My email client is pine for now but that may change.  A problem pine has
> is with doing pop3 well.  It's true you can do pop3 with pine, but not
> unattended since passwords have to be supplied for each account contact.
>
> Jude <jdashiel@shellworld.net>
>
> On Mon, 5 Nov 2001, Lyta Alexander wrote:
>
> > what is your email client?
> > On Sun, Nov 04, 2001 at 10:01:34AM -0600, Jude DaShiell wrote:
> > > I managed to get out onto the internet with red hat and eznet and help
> > > from Bill.  When I try to send replies to email though those get returned
> > > and I find sendmail has intermixed the host name I chose for my system
> > > into those email addresses.  Since the mixing happens in the domain name
> > > part of the email address and that mixing turns my email address into
> > > something unknown by the internet things are going to get returned.  Does
> > > anybody know how to conceal a chosen host name from sendmail so sendmail
> > > doesn't trash outgoing email addresses to the point this doesn't happen?
> > >
> > > Jude <jdashiel@shellworld.net>
> > >
> > >
> > >
> > > _______________________________________________
> > > Blinux-list mailing list
> > > Blinux-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/blinux-list
> >
> >
> >
> > _______________________________________________
> > Blinux-list mailing list
> > Blinux-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/blinux-list
> >
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sendmail problem
       ` Lyta Alexander
@        ` L. C. Robinson
  0 siblings, 0 replies; 7+ messages in thread
From: L. C. Robinson @  UTC (permalink / raw)
  To: blinux-list

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2843 bytes --]

On Tue, 6 Nov 2001, Lyta Alexander wrote:
> in your .pinerc file:
> user-domain= (your isps name)

A more general solution that will fix things globally for all users of
your machine is in the attached sendmail-masq-add.mc file.  Just
install and modify it and sendmail.mc, as directed in the commentary,
and install a new sendmail.cf, also as directed.  Then sendmail will
use your ISP as a smarthost, and will masquerade, or in other words,
rewrite, all user's outgoing mail addresses with your ISP's domain
name (From: username@ISP_name.net).  You may find it easiest to use
identical usernames on your ISP's mailhost and your local host (but
fetchmail can rewrite/redirect the names for you -- see below).

> On Mon, Nov 05, 2001 at 05:06:50PM -0600, Jude DaShiell wrote:
> > My email client is pine for now but that may change.  A problem
> > pine has is with doing pop3 well.  It's true you can do pop3 with
> > pine, but not unattended since passwords have to be supplied for
> > each account contact.

By far the best pop mail utility available anywhere is "fetchmail",
the very well known open source bazaar project by Eric Raymond (you'll
want to read one or more of his history making essays about this),
which should be on your system, or the install disk.  It will do just
about anything you want, using any mail protocol your ISP provides: I
wish my ISP offered the secure imap protocol, for instance.  Pop3
doesn't even encrypt your password -- it goes over the internet in
clear text, so make sure you don't use the same password for anything
else important, if you're stuck with pop3.

Anyway, fetchmail delivers through sendmail (and on RedHat and many
other linux systems, sendmail delivers through procmail, where you can
automatically filter, scan, and sort it), and you read the result
normally using any of several textmode clients, such as pine, elm, or
mutt, or even in emacs (emacspeak).

Best wishes, LCR

> > > On Sun, Nov 04, 2001 at 10:01:34AM -0600, Jude DaShiell wrote:
<snip>
> > > > get returned and I find sendmail has intermixed
> > > > the host name I chose for my system into those email
> > > > addresses.  Since the mixing happens in the domain name part
> > > > of the email address and that mixing turns my email address
> > > > into something unknown by the internet things are going to get
> > > > returned.  Does anybody know how to conceal a chosen host name
> > > > from sendmail so sendmail doesn't trash outgoing email
> > > > addresses to the point this doesn't happen?

-- 
L. C. Robinson
reply to no_spam+munged_lcr@onewest.net.invalid

People buy MicroShaft for compatibility, but get incompatibility and
instability instead.  This is award winning "innovation".  Find
out how MS holds your data hostage with "The *Lens*"; see
"CyberSnare" at http://www.netaction.org/msoft/cybersnare.html

[-- Attachment #2: /etc/mail/sendmail-masq-add.mc --]
[-- Type: TEXT/PLAIN, Size: 1498 bytes --]

dnl Copy this file to /etc/mail/sendmail-masq-add.mc
dnl To make your machine masquerade as your ISP's mail host, on
dnl a RedHat (6.2) Linux machine, do the following:
dnl
dnl Comments begin with 'dnl', like this line, for m4 (preprocessor).
dnl
dnl To install these local modifications for your host you need to add
dnl the following line to the /etc/mail/sendmail.mc file (uncommented):
dnl
dnl  include(`/etc/mail/sendmail-masq-add.mc')
dnl
dnl Then you will have to regenerate the
dnl /etc/sendmail.cf from /etc/mail/sendmail.mc,
dnl as instructed at the top of the latter file.
dnl
dnl Modify the following as necessary (you can usually get the right
dnl hostnames from your ISP's web page, or just call them, if you think
dnl they can understand anything except M$ machines):
dnl MASQUERADE_AS(your_ISP.net)
dnl This is the machine you would pop your mail from (probably using fetchmail).
dnl Example:
MASQUERADE_AS(onewest.net)
FEATURE(masquerade_envelope)
dnl
dnl Add this if your ISP requires you to use an outgoing mail gateway:
dnl define(`SMART_HOST', `your_ISP_gateway.net')
dnl Example:
define(`SMART_HOST', `smtp.onewest.net')
dnl
dnl Now send some mail out to yourself or a friend, and check to make sure
dnl the mail header "From:" lines, etc, are getting rewritten to appear to
dnl come from your ISP, instead of your local machine.
dnl
dnl More details can be found in /usr/share/sendmail-cf/README
dnl ******** end of file (cut here) *******

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 sendmail problem Jude DaShiell
 ` Lyta Alexander
   ` Jude DaShiell
     ` Lyta Alexander
       ` L. C. Robinson
     ` Willem van der Walt<vdwaltw@health.gov.za>
 ` Andor Demarteau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).