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
[email protected] <mailto:[email protected]>
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=<[email protected] <mailto:[email protected]>>,
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
<http://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 <http://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
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/