On 26.07.16 13: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 <mailto: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 <mailto: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
> <http://alt2.gmail-smtp-in.l.google.com>[64.233.189.26]:25: Connection timed
> out)
>
Your own MTA (Postfix) has accepted test message and put it in mail queue. So,
notifications are working.
> 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").
>
It seems like you mixed up client and server ports. I don't think you should
use submission port to send notifications - gmail requires authentication for
MUAs.
I'm afraid, you can't get your own mail server up and running if you don't know
how SMTP works.
------------------------------------------------------------------------------
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/
|