I've got a number of APC UPS units with Gen1 management cards, meaning they
can only send email alerts via a "local" SMTP server and without any
authentication. The only options the management cards support are the local
SMTP server address, the From: address, and the To: address.

I have a private Postfix server running in my basement, and I have it set
up so that it would permit relaying for mynetworks, and mynetworks
contained the specific local IPs on my private network (192.168.1.x) of
each UPS management card. This used to work fine for getting alerts from my
UPS units to my Gmail address... until Comcast blocked all outbound
connections on port 25. :(

Here's what happens if mail is sent through this local Postfix server now:

Jun 18 08:40:31 mugello sendmail[20546]: r5IFeVMG020544: to=<
xxxx...@gmail.com>, delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=120370, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued
as D4EF15301EE)
Jun 18 08:40:32 mugello postfix/smtpd[20547]: disconnect from
mugello[127.0.0.1]
Jun 18 08:40:47 mugello postfix/smtp[20552]: connect to
gmail-smtp-in.l.google.com[74.125.25.26]: Connection timed out (port 25)
Jun 18 08:41:02 mugello postfix/smtp[20552]: connect to
alt1.gmail-smtp-in.l.google.com[74.125.142.26]: Connection timed out (port
25)
Jun 18 08:41:17 mugello postfix/smtp[20552]: connect to
alt2.gmail-smtp-in.l.google.com[74.125.137.26]: Connection timed out (port
25)
Jun 18 08:41:32 mugello postfix/smtp[20552]: connect to
alt3.gmail-smtp-in.l.google.com[173.194.76.26]: Connection timed out (port
25)
Jun 18 08:41:47 mugello postfix/smtp[20552]: connect to
alt4.gmail-smtp-in.l.google.com[74.125.131.26]: Connection timed out (port
25)
Jun 18 08:41:47 mugello postfix/smtp[20552]: D4EF15301EE: to=<
xxxx...@gmail.com>, relay=none, delay=75, delays=0.13/0.03/75/0, dsn=4.4.1,
status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.131.26]:
Connection timed out)

So I'm wondering if there's a way to configure my local Postfix server and
a remote Postfix server under my control (and at our colo, so it's off the
Comcast network) so that mail accepted by the local Postfix server will
relay it on a port other than 25 to the remote Postfix, after which the
remote server attempts delivery as normal to my notification address.

Thanks in advance,

SteveJ

Reply via email to