Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2001 19:43:31 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Ernst Terhardt <terhardt@ei.tum.de>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail configuration
Message-ID:  <20010708194331.A61241@hades.hell.gr>
In-Reply-To: <3B488AE6.A7274A75@ei.tum.de>; from terhardt@ei.tum.de on Sun, Jul 08, 2001 at 06:31:34PM %2B0200
References:  <3B488AE6.A7274A75@ei.tum.de>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Ernst Terhardt <terhardt@ei.tum.de>
Subject: sendmail configuration
Date: Sun, Jul 08, 2001 at 06:31:34PM +0200

> Hello, dear e-mail-sendmail Wizards.
> I would love to be able to send a problem report using send-pr,
> HOWEVER,
> 
> how do I get send-pr working on my just-installed FreeBSD
> 4.3-RELEASE????
>
> To my understanding, send-pr does require nothing else than that
> sendmail is configured for sending messages to an SMTP mail server.

Yup.  All you have to do is make sure that sendmail can send mail to
your provider's mail exchanger.  This involves two things:

a) To make sure that Sendmail does not try to forward mail by itself.

   Since you do mention an ISP below, you should not try to directly
   send mail messages.

b) To make sure that outgoing mail from your account is 'masqueraded'
   to appear as coming from a *real* address.

   This involves setting up either FEATURE(`masquerade_envelope') in
   your sendmail, or setting up FEATURE(`genericstable').

> I am a kind of (single-) 'standard' user, i.e., I am using a single
> PC at home and I have a working TCP-IP connection to an ISP plus one
> mail-server name for incoming mail and one for outgoing mail.

To send and receive mail messages are two separate things.

To send messages, you need to configure Sendmail or some other MTA
(qmail and Postfix are two popular alternatives).

To receive mail, you can either have your mail user agent (Mutt, Pine,
Netscape, whatever) pop the mail from your provider's POP server into
some local folder, or you can install fetchmail and have it pop the
messages from your provider and deliver them to your local Sendmail
(the one you configured in the previous step).

> FreeBSDs /etc/mail/Makefile is a highly appreciable approach to
> that, but in its present form it is not sufficient for stupid people
> like me.

It's not you that is stupid.  It's just that the FreeBSD approach of
such things is to actually learn how things work, and build the puzzle
yourself.  Daunting as this might seem to be at first, it can be loads
of fun in the long run :-)

> Besides sending problem reports by send-pr I also wish to get access
> to my incoming-mail server on a non-X, non-netscape basis, and I
> understand that this requires a POP daemon being installed, plus one
> of those e-mail clients available in the ports collection.

The parts that you need, as I said above are

a) A `mail-transfer agent' (MTA), i.e. a program that knows how to
   deliver mail to local users' mailboxes, and forward mail to other
   mail servers.

b) A `mail user agent' (MUA), i.e. a program that will let you read
   the local mail, and send mail through the installed mail transfer
   agent.

Sendmail is an MTA.  Qmail, Postfix or even Exim, are a few other
popular MTA's.

As for MUA's... You can find lots of them in /usr/ports/mail with the
most popular ones being Mutt, Pine, elm, exmh, etc.

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010708194331.A61241>