public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Sending mail via ISP's smtp server
@  Garrett Klein
   ` Raul A. Gallegos
   ` Steve Holmes
  0 siblings, 2 replies; 12+ messages in thread
From: Garrett Klein @  UTC (permalink / raw)
  To: speakup

Hi all,

I would like to send email through my ISP's smtp server, not my own, 
since the return address only works when this machine is in Linux, with 
my dyndns account updated. I've told mutt to fake my from: header to say 
kleins@iquest.net just so I can send messages here, but would like to 
use mail.iquest.net to send messages if at all possible. I know pine can 
do this, but pine is evil, IMHO.

Garrett


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

* Re: Sending mail via ISP's smtp server
   Sending mail via ISP's smtp server Garrett Klein
@  ` Raul A. Gallegos
     ` Garrett Klein
   ` Steve Holmes
  1 sibling, 1 reply; 12+ messages in thread
From: Raul A. Gallegos @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Depending on the mta you use this can be accomplished differently.  I 
use exim and have it configured to use my isp smtp server for all 
outgoing mail through my Linux host.


-- 
Raul a. Gallegos - http://www.asmodean.net
Do you like 80's music?  Do you want to spend some time on Saturdays listening?
Visit http://www.chosen80s.com for all the details.


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

* Re: Sending mail via ISP's smtp server
   Sending mail via ISP's smtp server Garrett Klein
   ` Raul A. Gallegos
@  ` Steve Holmes
     ` Raul A. Gallegos
     ` Raul A. Gallegos
  1 sibling, 2 replies; 12+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

It really doesn't matter what your mail client does.  It is the mail
transport agent (MTA) that decides what to do with your outgoing mail
and how.  What MTA do you use?  I use Exim and based on Raul's post,
he is doing exactly what you want to do as I am also.  It can also be
done with sendmail though I don't currently use it anymore, I would be
hard pressed to find the original configurations I used for that one.
If you are using Exim (commonly used on Debian systems), I could send
you my exim.conf file which uses a "smart_host" routine to send all
mail to a single host.  I also have another rule in there that strips
off the local machine name so all my mail only shows the top two
levels of my address - holmesgrown.com.  Without the stripping, my
mail would always show something like lnx1.holmesgrown.com and this
seems to screw up my mailing list subscriptions.  I want all replies
to my mail to be holmesgrown.com, not lnx1.holmesgrown.com.

Anyway, if interested, I can send you what I currently use for Exim.
It seems like all these MTA's have complex configurations that warrant
considerable study to understand them fully.

On Fri, Jan 16, 2004 at 04:30:31PM -0500, Garrett Klein wrote:
> Hi all,
> 
> I would like to send email through my ISP's smtp server, not my own, 
> since the return address only works when this machine is in Linux, with 
> my dyndns account updated. I've told mutt to fake my from: header to say 
> kleins@iquest.net just so I can send messages here, but would like to 
> use mail.iquest.net to send messages if at all possible. I know pine can 
> do this, but pine is evil, IMHO.
> 
> Garrett
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 
> 

-- 
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown


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

* Re: Sending mail via ISP's smtp server
   ` Raul A. Gallegos
@    ` Garrett Klein
       ` Raul A. Gallegos
  0 siblings, 1 reply; 12+ messages in thread
From: Garrett Klein @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I am using Sendmail. But can't Mutt just use my ISP's smtp server 
without needing sendmail inbetween?On Fri, Jan 16, 2004 at 03:48:01PM 
-0600, Raul A. Gallegos wrote:
> Depending on the mta you use this can be accomplished differently.  I 
> use exim and have it configured to use my isp smtp server for all 
> outgoing mail through my Linux host.
> 
> 
> -- 
> Raul a. Gallegos - http://www.asmodean.net
> Do you like 80's music?  Do you want to spend some time on Saturdays listening?
> Visit http://www.chosen80s.com for all the details.
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 


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

* Re: Sending mail via ISP's smtp server
   ` Steve Holmes
@    ` Raul A. Gallegos
     ` Raul A. Gallegos
  1 sibling, 0 replies; 12+ messages in thread
From: Raul A. Gallegos @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Steve Holmes said the following on Fri, Jan 16, 2004 at 03:24:22PM -0700:
> If you are using Exim (commonly used on Debian systems), I could send
> you my exim.conf file which uses a "smart_host" routine to send all
> mail to a single host.  I also have another rule in there that strips
> off the local machine name so all my mail only shows the top two
> levels of my address - holmesgrown.com.  Without the stripping, my
> mail would always show something like lnx1.holmesgrown.com and this
> seems to screw up my mailing list subscriptions.  I want all replies
> to my mail to be holmesgrown.com, not lnx1.holmesgrown.com.


Hi Steve.  Wondering if you can post the portion of the rule which 
strips out that extra header stuff.  My configuration does not do this. 
 Many thanks.


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

* Re: Sending mail via ISP's smtp server
   ` Steve Holmes
     ` Raul A. Gallegos
@    ` Raul A. Gallegos
  1 sibling, 0 replies; 12+ messages in thread
From: Raul A. Gallegos @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I think from sendmail.cf there is a line called use smarthost and the 
context would look something like:

Dssmtp.dom.ain

But that is strictly from memory.

-- 
Raul a. Gallegos - http://www.asmodean.net
Do you like 80's music?  Do you want to spend some time on Saturdays listening?
Visit http://www.chosen80s.com for all the details.


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

* Re: Sending mail via ISP's smtp server
     ` Garrett Klein
@      ` Raul A. Gallegos
         ` Steve Holmes
  0 siblings, 1 reply; 12+ messages in thread
From: Raul A. Gallegos @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Garrett Klein said the following on Fri, Jan 16, 2004 at 05:42:11PM -0500:
> I am using Sendmail. But can't Mutt just use my ISP's smtp server 
> without needing sendmail inbetween?


Not to my knowledge.  Mutt will still call sendmail to do the actual 
transporting of the mail.



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

* Re: Sending mail via ISP's smtp server
       ` Raul A. Gallegos
@        ` Steve Holmes
           ` Garrett Klein
  0 siblings, 1 reply; 12+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

On Fri, Jan 16, 2004 at 04:45:26PM -0600, Raul A. Gallegos wrote:
> Not to my knowledge.  Mutt will still call sendmail to do the actual 
> transporting of the mail.
> 
Yes, I vaguely remember asking on the mutt list once if one could do
that and they said "no!"  mutt calls sendmail directly - not via
TCP/IP but by directly spawning the process.  In fact, in order to use
exim like we do, we need to have a program out there called 'sendmail'
that mutt uses.  I just have a symbolic link from exim to sendmail.

-- 
HolmesGrown Solutions
The best solutions for the best price!
http://ld.net/?holmesgrown


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

* Re: Sending mail via ISP's smtp server
         ` Steve Holmes
@          ` Garrett Klein
             ` Alex Snow
                             ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Garrett Klein @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Here's the big thing though... I've never compiled an MTA from 
scratch, let alone write a configuration file for one, and am thus a 
little nervous about trying to set up Exim.On Sat, Jan 17, 2004 at 
12:10:45AM -0700, Steve Holmes wrote:
> On Fri, Jan 16, 2004 at 04:45:26PM -0600, Raul A. Gallegos wrote:
> > Not to my knowledge.  Mutt will still call sendmail to do the actual 
> > transporting of the mail.
> > 
> Yes, I vaguely remember asking on the mutt list once if one could do
> that and they said "no!"  mutt calls sendmail directly - not via
> TCP/IP but by directly spawning the process.  In fact, in order to use
> exim like we do, we need to have a program out there called 'sendmail'
> that mutt uses.  I just have a symbolic link from exim to sendmail.
> 
> -- 
> HolmesGrown Solutions
> The best solutions for the best price!
> http://ld.net/?holmesgrown
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 


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

* Re: Sending mail via ISP's smtp server
           ` Garrett Klein
@            ` Alex Snow
             ` Chuck Hallenbeck
             ` Tom and Esther Ward
  2 siblings, 0 replies; 12+ messages in thread
From: Alex Snow @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

there is a slackware package for exim floating around somewhere. I may 
even have a copy here.
On Sat, Jan 17, 2004 at 12:44:24PM -0500, Garrett 
Klein wrote:
> Here's the big thing though... I've never compiled an MTA from 
> scratch, let alone write a configuration file for one, and am thus a 
> little nervous about trying to set up Exim.On Sat, Jan 17, 2004 at 
> 12:10:45AM -0700, Steve Holmes wrote:
> > On Fri, Jan 16, 2004 at 04:45:26PM -0600, Raul A. Gallegos wrote:
> > > Not to my knowledge.  Mutt will still call sendmail to do the actual 
> > > transporting of the mail.
> > > 
> > Yes, I vaguely remember asking on the mutt list once if one could do
> > that and they said "no!"  mutt calls sendmail directly - not via
> > TCP/IP but by directly spawning the process.  In fact, in order to use
> > exim like we do, we need to have a program out there called 'sendmail'
> > that mutt uses.  I just have a symbolic link from exim to sendmail.
> > 
> > -- 
> > HolmesGrown Solutions
> > The best solutions for the best price!
> > http://ld.net/?holmesgrown
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> > 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
Always borrow money from a pessimist; he doesn't expect to be paid
back.



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

* Re: Sending mail via ISP's smtp server
           ` Garrett Klein
             ` Alex Snow
@            ` Chuck Hallenbeck
             ` Tom and Esther Ward
  2 siblings, 0 replies; 12+ messages in thread
From: Chuck Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Garrett,

If you want to stick with sendmail to direct mutt mail to your
ISP's smtp server, the steps are actually quite simple. Do this:

As root: Open the file /etc/mail/sendmail.cf with a text editor
you know how to use;

Find a line with only two characters on it, "DS" (in caps);

Add the name of your ISP's smpt server to that line immediately
after the "S", no spaces;

Close the file, saving the changes;

Then, still as root, restart the sendmail daemon by typing this
at a prompt:

/etc/rc.d/rc.sendmail restart

That will do the trick. But you have to ask mutt to strip off
your host name, and I cannot help you with that, since I am a
(happy) Pine user.

Chuck


On Sat, 17 Jan 2004, Garrett Klein wrote:

> Here's the big thing though... I've never compiled an MTA from
> scratch, let alone write a configuration file for one, and am thus a
> little nervous about trying to set up Exim.On Sat, Jan 17, 2004 at
> 12:10:45AM -0700, Steve Holmes wrote:
> > On Fri, Jan 16, 2004 at 04:45:26PM -0600, Raul A. Gallegos wrote:
> > > Not to my knowledge.  Mutt will still call sendmail to do the actual
> > > transporting of the mail.
> > >
> > Yes, I vaguely remember asking on the mutt list once if one could do
> > that and they said "no!"  mutt calls sendmail directly - not via
> > TCP/IP but by directly spawning the process.  In fact, in order to use
> > exim like we do, we need to have a program out there called 'sendmail'
> > that mutt uses.  I just have a symbolic link from exim to sendmail.
> >
> > --
> > HolmesGrown Solutions
> > The best solutions for the best price!
> > http://ld.net/?holmesgrown
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

- -- 
The Moon is Waning Crescent (22% of Full)
In a world without Fences or Walls no one needs Windows or Gates.
My home page is now at http://www.mhcable.com/~chuckh
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iQCVAwUBQAmISjVdG8M9x9tGAQK+XAQAtrcAe9tD1qQpjLA6J920PAE0naTXjhK/
zuTKZZsjv9aAu6XF6mJtoGXA7Kn7AzYARlqT5Nls458t9mbKkZsQAv4imAAaSRyR
2+TLRjEzg+/HjQeTn2zsF/G5Ci2+o8YJDYRTFxcQSmNvs2uvmp8ZhUeuUtv/hzX0
yENEWG71XPg=
=yLDi
-----END PGP SIGNATURE-----



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

* Re: Sending mail via ISP's smtp server
           ` Garrett Klein
             ` Alex Snow
             ` Chuck Hallenbeck
@            ` Tom and Esther Ward
  2 siblings, 0 replies; 12+ messages in thread
From: Tom and Esther Ward @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Perhaps try postfix. I find it a little easier than other mta's to
configure.

----- Original Message -----
From: "Garrett Klein" <kleins@iquest.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Saturday, January 17, 2004 12:44 PM
Subject: Re: Sending mail via ISP's smtp server


> Here's the big thing though... I've never compiled an MTA from
> scratch, let alone write a configuration file for one, and am thus a
> little nervous about trying to set up Exim.On Sat, Jan 17, 2004 at
> 12:10:45AM -0700, Steve Holmes wrote:
> > On Fri, Jan 16, 2004 at 04:45:26PM -0600, Raul A. Gallegos wrote:
> > > Not to my knowledge.  Mutt will still call sendmail to do the actual
> > > transporting of the mail.
> > >
> > Yes, I vaguely remember asking on the mutt list once if one could do
> > that and they said "no!"  mutt calls sendmail directly - not via
> > TCP/IP but by directly spawning the process.  In fact, in order to use
> > exim like we do, we need to have a program out there called 'sendmail'
> > that mutt uses.  I just have a symbolic link from exim to sendmail.
> >
> > --
> > HolmesGrown Solutions
> > The best solutions for the best price!
> > http://ld.net/?holmesgrown
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>



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

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Sending mail via ISP's smtp server Garrett Klein
 ` Raul A. Gallegos
   ` Garrett Klein
     ` Raul A. Gallegos
       ` Steve Holmes
         ` Garrett Klein
           ` Alex Snow
           ` Chuck Hallenbeck
           ` Tom and Esther Ward
 ` Steve Holmes
   ` Raul A. Gallegos
   ` Raul A. Gallegos

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