* Johannes Breu <[EMAIL PROTECTED]> [2002-04-03 13:16]:
> I can get mails from my POP-server using mutt but I am not able to send
> mails. I think is due to unsuccessfull configuration of sendmail. So
> this is my question: How do I configure sendmail? I just want sendmail
> to know my SMTP-server. Nothing more. If it is important: my computer is
> stably integrated in an network.

If you have a mailhost (I'll assume by "stably integrated" that you do),
you can build your sendmail.cf with define(`SMART_HOST', `esmtp:mailhost')
in the m4 config; the resulting line in the sendmail.cf looks like:

  DSesmtp:mailhost

(I think that's all you need.)  However, I recommend ssmtp.  Keep
reading if you care.

> If you can help me please say I exactly wih which commands I need to
> configure sendmail. I really got angry with that.

We've all been there.

I just installed ssmtp the other day, and it was trivial.  The entirety
of my config looks like:

#
# /etc/ssmtp/ssmtp.conf -- a config file for sSMTP sendmail.
#

# The person who gets all mail for userids < 1000
[EMAIL PROTECTED]

# The place where the mail goes. The actual machine name is required
# no MX records are consulted. Commonly mailhosts are named mail.domain.com
# The example will fit if you are in domain.com and your mailhub is so named.
mailhub=mailhost

# Where will the mail seem to come from?
rewriteDomain=real.domain

# The full hostname
hostname=me.real.domain


> Furhter information: I am using Debian 2.2. In some way sendmail seems
> to be connected with zmailer. I am not familiar with this either. All
> I want to know is what do I have to do that my outgoing mail goes to
> the SMTP-server.

You should be able to apt-get install ssmtp:

$ apt-cache search ssmtp
ssmtp - Extremely simple MTA to get mail off the system to a mail hub

(darren)

-- 
There is not enough love in the world to squander it on anything
by human beings.

Reply via email to