public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax?
@ 2013-11-16 14:05 Tanstaafl
  2013-11-16 14:13 ` Tanstaafl
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Tanstaafl @ 2013-11-16 14:05 UTC (permalink / raw
  To: gentoo-user

Hi all...

I'm a little confused by something...

If I change the MAILURI in make.conf from the default, ie:

> #PORTAGE_ELOG_MAILURI="root /usr/sbin/sendmail"
> PORTAGE_ELOG_MAILURI="recipient@example.com sender:passwd@smtp.example.com:100587"

I'm guessing portage still uses /usr/sbin/sendmail, but using the above 
defined credentials?

The reason I ask is, I have a new system I've been working on that will 
eventually replace my old mail server. I'm getting close, but now I'm 
tweaking a few system logging and reporting things, and while my system 
successfully sends emerge logs with the above, cron job emails are not 
successfully sent, and I get a message in the logs about my client being 
rejected (not allowed to relay), which is as it should be.

I think all I need to do is figure out how to tell cron to send emails 
the same way as portage using sender:passwd@smtp.example.com:587 (using 
TLS), but alas, my google-fu is failing on this one... I can't find a 
single mention anywhere of alternate examples of sending emails with 
cron, much less using sender:passwd@host:587 syntax...

So... anyone? I can't imagine it isn't possible... ?


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-11-18 13:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-16 14:05 [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax? Tanstaafl
2013-11-16 14:13 ` Tanstaafl
2013-11-16 14:56 ` Neil Bothwick
2013-11-16 14:59   ` Tanstaafl
2013-11-16 15:04     ` Neil Bothwick
2013-11-16 15:17       ` Tanstaafl
2013-11-16 17:32         ` Neil Bothwick
2013-11-16 17:42           ` Tanstaafl
2013-11-16 21:24             ` Alan McKinnon
2013-11-18 13:45             ` [gentoo-user] Re: Tell cron to send email using sender:passwd <at> host:587 syntax? James
2013-11-16 19:29 ` [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax? Benjamin Lee
2013-11-16 20:03   ` Tanstaafl
2013-11-16 20:25     ` Manuel McLure
2013-11-17 11:42       ` Tanstaafl
2013-11-17 11:45         ` Tanstaafl
2013-11-16 23:14     ` Neil Bothwick
2013-11-17  9:00     ` Peter Humphrey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox