But it doesn't seem to be using SASL auth, because the attempt is being
blocked by my server client_access rule (which comes *after*
permit_sasl_authenticated)...
Here's what I have in make.conf (after reading the above thread):
!!! An error occurred while trying to send logmail:
{'root@usernameassword': (554, '5.7.1
<li66-207.members.linode.com[74.207.224.207]>: Client host rejected:
Access denied')}
Anyone have any ideas?
Thanks,
Charles
12-13-2011, 09:42 PM
Leho Kraav
Need help getting portage to email me emerge logs using ssmtp...
i would first of all suggest dropping ssmtp and going with nullmailer. if ssmtp fails for any reason it will lose your emails. nullmailer has queue capability.
12-14-2011, 10:43 AM
Tanstaafl
Need help getting portage to email me emerge logs using ssmtp...
On 2011-12-13 5:42 PM, Leho Kraav <leho@kraav.com> wrote:
i would first of all suggest dropping ssmtp and going with
nullmailer. if ssmtp fails for any reason it will lose your emails.
nullmailer has queue capability.
Sounds good, I'll give it a shot (emerging now)...
Is there a decent HowTo on getting it up and running? The manpage was
full of technical stuff but I didn't see anmy clearcut examples of
getting it actually running and being used as the systems default mta
for sending messages.
Thanks!
12-14-2011, 11:05 AM
Tanstaafl
Need help getting portage to email me emerge logs using ssmtp...
On 2011-12-14 6:43 AM, Tanstaafl <tanstaafl@libertytrek.org> wrote:
On 2011-12-13 5:42 PM, Leho Kraav <leho@kraav.com> wrote:
i would first of all suggest dropping ssmtp and going with
nullmailer. if ssmtp fails for any reason it will lose your emails.
nullmailer has queue capability.
Sounds good, I'll give it a shot (emerging now)...
Ok, emerged, did emerge --config nullmailer, added:
# A nonstandard SMTP server setup:
# someotherserver.domain.com smtp --port=2525
mail.myserver.com smtp --port=587 --user=<user> --pass=<pass>
to /etc/nullmailer/remotes, and added it to default runlevel.
When starting manually I get the following warning:
li66-207 nullmailer # /etc/init.d/nullmailer start
* Starting nullmailer ... [ ok ]
* WARNING: -c/--chuid is deprecated and will be removed in the future,
please use -u/--user instead
> Should I change this? Ianap, so don't really feel comfortable just changing it without confirming first...
>
> Thanks again...
>
Don't.
Just file a bug, and let the maintainer take care of it.
It's *still* supported currently.
Rgds,
12-14-2011, 11:17 AM
Neil Bothwick
Need help getting portage to email me emerge logs using ssmtp...
On Wed, 14 Dec 2011 07:05:12 -0500, Tanstaafl wrote:
> When starting manually I get the following warning:
>
> li66-207 nullmailer # /etc/init.d/nullmailer start
> * Starting nullmailer ... [ ok ]
> * WARNING: -c/--chuid is deprecated and will be removed in the
> future, please use -u/--user instead
Ignore it, it is only a deprecation warning. IMO these warnings shouldn't
be displayed to normal users by default, they are intended for devs.
--
Neil Bothwick
Walk softly and carry a fully charged phazer.
12-14-2011, 11:25 AM
Tanstaafl
Need help getting portage to email me emerge logs using ssmtp...
On 2011-12-14 7:16 AM, Pandu Poluan <pandu@poluan.info> wrote:
Should I change this? Ianap, so don't really feel comfortable just
changing it without confirming first...
Don't.
Just file a bug, and let the maintainer take care of it.
It's *still* supported currently.
Will do...
But, I noticed I was still getting the same error after unmerging ssmtp
and emerging nullmailer, and /etc/ssmtp still exists... so apparently it
is still trying to use ssmtp somehow?
I moved the /etc/ssmtp dir (temporarily, until I figure this out) to my
home directory, and set PORTAGE_ELOG_MAILURI= back to its default
(commented it out), and now I'm getting this error:
!!! A network error occurred while trying to send logmail:
[Errno 111] Connection refused
Sure you configured PORTAGE_ELOG_MAILURI correctly?
How do I tell the system to use nullmailer?
12-14-2011, 11:28 AM
Pandu Poluan
Need help getting portage to email me emerge logs using ssmtp...
On Dec 14, 2011 7:22 PM, "Neil Bothwick" <neil@digimed.co.uk> wrote:
>
> On Wed, 14 Dec 2011 07:05:12 -0500, Tanstaafl wrote:
>
> > When starting manually I get the following warning: