On 6/16/20 10:39 PM, Bob Proulx wrote:
Gary Aitken wrote:
...
For future reference it is also possible to use dpkg to remove
postfix ignoring the dependency and then install it again satisfying
the dependency.

dpkg --purge --force-depends postfix ...verify /etc/postfix/ and
other locations are clean... apt-get install postfix ...configure it
as desired...

That would have avoided the clever use of an alternate MTA such as nullmailer as a dependency placeholder. :-)

Thanks, saw that but then saw "These options are mostly intended to be
used by experts only.  Using them without fully understanding their
effects may break your whole system."  However, I was about to ask about
some means of restoring / regenerating the whole dependency graph when
the problem got solved.

Jun 16 17:18:11 xblgx-ops postfix/smtp[26224]: connect to
aspmx3.googlemail.com[142.250.10.27]:25: Connection timed out

It is using default mail port, 25; I need port 465 or 587 because
it's my understanding google blocks everything on port 25. During
the setup, I was not (I don't think) given the option of
specifying smtps or the port.

It was there. I ran through a test just now. dpkg --purge as above and the installed. Selected Satellite. I see this:

Please specify a domain, host, host:port, [address] or
[address]:port. Use the form [destination] to turn off MX lookups.
Leave this blank for no relay host.

Do not specify more than one host.

The relayhost parameter specifies the default host to send mail to
when no entry is matched in the optional transport(5) table. When no
relay host is given, mail is routed directly to the destination.

SMTP relay host (blank for none):

When I specified the following to that form:

smtp.proulx.com:587

It resulted in this configuration entry.

root@turmoil:~# postconf relayhost
relayhost = smtp.proulx.com:587

And so it is possible to use that Debian specific installation option. Any more details here should be on a Debian specific
mailing list.

However personally I always simply choose Internet Site and then configure everything I want on top of that template. It's a good default to start from but I always want more specific customizations on top of it.

Thanks.  Looking back on it, I remember expecting it to ask me for a default
port after that and was surprised when it didn't.  I obviously didn't read it
carefully enough.

On 6/16/20 10:53 PM, Scott Kitterman wrote:
On Wednesday, June 17, 2020 12:39:06 AM EDT Bob Proulx wrote:
It resulted in this configuration entry.

     root@turmoil:~# postconf relayhost
     relayhost = smtp.proulx.com:587

And so it is possible to use that Debian specific installation
option.  Any more details here should be on a Debian specific mailing
list.

Those are both good points, but it's also worth noting that typically
submission requires SMTP Auth which you will have to configure manually after
doing the above.

Thanks, noted; will try to get that when I get back on this; other things
to deal with at the moment.

Thanks all for your thoughtful and helpful answers.

Gary



Reply via email to