[OT] Re: Setting the hostname used in HELO

2002-03-08 Thread Charles Cazabon

MuttER [EMAIL PROTECTED] wrote:
  
   No, it would mask your problem (`man band-aid`).  The real solution is
   to configure your MTA to use an acceptable argument to the HELO
   command, or to tell it to forward your mail to your ISP's smarthost.
   This is possible with sendmail or any other MTA.
 
 Where do I 'configure my MTA to use an acceptable argument to the
 HELO COMMAND ??

If you're running qmail, it's set in the control file helohost.  If you're
running sendmail, I haven't the foggiest idea, but it's probably buried
somewhere in that 1000+ line monstrosity known as sendmail.cf.

Charles
-- 
---
Charles Cazabon [EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: [OT] Re: Setting the hostname used in HELO

2002-03-08 Thread MuttER

* Charles Cazabon [EMAIL PROTECTED] [03-08-02 19:52] crowed:
 MuttER [EMAIL PROTECTED] wrote:
   
No, it would mask your problem (`man band-aid`).  The real solution is
to configure your MTA to use an acceptable argument to the HELO
command, or to tell it to forward your mail to your ISP's smarthost.
This is possible with sendmail or any other MTA.
  
  Where do I 'configure my MTA to use an acceptable argument to the
  HELO COMMAND ??
 
 If you're running qmail, it's set in the control file helohost.  If you're
 running sendmail, I haven't the foggiest idea, but it's probably buried
 somewhere in that 1000+ line monstrosity known as sendmail.cf.

I am running postfix.
-- 
Pat Shanahan  Registered Linux User #207535
   Registered at: http://counter.li.org
  9:20pm  up 19 days, 11:53,  6 users,  load average: 0.21, 0.31, 0.23



Re: [OT] Re: Setting the hostname used in HELO

2002-03-08 Thread Knute

On Fri, 08 Mar 2002, Charles Cazabon wrote:

 MuttER [EMAIL PROTECTED] wrote:
   
No, it would mask your problem (`man band-aid`).  The real solution is
to configure your MTA to use an acceptable argument to the HELO
command, or to tell it to forward your mail to your ISP's smarthost.
This is possible with sendmail or any other MTA.

  Where do I 'configure my MTA to use an acceptable argument to the
  HELO COMMAND ??

 If you're running qmail, it's set in the control file helohost.  If you're
 running sendmail, I haven't the foggiest idea, but it's probably buried
 somewhere in that 1000+ line monstrosity known as sendmail.cf.

So read the man page for whatever MTA you are using to find out what the
name of the config file is, then you can issue the command (in my case
for exim):
cat /etc/exim/exim.conf |grep helo

It will show you the line and what variable you need to be looking for.

--
Knute

I like greps.  Especially the green ones! :)



msg25203/pgp0.pgp
Description: PGP signature


Re: [OT] Re: Setting the hostname used in HELO

2002-03-08 Thread MuttER

* Knute [EMAIL PROTECTED] [03-08-02 21:47] crowed:
 On Fri, 08 Mar 2002, Charles Cazabon wrote:
 
  MuttER [EMAIL PROTECTED] wrote:

 No, it would mask your problem (`man band-aid`).  The real solution is
 to configure your MTA to use an acceptable argument to the HELO
 command, or to tell it to forward your mail to your ISP's smarthost.
 This is possible with sendmail or any other MTA.
 
   Where do I 'configure my MTA to use an acceptable argument to the
   HELO COMMAND ??
 
  If you're running qmail, it's set in the control file helohost.  If you're
  running sendmail, I haven't the foggiest idea, but it's probably buried
  somewhere in that 1000+ line monstrosity known as sendmail.cf.
 
 So read the man page for whatever MTA you are using to find out what the
 name of the config file is, then you can issue the command (in my case
 for exim):
   cat /etc/exim/exim.conf |grep helo
 
 It will show you the line and what variable you need to be looking for.

:~ grep -i helo /etc/sendmail.cf
O PrivacyOptions=authwarnings,needmailhelo,novrfy,noexpn,noverb
#O Timeout.helo=5m
# Allow HELO SMTP command that does not include a host name
#O AllowBogusHELO=False
O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits},{cert_subject}, 
{cert_issuer}

??
-- 
Pat Shanahan  Registered Linux User #207535
   Registered at: http://counter.li.org
  9:52pm  up 19 days, 12:25,  6 users,  load average: 0.03, 0.18, 0.24



Re: [OT] Re: Setting the hostname used in HELO

2002-03-08 Thread Timothy R. Robnett

On Fri Mar 08, 2002 at 09:20:39PM -0500, MuttER wrote:
 * Charles Cazabon [EMAIL PROTECTED] [03-08-02 19:52] crowed:
  MuttER [EMAIL PROTECTED] wrote:

 No, it would mask your problem (`man band-aid`).  The real solution is
 to configure your MTA to use an acceptable argument to the HELO
 command, or to tell it to forward your mail to your ISP's smarthost.
 This is possible with sendmail or any other MTA.
   
   Where do I 'configure my MTA to use an acceptable argument to the
   HELO COMMAND ??
  
  If you're running qmail, it's set in the control file helohost.  If you're
  running sendmail, I haven't the foggiest idea, but it's probably buried
  somewhere in that 1000+ line monstrosity known as sendmail.cf.
 
 I am running postfix.

My postfix server has this in main.cf
myhostname = polycarp.robnett.net

I would bet that the $myhostname combined with valid forward and reverse DNS would do 
the trick.

Tim



Re: Setting the hostname used in HELO

2002-03-06 Thread Adam Byrtek

On Tue, Mar 05, 2002 at 10:29:48AM -0800, Bob McLaren wrote:
 So now what I am looking for is a simple SMTP client that is as easy to use as
 Mutt, or, some alternative means of getting Mutt to talk to my remote smtp server.

nullmailer

Simple, robust, relay only sendmail wrapper...

-- 

  _.|._ |_  _.: Adam Byrtek, [EMAIL PROTECTED]
 (_|||_)| |(_|: gg 1802819, pgp 0xB25952C0
 |



Re: Setting the hostname used in HELO

2002-03-06 Thread Heiko Heil

On Tue, Mar 05, 2002 at 10:29:48AM -0800, Bob McLaren wrote:

 So now what I am looking for is a simple SMTP client that is as
 easy to use as Mutt, or, some alternative means of getting Mutt to 
 talk to my remote smtp server.

What about port-forwarding with ssh?
-- 
Cheers,
H. Heil


__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de



Re: Setting the hostname used in HELO

2002-03-06 Thread Simon White

On 06-Mar-02 at 17:11, Heiko Heil's inspired musing was thus :
 On Tue, Mar 05, 2002 at 10:29:48AM -0800, Bob McLaren wrote:
 
  So now what I am looking for is a simple SMTP client that is as
  easy to use as Mutt, or, some alternative means of getting Mutt to 
  talk to my remote smtp server.
 
 What about port-forwarding with ssh?
Two contradictions...

as easy to use as Mutt... ahem, well yes from a certain point of view Mutt
is easy to use don't flame me.

And then, if we need an easy solution... port forwarding with SSH... easy?
hehee

-- 
|-Simon White   # GIMPS current unit progress: 28.60% #-|
|-Internet Services Manager #  http://www.mersenne.org/prime.htm #-|
|-MTDS S.A. 14, rue 16 novembre   THIS SPACE   tel: +212.3.737.4861-|
|-Rabat, Kingdom of MoroccoFOR RENTfax: +212.3.737.4863-|



Re: Setting the hostname used in HELO

2002-03-05 Thread Bob McLaren

Would any of you know of a simple, command-line based Linux SMTP client that is
as easy to use as Mutt for sending mime attachments?
I really like the fact that Mutt handles all the mime encoding so I don't have
to mess with it.

--
Bob McLaren
Internet Services Project Manager
Financial Statement Services, Inc.
http://www.fssi-ca.com


Simon White wrote:

 On 03-Mar-02 at 00:24, Jonathan Irving's inspired musing was thus :
  * Simon White [EMAIL PROTECTED] [2002.02.28 18:02 +]:
   No, what I was trying to say (perhaps I wasn't clear) is that
   you cannot get mutt to send mail to your public SMTP server,
   you have to run an SMTP server on your machine in order to get
   mutt to send mail. There are several suggestions depending on
   your setup, see the mutt web pages and the manual, usually in
   /usr/local/doc/mutt/manual.txt.
 
  You actually need a SMTP /client/ with a sendmail commandline
  interface.  Sorry to be a pedant.

 Never apologise for being picky about things like that. Using the correct
 language is appropriate in this case. You're right, you just need a
 lightweight SMTP client, and indeed running an SMTP server (which of course
 also functions as a client) may be overkill and cause extra unnecessary
 configuration.

 I stand corrected.

 --
 |-Simon White
 |-Internet Services Manager
 |-MTDS S.A.  / \
 |-tel +212.3.767.4861# GIMPS current unit progress: 25.47% #
 |-fax +212.3.767.4863# (http://www.mersenne.org/prime.htm) #
 |-14, rue 16 novembre\ /
 |-Rabat, Kingdom of Morocco




Re: Setting the hostname used in HELO

2002-03-05 Thread David Champion

On 2002.03.05, in [EMAIL PROTECTED],
Bob McLaren [EMAIL PROTECTED] wrote:
 Would any of you know of a simple, command-line based Linux SMTP client that is
 as easy to use as Mutt for sending mime attachments?
 I really like the fact that Mutt handles all the mime encoding so I don't have
 to mess with it.

echo Dear Mom - Here is the photo I promised you. \
| mutt -s Photo of Timmy -a little_timmy.jpg [EMAIL PROTECTED]

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Setting the hostname used in HELO

2002-03-05 Thread Ralf Hildebrandt

On Tue, Mar 05, 2002 at 10:17:46AM -0800, Bob McLaren wrote:
 Would any of you know of a simple, command-line based Linux SMTP client that is
 as easy to use as Mutt for sending mime attachments?
 I really like the fact that Mutt handles all the mime encoding so I don't have
 to mess with it.

Why not use mutt from the command line?

-- 
Ralf Hildebrandt (Im Auftrag des Referat V A)   [EMAIL PROTECTED]
Charite Campus Virchow-Klinikum Tel.  +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze - Fax.  +49 (0)30-450 570-916
A complex system that works is invariably found to have evolved from a
simple system that worked.-- John Gall 




Re: Setting the hostname used in HELO

2002-03-05 Thread Bob McLaren

In response to both David and Ralf,

The original problem is that, when I use Mutt from the command line, it uses the
LOCAL smtp server to send emails.  I need the client to connect to a REMOTE smtp
server, and as far as I understand from Simon, Mutt cannot be configured to connect
to a remote SMTP server.

So now what I am looking for is a simple SMTP client that is as easy to use as
Mutt, or, some alternative means of getting Mutt to talk to my remote smtp server.

Any ideas?


David Champion wrote:

 On 2002.03.05, in [EMAIL PROTECTED],
 Bob McLaren [EMAIL PROTECTED] wrote:
  Would any of you know of a simple, command-line based Linux SMTP client that is
  as easy to use as Mutt for sending mime attachments?
  I really like the fact that Mutt handles all the mime encoding so I don't have
  to mess with it.

 echo Dear Mom - Here is the photo I promised you. \
 | mutt -s Photo of Timmy -a little_timmy.jpg [EMAIL PROTECTED]

 --
  -D.[EMAIL PROTECTED]NSITUniversity of Chicago




Re: Setting the hostname used in HELO

2002-03-05 Thread Steve Kennedy

On Tue, Mar 05, 2002 at 10:29:48AM -0800, Bob McLaren wrote:

 So now what I am looking for is a simple SMTP client that is as easy to use as
 Mutt, or, some alternative means of getting Mutt to talk to my remote smtp server

ssmtp, or others

Steve

-- 
NetTek Ltd Flat 2, 43 Howitt Road, Belsize Park, London NW3 4LU, UK
tel +44-(0)20 7483 1169  fax +44-(0)20 7483 2455   mob 07775 755503
SMS steve-pager (at) gbnetnet [body] gpg 1024D/468952DB 2001-09-19



Re: Setting the hostname used in HELO

2002-03-05 Thread Bob McLaren

But this isn't a problem with the SMTP headers having bad info.  This is a
problem with the HELO SMTP handshake having bad info.
Mutt sends the message to my local sendmail, my local sendmail attempts to
send the mail, it connects to the destination mail server and begins the
conversation with 'HELO intranet.fssi-ca.com' to identify itself before it
begins sending the message.
The problem is that many mail servers take that 'HELO' information and test
the host name to see if it's a real resolvable internet address.
intranet.fssi-ca.com is not a resolvable address because it's internal.
If I could get my process to connect to my public SMTP server instead of
trying to send it through my local sendmail, that would solve my problem.
It was suggested that I look at ssmtp but I don't see much documentation or
user following on the web for it, so I'm a little hesitant to use it.


Knute wrote:

 On Wed, 27 Feb 2002, Bob McLaren wrote:

  Please help a mutt newbie out.
  I have searched through archives and I am still not able to find the
  answer to this.

  I am using Mutt inside our network to send emails out to the internet.
  Because it is an internal PC hidden behind a firewall, it does not have
  a resolvable hostname.
  This causes problems because many mail system refuse the email if the
  hostname used in HELO is not resolvable.

  What can I do to force the HELO generated by mutt to use my outside SMTP
  hostname?

 I ran into this same thing.
 Here's the line from my .muttrc file:
 set from=[EMAIL PROTECTED]
 # From: address (see send-hook my_hdr From)

 I don't have a my_hdr line but that can easily be set for addresses
 outside your network.

 HTH

 --
 Knute

 You live, You die.  Enjoy the interval!
 -- Clarence

   
Part 1.2Type: application/pgp-signature




Re: Setting the hostname used in HELO

2002-03-05 Thread Charles Cazabon

Bob McLaren [EMAIL PROTECTED] wrote:
 But this isn't a problem with the SMTP headers having bad info.  This is a
 problem with the HELO SMTP handshake having bad info.
 Mutt sends the message to my local sendmail, my local sendmail attempts to
 send the mail, it connects to the destination mail server and begins the
 conversation with 'HELO intranet.fssi-ca.com' to identify itself before it
 begins sending the message.
 The problem is that many mail servers take that 'HELO' information and test
 the host name to see if it's a real resolvable internet address.
 intranet.fssi-ca.com is not a resolvable address because it's internal.
 If I could get my process to connect to my public SMTP server instead of
 trying to send it through my local sendmail, that would solve my problem.

No, it would mask your problem (`man band-aid`).  The real solution is to
configure your MTA to use an acceptable argument to the HELO command, or to
tell it to forward your mail to your ISP's smarthost.  This is possible with
sendmail or any other MTA.

Charles
-- 
---
Charles Cazabon [EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Setting the hostname used in HELO

2002-03-05 Thread Bob McLaren

That solved it!

I didn't understand the 'SmartHost' concept in sendmail before you mentioned it.
I looked it up, configured it, now it works like a charm.
Thanks man!  Now I can use Mutt to my heart's content.  ;)

Charles Cazabon wrote:

 Bob McLaren [EMAIL PROTECTED] wrote:
  But this isn't a problem with the SMTP headers having bad info.  This is a
  problem with the HELO SMTP handshake having bad info.
  Mutt sends the message to my local sendmail, my local sendmail attempts to
  send the mail, it connects to the destination mail server and begins the
  conversation with 'HELO intranet.fssi-ca.com' to identify itself before it
  begins sending the message.
  The problem is that many mail servers take that 'HELO' information and test
  the host name to see if it's a real resolvable internet address.
  intranet.fssi-ca.com is not a resolvable address because it's internal.
  If I could get my process to connect to my public SMTP server instead of
  trying to send it through my local sendmail, that would solve my problem.

 No, it would mask your problem (`man band-aid`).  The real solution is to
 configure your MTA to use an acceptable argument to the HELO command, or to
 tell it to forward your mail to your ISP's smarthost.  This is possible with
 sendmail or any other MTA.

 Charles
 --
 ---
 Charles Cazabon [EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 ---




Re: Setting the hostname used in HELO

2002-03-04 Thread Simon White

On 03-Mar-02 at 00:24, Jonathan Irving's inspired musing was thus :
 * Simon White [EMAIL PROTECTED] [2002.02.28 18:02 +]:
  No, what I was trying to say (perhaps I wasn't clear) is that
  you cannot get mutt to send mail to your public SMTP server,
  you have to run an SMTP server on your machine in order to get
  mutt to send mail. There are several suggestions depending on
  your setup, see the mutt web pages and the manual, usually in
  /usr/local/doc/mutt/manual.txt.
 
 You actually need a SMTP /client/ with a sendmail commandline
 interface.  Sorry to be a pedant.

Never apologise for being picky about things like that. Using the correct
language is appropriate in this case. You're right, you just need a
lightweight SMTP client, and indeed running an SMTP server (which of course
also functions as a client) may be overkill and cause extra unnecessary
configuration.

I stand corrected.

-- 
|-Simon White
|-Internet Services Manager
|-MTDS S.A.  / \
|-tel +212.3.767.4861# GIMPS current unit progress: 25.47% #
|-fax +212.3.767.4863# (http://www.mersenne.org/prime.htm) #
|-14, rue 16 novembre\ /
|-Rabat, Kingdom of Morocco



Re: Setting the hostname used in HELO

2002-03-03 Thread Jonathan Irving

* Simon White [EMAIL PROTECTED] [2002.02.28 18:02 +]:
 No, what I was trying to say (perhaps I wasn't clear) is that
 you cannot get mutt to send mail to your public SMTP server,
 you have to run an SMTP server on your machine in order to get
 mutt to send mail. There are several suggestions depending on
 your setup, see the mutt web pages and the manual, usually in
 /usr/local/doc/mutt/manual.txt.

You actually need a SMTP /client/ with a sendmail commandline
interface.  Sorry to be a pedant.
-- 
http://www.epic.org - Electronic Privacy Information Center



msg24929/pgp0.pgp
Description: PGP signature


Re: Setting the hostname used in HELO

2002-02-28 Thread Simon White

On 27-Feb-02 at 20:46, Knute's inspired musing was thus :
 On Wed, 27 Feb 2002, Bob McLaren wrote:
 
  What can I do to force the HELO generated by mutt to use my outside SMTP
  hostname?

Mutt doesn't generate a HELO, it's a MUA not an MTA

You are probably running sendmail or something similar locally, and passing on to the
SMTP server on your local network What you need to do is to configure your
sendmail (or other MTA) on your box to send a faked hostname which is
acceptable, or to check with the sysadmin for the mail server with the real
hostname/IP on the network and ask if the MTA there can be tweaked for you

MUA = Mail User Agent (like Mutt)
MTA = Mail Transfer Agent (like Sendmail (ugh!), Postfix, Exim, Qmail)

-- 
|-Simon White
|-Internet Services Manager
|-MTDS SA
|-tel +21237674861
|-fax +21237674863
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco



Re: Setting the hostname used in HELO

2002-02-28 Thread Bob McLaren

Wait a minute,

If that's the case, can't I configure Mutt to connect to my public SMTP server to send
mail rather than trying to send it from it's own local sendmail program?

I don't see any configuration directive in the muttrc to specify an SMTP server to
connect to

Simon White wrote:

 On 27-Feb-02 at 20:46, Knute's inspired musing was thus :
  On Wed, 27 Feb 2002, Bob McLaren wrote:
 
   What can I do to force the HELO generated by mutt to use my outside SMTP
   hostname?

 Mutt doesn't generate a HELO, it's a MUA not an MTA

 You are probably running sendmail or something similar locally, and passing on to the
 SMTP server on your local network What you need to do is to configure your
 sendmail (or other MTA) on your box to send a faked hostname which is
 acceptable, or to check with the sysadmin for the mail server with the real
 hostname/IP on the network and ask if the MTA there can be tweaked for you

 MUA = Mail User Agent (like Mutt)
 MTA = Mail Transfer Agent (like Sendmail (ugh!), Postfix, Exim, Qmail)

 --
 |-Simon White
 |-Internet Services Manager
 |-MTDS SA
 |-tel +21237674861
 |-fax +21237674863
 |-14, rue 16 novembre
 |-Rabat, Kingdom of Morocco




Re: Setting the hostname used in HELO

2002-02-28 Thread Simon White

On 28-Feb-02 at 09:54, Bob McLaren's inspired musing was thus :
 Wait a minute,
 
 If that's the case, can't I configure Mutt to connect to my public SMTP
server to send  mail rather than trying to send it from it's own local
sendmail program?
 

No, what I was trying to say (perhaps I wasn't clear) is that you cannot get
mutt to send mail to your public SMTP server, you have to run an SMTP server
on your machine in order to get mutt to send mail There are several
suggestions depending on your setup, see the mutt web pages and the manual,
usually in /usr/local/doc/mutt/manualtxt

 I don't see any configuration directive in the muttrc to specify an SMTP
server to  connect to

There isn't one

-- 
|-Simon White
|-Internet Services Manager
|-MTDS SA
|-tel +21237674861
|-fax +21237674863
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco



Setting the hostname used in HELO

2002-02-27 Thread Bob McLaren

Please help a mutt newbie out.
I have searched through archives and I am still not able to find the
answer to this.

I am using Mutt inside our network to send emails out to the internet.
Because it is an internal PC hidden behind a firewall, it does not have
a resolvable hostname.
This causes problems because many mail system refuse the email if the
hostname used in HELO is not resolvable.

What can I do to force the HELO generated by mutt to use my outside SMTP
hostname?





Re: Setting the hostname used in HELO

2002-02-27 Thread Knute

On Wed, 27 Feb 2002, Bob McLaren wrote:

 Please help a mutt newbie out.
 I have searched through archives and I am still not able to find the
 answer to this.

 I am using Mutt inside our network to send emails out to the internet.
 Because it is an internal PC hidden behind a firewall, it does not have
 a resolvable hostname.
 This causes problems because many mail system refuse the email if the
 hostname used in HELO is not resolvable.

 What can I do to force the HELO generated by mutt to use my outside SMTP
 hostname?

I ran into this same thing.
Here's the line from my .muttrc file:
set from=[EMAIL PROTECTED]
# From: address (see send-hook my_hdr From)

I don't have a my_hdr line but that can easily be set for addresses
outside your network.

HTH

-- 
Knute

You live, You die.  Enjoy the interval!
-- Clarence



msg24841/pgp0.pgp
Description: PGP signature