Re: Simple Text Mail Setup

2008-06-24 Thread Giorgos Keramidas
On Mon, 23 Jun 2008 10:26:02 -0700, FT [EMAIL PROTECTED] wrote:
   ...  But I can't send mail because the system
 isn't configured for that, and I'm in the dark as how to accomplish it.
 Is there somewhere that I can go for info on setting up a simple
 configuration which will let me send mail from Mutt?  ...

 Well, I have had sendmail enabled, but my outgoing mail gets
 bounced with a message saying that Comcast has blocked the process.

 Yes. On most residential connections, Comcast blocks port 25 to reduce
 the spam burden created by compromised hosts. Your options are not to
 send mail on port 25 (using port 587, for instance, but that makes you
 unable to communicate with many servers) or to buy business class
 service from Comcast, if they'll let you. You can try calling support
 and asking to have 25 unblocked, but I have yet to hear of a case
 where that was effective.

There is another option, which makes sense too:

Send all outgoing email to Comcast's mail relay, using `SMART_HOST'.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Lars Eighner

On Mon, 23 Jun 2008, Rem Roberti wrote:


I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
able to configure my system to allow me to use a text-based mail client
such as Mutt.  So far, I am able to receive mail, fetching my pop mail
from Comcast via getmail.  But I can't send mail because the system
isn't configured for that, and I'm in the dark as how to accomplish it.
Is there somewhere that I can go for info on setting up a simple
configuration which will let me send mail from Mutt?  Sendmail, which of
course is included with FreeBSd, seems kind of nightmarish.  At any
rate, this is a personal system, and I would like the simplest setup I can
get to work.  Any info would be much appreciated.


You may be looking for nbsmtp (said to stand for no-brainer SMTP). It's in
ports.  It works good for simple situations, and requires no brains. That's
why I use it.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Armando Cambra
On 6/23/08, Rem Roberti [EMAIL PROTECTED] wrote:

 I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
 able to configure my system to allow me to use a text-based mail client
 such as Mutt.  So far, I am able to receive mail, fetching my pop mail
 from Comcast via getmail.  But I can't send mail because the system
 isn't configured for that, and I'm in the dark as how to accomplish it.
 Is there somewhere that I can go for info on setting up a simple
 configuration which will let me send mail from Mutt?  Sendmail, which of
 course is included with FreeBSd, seems kind of nightmarish.  At any
 rate, this is a personal system, and I would like the simplest setup I can
 get to work.  Any info would be much appreciated.

 Rem



Hi Rem,

I just installed msmtp this weekend and it seems to work quite well for
sending and queing email. Have a look at the examples, you will even be able
to queue them offline and send them, when you have an internet connection. I
prefer Imap, so instead of fetchmail I use offlineimap. I wanted to be able
to use my whole email archive with the notebook.

Regards

Armando
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread dfeustel
On Mon, Jun 23, 2008 at 12:05:56AM -0700, Rem Roberti wrote:
 I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
 able to configure my system to allow me to use a text-based mail client
 such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
 from Comcast via getmail.  But I can't send mail because the system 
 isn't configured for that, and I'm in the dark as how to accomplish it.  
 Is there somewhere that I can go for info on setting up a simple 
 configuration which will let me send mail from Mutt?  Sendmail, which of
 course is included with FreeBSd, seems kind of nightmarish.  At any
 rate, this is a personal system, and I would like the simplest setup I can
 get to work.  Any info would be much appreciated.
 
 Rem

I use getmail to receive mail, mutt to manage that mail, and msmtp to
send mail. Works great.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Bill Moran
In response to Rem Roberti [EMAIL PROTECTED]:

 I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
 able to configure my system to allow me to use a text-based mail client
 such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
 from Comcast via getmail.  But I can't send mail because the system 
 isn't configured for that, and I'm in the dark as how to accomplish it.  
 Is there somewhere that I can go for info on setting up a simple 
 configuration which will let me send mail from Mutt?  Sendmail, which of
 course is included with FreeBSd, seems kind of nightmarish.  At any
 rate, this is a personal system, and I would like the simplest setup I can
 get to work.  Any info would be much appreciated.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/outgoing-only.html

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Rem Roberti
On 2008.06.23 09:31:56 +, [EMAIL PROTECTED] wrote:
 On Mon, Jun 23, 2008 at 12:05:56AM -0700, Rem Roberti wrote:
  I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
  able to configure my system to allow me to use a text-based mail client
  such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
  from Comcast via getmail.  But I can't send mail because the system 
  isn't configured for that, and I'm in the dark as how to accomplish it.  
  Is there somewhere that I can go for info on setting up a simple 
  configuration which will let me send mail from Mutt?  Sendmail, which of
  course is included with FreeBSd, seems kind of nightmarish.  At any
  rate, this is a personal system, and I would like the simplest setup I can
  get to work.  Any info would be much appreciated.
  
  Rem
 
 I use getmail to receive mail, mutt to manage that mail, and msmtp to
 send mail. Works great.


Thanks to all who replied.  I shall spend today looking into your
suggestions, including the handbook.

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Peter Ulrich Kruppa


Rem Roberti schrieb:

I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
able to configure my system to allow me to use a text-based mail client
such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
from Comcast via getmail.  But I can't send mail because the system 
isn't configured for that, and I'm in the dark as how to accomplish it.  
Is there somewhere that I can go for info on setting up a simple 
configuration which will let me send mail from Mutt?  Sendmail, which of
course is included with FreeBSd, seems kind of nightmarish.  

Probably you only have to type
sendmail_enable=YES
into your /etc/rc.conf and reboot.

Greetings,

Uli.


At any
rate, this is a personal system, and I would like the simplest setup I can
get to work.  Any info would be much appreciated.

Rem
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


--



Peter Ulrich Kruppa
Wuppertal
Germany
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Rem Roberti
On 2008.06.23 15:49:59 +, Peter Ulrich Kruppa wrote:
 
 Rem Roberti schrieb:
 I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
 able to configure my system to allow me to use a text-based mail client
 such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
 from Comcast via getmail.  But I can't send mail because the system 
 isn't configured for that, and I'm in the dark as how to accomplish it.  
 Is there somewhere that I can go for info on setting up a simple 
 configuration which will let me send mail from Mutt?  Sendmail, which of
 course is included with FreeBSd, seems kind of nightmarish.  
 Probably you only have to type
   sendmail_enable=YES
 into your /etc/rc.conf and reboot.
 
 Greetings,
 
 Uli.
 
 At any
 rate, this is a personal system, and I would like the simplest setup I can
 get to work.  Any info would be much appreciated.
 
 Rem


Well, I have had sendmail enabled, but my outgoing mail gets
bounced with a message saying that Comcast has blocked the process.  I
have the feeling that there is a problem with how I am supposed to use
my hostname.  When I run hostname -r I get .hsd1.ca.comcast.net.  As you
can tell, I am a relative newbie, and not very well versed in all of
these things.  But I love the process of trying to get it figured out.

Rem   
 
 
 Peter Ulrich Kruppa
 Wuppertal
 Germany
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread FT
...  But I can't send mail because the system
  isn't configured for that, and I'm in the dark as how to accomplish it.
  Is there somewhere that I can go for info on setting up a simple
  configuration which will let me send mail from Mutt?  ...

 Well, I have had sendmail enabled, but my outgoing mail gets
 bounced with a message saying that Comcast has blocked the process.

Yes. On most residential connections, Comcast blocks port 25 to reduce
the spam burden created by compromised hosts. Your options are not to 
send mail on port 25 (using port 587, for instance, but that makes you 
unable to communicate with many servers) or to buy business class 
service from Comcast, if they'll let you. You can try calling support
and asking to have 25 unblocked, but I have yet to hear of a case 
where that was effective.

-FT

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Bill Moran
In response to FT [EMAIL PROTECTED]:

 ...  But I can't send mail because the system
   isn't configured for that, and I'm in the dark as how to accomplish it.
   Is there somewhere that I can go for info on setting up a simple
   configuration which will let me send mail from Mutt?  ...
 
  Well, I have had sendmail enabled, but my outgoing mail gets
  bounced with a message saying that Comcast has blocked the process.
 
 Yes. On most residential connections, Comcast blocks port 25 to reduce
 the spam burden created by compromised hosts. Your options are not to 
 send mail on port 25 (using port 587, for instance, but that makes you 
 unable to communicate with many servers) or to buy business class 
 service from Comcast, if they'll let you. You can try calling support
 and asking to have 25 unblocked, but I have yet to hear of a case 
 where that was effective.

No.  What you really want to do is set smart_host to the outgoing
mail server provided by your ISP.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Peter Ulrich Kruppa



Rem Roberti schrieb:

On 2008.06.23 15:49:59 +, Peter Ulrich Kruppa wrote:

Rem Roberti schrieb:

I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
able to configure my system to allow me to use a text-based mail client
such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
from Comcast via getmail.  But I can't send mail because the system 
isn't configured for that, and I'm in the dark as how to accomplish it.  
Is there somewhere that I can go for info on setting up a simple 
configuration which will let me send mail from Mutt?  Sendmail, which of
course is included with FreeBSd, seems kind of nightmarish.  

Probably you only have to type
sendmail_enable=YES
into your /etc/rc.conf and reboot.

Greetings,

Uli.


At any
rate, this is a personal system, and I would like the simplest setup I can
get to work.  Any info would be much appreciated.

Rem



Well, I have had sendmail enabled, but my outgoing mail gets
bounced with a message saying that Comcast has blocked the process.  I
have the feeling that there is a problem with how I am supposed to use
my hostname.  When I run hostname -r I get .hsd1.ca.comcast.net.  As you
can tell, I am a relative newbie, and not very well versed in all of
these things.  But I love the process of trying to get it figured out.

Rem   
I don't know mutt, but I guess you should be able to set 
Comcast's SMTP server somewhere. And: do you need some kind of 
authentification for it?


Uli.




Peter Ulrich Kruppa
Wuppertal
Germany
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


--



Peter Ulrich Kruppa
Wuppertal
Germany
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Rem Roberti
 
 No.  What you really want to do is set smart_host to the outgoing
 mail server provided by your ISP.


Please forgive my ignorance here, but how does one accomplish that?

Rem 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread David Kelly
On Mon, Jun 23, 2008 at 01:30:33PM -0400, Bill Moran wrote:
 In response to FT [EMAIL PROTECTED]:
 
 No.  What you really want to do is set smart_host to the outgoing
 mail server provided by your ISP.

Yes. Use exactly the same delivery path as a normal PC/Mac email
client would use. Deliver to comcast and let them figure out how to
deliver, don't be too smart and try to deliver direct yourself.

In postfix its the relayhost variable in main.cf. This email was
brought to you with mutt and postfix, via smtp.knology.net.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread David Kelly
On Mon, Jun 23, 2008 at 10:45:39AM -0700, Rem Roberti wrote:
  
  No.  What you really want to do is set smart_host to the outgoing
  mail server provided by your ISP.
 
 Please forgive my ignorance here, but how does one accomplish that?

Google sendmail smart_host.

I started using postfix many years ago at the recommendation of a friend
who hosts really big mail systems on FreeBSD. The biggest immediate
advantage was that I felt the configuration files were easier to read
and understand.

As I posted earlier, set relayhost = whatever you would put in a
conventional email app as the SMTP delivery point and then postfix will
send everything there that doesn't belong here.

In all probability that is the only edit you will need for postfix.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Clayton Scott Kern
on 06-23-2008, Rem Roberti wrote:
 On 2008.06.23 15:49:59 +, Peter Ulrich Kruppa wrote:
  
  Rem Roberti schrieb:
  I am a running a minimalist setup with FreeBSD 7.0.  I would like to be
  able to configure my system to allow me to use a text-based mail client
  such as Mutt.  So far, I am able to receive mail, fetching my pop mail 
  from Comcast via getmail.  But I can't send mail because the system 
  isn't configured for that, and I'm in the dark as how to accomplish it.  
  Is there somewhere that I can go for info on setting up a simple 
  configuration which will let me send mail from Mutt?  Sendmail, which of
  course is included with FreeBSd, seems kind of nightmarish.  
  Probably you only have to type
  sendmail_enable=YES
  into your /etc/rc.conf and reboot.
  
  Greetings,
  
  Uli.
  
  At any
  rate, this is a personal system, and I would like the simplest setup I can
  get to work.  Any info would be much appreciated.
  
  Rem
 
 
 Well, I have had sendmail enabled, but my outgoing mail gets
 bounced with a message saying that Comcast has blocked the process.  I
 have the feeling that there is a problem with how I am supposed to use
 my hostname.  When I run hostname -r I get .hsd1.ca.comcast.net.  As you
 can tell, I am a relative newbie, and not very well versed in all of
 these things.  But I love the process of trying to get it figured out.
 
 Rem   
  
  
  Peter Ulrich Kruppa
  Wuppertal
  Germany
  ___

I was getting my outgoing email bounced by my ISP and after much
research, I came up with this local.mc file.

You put this file in /etc/mail named your hostname.local.mc and run
make install.  This creates the files needed by sendmail.


divert(-1)
#
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
#   The Regents of the University of California.  All rights
#   reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the
#distribution.
# 3. All advertising materials mentioning features or use of this
# software
#must display the following acknowledgement:
#   This product includes software developed by the University of
#   California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its
# contributors
#may be used to endorse or promote products derived from this
#software
#without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
# AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
# LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
# GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
# WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#

#
#  This is a generic configuration file for FreeBSD 5.X and later
#  systems.
#  If you want to customize it, copy it to a name appropriate for your
#  environment and do the modifications there.
#
#  The best documentation for this .mc file is:
#  /usr/share/sendmail/cf/README or
#  /usr/src/contrib/sendmail/cf/README
#

divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.4 2007/11/22
16:20:01 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(local_procmail)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

dnl Uncomment to allow relaying based on your MX records.
dnl NOTE: This can allow sites to use your server as a backup MX without
dnl   your permission.
dnl FEATURE(relay_based_on_MX)

dnl DNS based black hole lists
dnl 
dnl DNS based black hole lists come and go on a regular basis
dnl so this file will not serve as a database of the available servers.
dnl For that, visit
dnl
http://directory.google.com/Top/Computers/Internet/Abuse/Spam/Blacklists/

dnl Uncomment to activate Realtime Blackhole List
dnl information available at http://www.mail-abuse.com/
dnl NOTE: This is a subscription service as of 

Re: Simple Text Mail Setup

2008-06-23 Thread Bill Moran
In response to Rem Roberti [EMAIL PROTECTED]:

  
  No.  What you really want to do is set smart_host to the outgoing
  mail server provided by your ISP.
 
 Please forgive my ignorance here, but how does one accomplish that?

Without that setting, sendmail will try to send mail _directly_ to its
final destination by looking up the MX record.

If your workstation (I believe the original thread centered around
configuring a workstation to send mail, right?) does not have all the
magic stuff in place to get past spam filters, you will get bounced.
i.e. if your DNS isn't set up perfectly, or if your IP address is on
the list of DHCP addresses, etc.

By setting up smart_host, sendmail will send _all_ email to smart_host,
which (if your ISP is worth the money you pay for) will have proper
DNS and will not be blacklisted or anything, and will reliably forward
your mail on for you.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Bill Moran
In response to Rem Roberti [EMAIL PROTECTED]:
  
  No.  What you really want to do is set smart_host to the outgoing
  mail server provided by your ISP.
 
 Please forgive my ignorance here, but how does one accomplish that?

Oops, I misread your message to be why and not what.

Steps (as root):
1) cd /etc/mail
2) make
3) Edit [hostname].mc to uncomment the smart_host setting and add your
   ISP's server
4) make install
5) /etc/rc.d/sendmail restart

At least, I believe those steps are correct.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Ethan Furman

FT wrote:

...  But I can't send mail because the system
isn't configured for that, and I'm in the dark as how to accomplish it.
Is there somewhere that I can go for info on setting up a simple
configuration which will let me send mail from Mutt?  ...


Well, I have had sendmail enabled, but my outgoing mail gets
bounced with a message saying that Comcast has blocked the process.



Yes. On most residential connections, Comcast blocks port 25 to reduce
the spam burden created by compromised hosts. Your options are not to 
send mail on port 25 (using port 587, for instance, but that makes you 
unable to communicate with many servers) or to buy business class 
service from Comcast, if they'll let you. You can try calling support
and asking to have 25 unblocked, but I have yet to hear of a case 
where that was effective.


-FT


As an aside, I recently had a similar problem being able to send e-mail 
to my host (webgator.com) through Comcast's network -- a Comcast tech 
suggested using port 26 instead of 25, and that worked for me.

--
Ethan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Bill Moran
In response to Ethan Furman [EMAIL PROTECTED]:

 FT wrote:
  ...  But I can't send mail because the system
 isn't configured for that, and I'm in the dark as how to accomplish it.
 Is there somewhere that I can go for info on setting up a simple
 configuration which will let me send mail from Mutt?  ...
 
 Well, I have had sendmail enabled, but my outgoing mail gets
 bounced with a message saying that Comcast has blocked the process.
  
  Yes. On most residential connections, Comcast blocks port 25 to reduce
  the spam burden created by compromised hosts. Your options are not to 
  send mail on port 25 (using port 587, for instance, but that makes you 
  unable to communicate with many servers) or to buy business class 
  service from Comcast, if they'll let you. You can try calling support
  and asking to have 25 unblocked, but I have yet to hear of a case 
  where that was effective.
 
 As an aside, I recently had a similar problem being able to send e-mail 
 to my host (webgator.com) through Comcast's network -- a Comcast tech 
 suggested using port 26 instead of 25, and that worked for me.

That's exactly the kind of brain-dead answer I'd expect from Comcast.

The Internet community comes up with a solution, and publishes the
fact that port 587 is specifically _for_ this purpose, yet Comcast
suggests 26 ... go figure.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Warren Block

On Mon, 23 Jun 2008, Bill Moran wrote:


In response to Rem Roberti [EMAIL PROTECTED]:


No.  What you really want to do is set smart_host to the outgoing
mail server provided by your ISP.


Please forgive my ignorance here, but how does one accomplish that?


Oops, I misread your message to be why and not what.

Steps (as root):
1) cd /etc/mail
2) make
3) Edit [hostname].mc to uncomment the smart_host setting and add your
  ISP's server


To uncomment, remove dnl from beginning of line.


4) make install
5) /etc/rc.d/sendmail restart


4) make install restart
5) there is no step 5

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Gerard
On Mon, 23 Jun 2008 14:13:50 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 In response to Rem Roberti [EMAIL PROTECTED]:
   
   No.  What you really want to do is set smart_host to the outgoing
   mail server provided by your ISP.
  
  Please forgive my ignorance here, but how does one accomplish that?
 
 Oops, I misread your message to be why and not what.
 
 Steps (as root):
 1) cd /etc/mail
 2) make
 3) Edit [hostname].mc to uncomment the smart_host setting and add your
ISP's server
 4) make install
 5) /etc/rc.d/sendmail restart
 
 At least, I believe those steps are correct.

I believe step four is:

make all install restart

You then skip step 5.


-- 
Gerard
[EMAIL PROTECTED]

Our policy is, when in doubt, do the right thing.

Roy L. Ash, ex-president, Litton Industries


signature.asc
Description: PGP signature


Re: Simple Text Mail Setup

2008-06-23 Thread Ethan Furman

Bill Moran wrote:

In response to Ethan Furman [EMAIL PROTECTED]:



FT wrote:


   ...  But I can't send mail because the system
isn't configured for that, and I'm in the dark as how to accomplish it.
Is there somewhere that I can go for info on setting up a simple
configuration which will let me send mail from Mutt?  ...


Well, I have had sendmail enabled, but my outgoing mail gets
bounced with a message saying that Comcast has blocked the process.


Yes. On most residential connections, Comcast blocks port 25 to reduce
the spam burden created by compromised hosts. Your options are not to 
send mail on port 25 (using port 587, for instance, but that makes you 
unable to communicate with many servers) or to buy business class 
service from Comcast, if they'll let you. You can try calling support
and asking to have 25 unblocked, but I have yet to hear of a case 
where that was effective.


As an aside, I recently had a similar problem being able to send e-mail 
to my host (webgator.com) through Comcast's network -- a Comcast tech 
suggested using port 26 instead of 25, and that worked for me.



That's exactly the kind of brain-dead answer I'd expect from Comcast.

The Internet community comes up with a solution, and publishes the
fact that port 587 is specifically _for_ this purpose, yet Comcast
suggests 26 ... go figure.



Well, I certainly don't think highly of Comcast as a whole, but in this 
case they did suggest port 587.  Apparently either HostGator doesn't 
(yet?) support it, or I'm not paying enough to get it.

--
Ethan

P.S.  The correct name is HostGator, not webgator as my original post 
indicated.  oops.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Rem Roberti
First of all I want to thank all who responded to my question, but I
gotta tell you, if it isn't one thing it's another.  I opted to install
msmtp, and it did just what I hoped it would do, working perfectly out
of the box, including TLS.  But now...I can't receive mail.  As you
recall from my first post I indicated that I could receive email, using
mutt and getmail, and indeed I can, on my laptop, which was set up by
someone who knew what they were doing.  The computer in
question is a desktop with a virgin installation of FreeBSD 7.0.  I
obviously spoke too soon.  I have mutt and getmail installed, 
and now I can send from that computer, but when I try to receive 
I get error messages (maillog) saying, among other things:

DSN:Data format error
Invalid hostname
stat=User unknown
savemail panic
savemail cannot save rejected email anywhere

I have a feeling that this is a no brainer, probably related to what is
or isn't stated in my rc.conf.  But my newbieness has me on the ropes
once again.  Any help would once again be appreciated.

Rem 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread dfeustel
On Mon, Jun 23, 2008 at 05:00:52PM -0700, Rem Roberti wrote:
 First of all I want to thank all who responded to my question, but I
 gotta tell you, if it isn't one thing it's another.  I opted to install
 msmtp, and it did just what I hoped it would do, working perfectly out
 of the box, including TLS.  But now...I can't receive mail.  As you
 recall from my first post I indicated that I could receive email, using
 mutt and getmail, and indeed I can, on my laptop, which was set up by
 someone who knew what they were doing.  The computer in
 question is a desktop with a virgin installation of FreeBSD 7.0.  I
 obviously spoke too soon.  I have mutt and getmail installed, 
 and now I can send from that computer, but when I try to receive 
 I get error messages (maillog) saying, among other things:
 
 DSN:Data format error
 Invalid hostname
 stat=User unknown
 savemail panic
 savemail cannot save rejected email anywhere
 
 I have a feeling that this is a no brainer, probably related to what is
 or isn't stated in my rc.conf.  But my newbieness has me on the ropes
 once again.  Any help would once again be appreciated.
 
 Rem 

I'm running getmail version 4.7.6. My getmailrc file is

i2/home/daf/.getmail}head -40 getmailrc
#
# This file contains various examples of configuration sections to use
# in your getmail rc file.  You need one file for each mail account you
# want to retrieve mail from.  These files should be placed in your
# getmail configuration/data directory (default: $HOME/.getmail/).
# If you only need one rc file, name it getmailrc in that directory,
# and you won't need to supply any commandline options to run getmail.
#

#
# Example 1:  simplest case of retrieving mail from one POP3 server and
# storing all messages in a maildir.
#

[retriever]
type = SimplePOP3Retriever
server = mail.mindspring.com
username = [EMAIL PROTECTED]
password = **

[destination]
type = Maildir
path = ~/Maildir/
[options]
message_log = ~/.getmail/log
delete = true

Does this help?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simple Text Mail Setup

2008-06-23 Thread Rem Roberti
 I'm running getmail version 4.7.6. My getmailrc file is
 
 i2/home/daf/.getmail}head -40 getmailrc
 #
 # This file contains various examples of configuration sections to use
 # in your getmail rc file.  You need one file for each mail account you
 # want to retrieve mail from.  These files should be placed in your
 # getmail configuration/data directory (default: $HOME/.getmail/).
 # If you only need one rc file, name it getmailrc in that directory,
 # and you won't need to supply any commandline options to run getmail.
 #
 
 #
 # Example 1:  simplest case of retrieving mail from one POP3 server and
 # storing all messages in a maildir.
 #
 
 [retriever]
 type = SimplePOP3Retriever
 server = mail.mindspring.com
 username = [EMAIL PROTECTED]
 password = **
 
 [destination]
 type = Maildir
 path = ~/Maildir/
 [options]
 message_log = ~/.getmail/log
 delete = true
 
 Does this help?

Actually, I have getmailrc file with a proven track record, and that 
is what I am using on this laptop to receive mail from Comcast.  I
installed the same file on my new installation.  No, I think the problem
is deeper than that, and has to do with configuring sendmail correctly,
and my rc.conf.

Rem  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]