Grant schrieb:
>> So, the correct entry for your make.conf is:
>>
>> PORTAGE_ELOG_MAILURI="[EMAIL PROTECTED] /usr/sbin/sendmail"
>
> I've tried that and it doesn't seem to be working.

How is it not working? What's in the logs?

There is nothing in /var/log/mail/ and I can't find anything in
/var/log/everything/.

Hm, I would've checked /var/log/syslog and /var/log/debug.

What happens when you try to send a mail with mutt/mail/mailx?

mail -s "test mail" [EMAIL PROTECTED] < /dev/null

There have to be some messages somewhere.

> I have ssmtp
> installed with +mailwrapper.

mailwrapper or not shouldn't matter.

Ok, for some reason I thought mailwrapper provided the sendmail binary.

No, it doesn't. Check out the description of mailwrapper.


>  Do I need to set up any other kind of
> configuration?

You need to configure ssmtp. Did you do so?

Looking over /etc/ssmtp/ssmtp.conf, it seems like I need to configure
the mailhub variable?

Yep.

 I want to make sure I'm setting up as simple a
system for getting this elog mail out as possible.  Do I need to
specify some kind of an SMTP server to get it sent?

Yes. Some "mailhub", as the documentation likes to call it. And
if you need to authenticate yourself to the SMTP server, set
AuthUser and AuthPass. Also

# Use SSL/TLS to send secure messages to server.
UseTLS=YES

is quite useful.

 I thought this
thread was saying using SMTP was optional.

You misunderstood. This thread was about, *WHERE* SMTP is used.
IMO, it's wrong that portage even CAN use SMTP. But nearly always,
you'll need to use some SMTP server to get your mail out. But
with the /usr/sbin/sendmail interface, it's conceivable to send
out the mail WITHOUT the use of SMTP (eg. if the mail is sent from
the host with UUCP).


Alexander Skwar
--
Is a wedding successful if it comes off without a hitch?
--
gentoo-user@gentoo.org mailing list

Reply via email to