Koozali.org: home of the SME Server

AFFA not emailing

Offline brainamess

  • **
  • 39
  • +0/-0
AFFA not emailing
« on: August 27, 2018, 09:44:12 PM »
Hey everyone,

I have two sme servers... one as my main server and the other one is an affa backup server.

I am not getting email updates from my server anymore telling me my weekly info. I panicked today thinking my backups are not working, thankfully that is not the case.

It seems like my only real issue is my backup server is no longer able to send emails.

I did a test from the affa server and nothing happened :

Code: [Select]
[root@smenew ~]# affa --mailtest backup-smeserver
Testmail sent to me@test.ca
Watchdog testmail from 192.168.0.55 sent to me@test.ca

192.168.0.55 is my main mail server being backed up :)

I am wondering how to troubleshoot this as it would be nice to get my weekly backup updates again or any email issues and I am not sure why it stopped working... Any info is appreciated.

THANKS!
« Last Edit: August 27, 2018, 09:50:22 PM by brianblaze420 »

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: AFFA not emailing
« Reply #1 on: August 27, 2018, 11:01:30 PM »
Check the affa backup box qmail & sqsmtpd logs and the receiving qpsmtpd logs.

Should see some action in both
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: AFFA not emailing
« Reply #2 on: August 27, 2018, 11:03:42 PM »
P.S. I make the dangerous assumption everything is up to date.

How long since this occurred, and anything that might have prompted it eg updates?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline brainamess

  • **
  • 39
  • +0/-0
Re: AFFA not emailing
« Reply #3 on: August 27, 2018, 11:53:43 PM »
P.S. I make the dangerous assumption everything is up to date.

How long since this occurred, and anything that might have prompted it eg updates?

I hear that what I mean by updates is the emails that update me on how the backups went. I am checking the logs now thanks for some direction I will get back to you

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: AFFA not emailing
« Reply #4 on: August 28, 2018, 12:11:40 AM »
I hear that what I mean by updates is the emails that update me on how the backups went. I am checking the logs now thanks for some direction I will get back to you

No, what I meant was 'is your server fully updated' ?

What version of affa are you using?

Exactly when did this occur, and what did you change to trigger it (something must have happened as things rarely just 'break')?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline brainamess

  • **
  • 39
  • +0/-0
Re: AFFA not emailing
« Reply #5 on: August 28, 2018, 12:56:07 AM »
No, what I meant was 'is your server fully updated' ?

What version of affa are you using?

Exactly when did this occur, and what did you change to trigger it (something must have happened as things rarely just 'break')?

Affa version 3.2.2.3-8

SME 9.2

It seems to have occurred after I had installed nrpe. That question helped me as I was trying to think if I made changes. My main server works well so I am not sure if it actually broke anything... checking logs now...

Offline brainamess

  • **
  • 39
  • +0/-0
Re: AFFA not emailing
« Reply #6 on: August 28, 2018, 01:04:06 AM »
I am getting somewhere I see this over and over:

@400000005b8480222df937ec delivery 11: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/

@400000005b844f6a028cabfc 1952 Listening on 0.0.0.0:465
@400000005b844f6a028cafe4 1952 Running as user qpsmtpd, group qpsmtpd

Thanks for your help :)

Offline ReetP

  • *
  • 3,949
  • +6/-0
Re: AFFA not emailing
« Reply #7 on: August 28, 2018, 10:28:57 AM »
Which server is that log from? Affa?

If so then check qpsmtpd logs on the receiving mail server to see why it is blocking connections.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation