BackupPC-users

Re: [BackupPC-users] Postfix problems

2016-07-26 07:42:14
Subject: Re: [BackupPC-users] Postfix problems
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 26 Jul 2016 21:41:41 +1000



On 26/07/2016 20:30, Kacper Kowalski wrote:
Hi,

I have issues with email notifications. I checked mailing list, found some tips and advises, but those are not working.

The problem is, that if I try to send test mail from backuppc user like this:

root@backup:/etc# sudo -u backuppc /usr/share/backuppc/bin/BackupPC_sendEmail -u kacper.s.kowalski AT gmail DOT com

I can see in mail.log file, that my mail wasn't send, because of timing out (sometimes "Network unreachable" is the reason):

Jul 26 12:12:20 backup postfix/smtp[3496]: 133C643A41: to=<kacper.s.kowalski AT gmail DOT com>, relay=none, delay=3347, delays=3256/0.02/90/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[64.233.189.26]:25: Connection timed out)

I tried to change smtp port to 587 in master.cf file, but after restarting postfix service and sending test email, the 25 port is used, not 587 (in log file the ip is followed by ":25").

What can I do to start notifications working?

You might find it easier to configure your system to send all mail to a smarthost instead of trying to deliver directly. You may need user/pass authentication for your ISP mail server, or not. BackupPC itself is working correctly, instead you should look at the configuration of postfix and perhaps discuss with the postfix list on how to best resolve the issue. I would help further, but unfortunately I know nothing at all of postfix. I tend to use either nullmailer or else exim which debian provides some simple configuration scripts for it.

Please consult your postfix docs, and/or the postfix mailing list for further help.

Regards,
Adam
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>