Re: restricted inbound on 587

2021-01-16 Thread Viktor Dukhovni
On Sat, Jan 16, 2021 at 11:37:50PM -0700, Gary Aitken wrote: > >> /etc/postfix/master.cf: > >> #smtp inet n - y - - smtpd > >> submission inet n - y - - smtpd > > > > This looks like a submission service, so you

Re: Conditional relayhost based on message size

2021-01-16 Thread @lbutlr
On 16 Jan 2021, at 02:48, Viktor Dukhovni wrote: > Since the queue manager has no mechanism for size-dependent selection of > a default transport Postfix does, however, know the size of the message based if it is over or under the message_size_limit, and it must know that before the message

Re: restricted inbound on 587

2021-01-16 Thread Gary Aitken
On 1/16/21 4:08 PM, Viktor Dukhovni wrote: On Sat, Jan 16, 2021 at 03:11:58PM -0700, Gary Aitken wrote: I'm trying to set up a postfix-server on a google-compute-engine vm that works as follows: * outgoing mail from local machine (aaa.xxx.com) to a select few specific addresses and any

Re: restricted inbound on 587

2021-01-16 Thread Gary Aitken
On 1/16/21 4:04 PM, Jaroslaw Rafa wrote: Dnia 16.01.2021 o godz. 15:11:58 Gary Aitken pisze: 1. Why is it attempting to send mail on port 25 and not 587? Because that's the usual port MTA tries to connect to when sending mail. You didn't specify anywhere in your configuration that there

Re: restricted inbound on 587

2021-01-16 Thread Viktor Dukhovni
On Sat, Jan 16, 2021 at 03:11:58PM -0700, Gary Aitken wrote: > I'm trying to set up a postfix-server on a google-compute-engine vm that > works as follows: > > * outgoing mail from local machine (aaa.xxx.com) to a select few specific >addresses and any address on a specific domain (yyy.com)

Re: restricted inbound on 587

2021-01-16 Thread Jaroslaw Rafa
Dnia 16.01.2021 o godz. 15:11:58 Gary Aitken pisze: > 1. Why is it attempting to send mail on port 25 and not 587? Because that's the usual port MTA tries to connect to when sending mail. You didn't specify anywhere in your configuration that there should be a connection to port 587. > 2.

restricted inbound on 587

2021-01-16 Thread Gary Aitken
I'm trying to set up a postfix-server on a google-compute-engine vm that works as follows: outgoing mail from local machine (aaa.xxx.com) to a select few specific addresses and any address on a specific domain (yyy.com) incoming mail from a single domain only (yyy.com) DNS is set with

Re: Conditional relayhost based on message size

2021-01-16 Thread Wietse Venema
Viktor Dukhovni: > On Sat, Jan 16, 2021 at 04:48:22AM -0500, Viktor Dukhovni wrote: > > > On Sat, Jan 16, 2021 at 08:14:34AM +, Alexander wrote: > > > > > My goal is to conditionally select the relayhost based on the total size > > > of the outgoing message. The rationale is that I'm using

Re: Conditional relayhost based on message size

2021-01-16 Thread Viktor Dukhovni
On Sat, Jan 16, 2021 at 04:48:22AM -0500, Viktor Dukhovni wrote: > On Sat, Jan 16, 2021 at 08:14:34AM +, Alexander wrote: > > > My goal is to conditionally select the relayhost based on the total size > > of the outgoing message. The rationale is that I'm using Amazon AWS SES > > for the

Re: Conditional relayhost based on message size

2021-01-16 Thread Viktor Dukhovni
On Sat, Jan 16, 2021 at 08:14:34AM +, Alexander wrote: > My goal is to conditionally select the relayhost based on the total size > of the outgoing message. The rationale is that I'm using Amazon AWS SES > for the most part. Alas, SES only accepts messages up to 10 MB in size > (this

Conditional relayhost based on message size

2021-01-16 Thread Alexander
Hello, My goal is to conditionally select the relayhost based on the total size of the outgoing message. The rationale is that I'm using Amazon AWS SES for the most part. Alas, SES only accepts messages up to 10 MB in size (this includes images and attachments that are part of the message),