Re: double-bounce check applied to itself

2021-02-12 Thread Eugene Podshivalov
Have read through the pickup(8) and cleanup(8) docs and understood the workflow as follows. When a local message is sent by sendmail it lands into the maildrop directory. The pickup daemon then feeds it into the cleanup one. The latter is responsible for all sorts of envelope and header

Re: File-format for Included Files for main.cf Options

2021-02-12 Thread Dominic Raferd
On 12/01/2021 01:21, Viktor Dukhovni wrote: On Tue, Jan 12, 2021 at 01:00:26AM +, JL (Postfix Readers A/c) wrote: Can someone point me at the right place in the docs, or offer advice which maybe could also be added to the docs (!) to help others? Each main.cf parameter documents its

Re: Cloud9.net related responses

2021-02-12 Thread Jaroslaw Rafa
Dnia 12.02.2021 o godz. 04:47:47 @lbutlr pisze: > > > Yes, that's all very well, but not all mailing lists are so well > > behaved > > Most are. The drawback is that some marketing emails pretend to be mailing > list messages as well. Maybe because people who send these use actual mailing list

Re: Allow unauth for some users on port 465

2021-02-12 Thread Mark Constable
On 12/2/21 3:14 pm, Viktor Dukhovni wrote: Hi, I have a fairly typical postfix install with port 465 requiring authentication. I'd like to allow one sender (email address or IP) to inject email on port 465 without providing login/password authentication. The port number and TLS encryption are

Re: Cloud9.net related responses

2021-02-12 Thread LuKreme
On Feb 12, 2021, at 06:54, Jaroslaw Rafa wrote: > > Maybe because people who send these use actual mailing list software for > that? Could be but I don’t consider marketing spam to be a mailing list and don’t consider list ids with dozens or hundreds of random-ish characters to be a

Re: Cloud9.net related responses

2021-02-12 Thread @lbutlr
On 12 Feb 2021, at 01:41, Chris Green wrote: > On Thu, Feb 11, 2021 at 11:09:06PM -0700, Bob Proulx wrote: >> Bryan L. Gay wrote: >>> I'm seeing some mailing list messages with to: >>> postfix-us...@cloud9.net in the header. I had to update my filters to >>> get them sorted into my postfix

Re: File-format for Included Files for main.cf Options

2021-02-12 Thread Wietse Venema
Dominic Raferd: [ Charset ISO-8859-15 converted... ] > On 12/01/2021 01:21, Viktor Dukhovni wrote: > > On Tue, Jan 12, 2021 at 01:00:26AM +, JL (Postfix Readers A/c) wrote: > > > >> Can someone point me at the right place in the docs, or offer advice > >> which maybe could also be added to the

How to deal with sending mail from host isbd.uk?

2021-02-12 Thread Chris Green
Just a quickie, how do I configure /etc/hostname etc. for a system at isbd.uk? It really *is* just isbd.uk:- chris$ host isbd.uk isbd.uk has address 92.243.2.29 isbd.uk mail is handled by 0 mail.vhdns.net. So, if I set /etc/hostname to isbd.uk then postfix thinks the domain name is

Re: Possible to "import" a file into postfix queue?

2021-02-12 Thread Wietse Venema
Tobi: > Wietse, > > On 2/11/21 1:49 PM, Wietse Venema wrote: > > sendmail -f sender recipient... < file > > We could debug and solve the issue just wonder for next time: does > delivery via sendmail command not change the msg by one bit? Especially > no new or changed headers. Because we found

Re: double-bounce check applied to itself

2021-02-12 Thread Eugene Podshivalov
> > Wietse: > smtpd does not resolve any mappings. If a sender address is mapped to some other virtual alias, how does it know which address to probe then? Без вирусов. www.avast.ru

Re: Allow unauth for some users on port 465

2021-02-12 Thread Viktor Dukhovni
On Fri, Feb 12, 2021 at 09:13:58PM +1000, Mark Constable wrote: > The reason for wanting this setup is that I've started using delta.chat > with a few friends and I want to maximize the speed between our mailservers > and also try to minimize the size of the messages to sometimes <1500 bytes.

AW: How to deal with sending mail from host isbd.uk?

2021-02-12 Thread ludicree
Give the machine a hostname, put hostname.domain.tld in hostname file and DNS. Greets, Ludi -Ursprüngliche Nachricht- Von: owner-postfix-us...@postfix.org Im Auftrag von Chris Green Gesendet: Freitag, 12. Februar 2021 17:18 An: postfix-users@postfix.org Betreff: How to deal with

Re: double-bounce check applied to itself

2021-02-12 Thread Wietse Venema
Eugene Podshivalov: > Another somewhat related question is: in order to probe the smtpd needs to > resolve all virtual etc. mappings which is also done by the cleanup. Is > this resolution done twice in this case? smtpd does not resolve any mappings. Instead it makes a safe guess to reject most

Re: How to deal with sending mail from host isbd.uk?

2021-02-12 Thread Chris Green
On Fri, Feb 12, 2021 at 11:33:53AM -0500, Wietse Venema wrote: > Chris Green: > > Just a quickie, how do I configure /etc/hostname etc. for a system at > > isbd.uk? > > > > It really *is* just isbd.uk:- > > > > chris$ host isbd.uk > > isbd.uk has address 92.243.2.29 > > isbd.uk mail

Address rewriting guidance

2021-02-12 Thread Matt Shields
Other than setting up a very basic Postfix server for sending out email, I'm new to the advanced rewriting capabilities. I need to setup a server that let's me do the following. I've already setup SMTP relaying through AWS SES and I've setup host based access list to make sure only certain

Re: File-format for Included Files for main.cf Options

2021-02-12 Thread Chris Green
On Fri, Feb 12, 2021 at 01:08:07PM -0500, Viktor Dukhovni wrote: > On Fri, Feb 12, 2021 at 11:14:24AM +, Dominic Raferd wrote: > > > On 12/01/2021 01:21, Viktor Dukhovni wrote: > > > On Tue, Jan 12, 2021 at 01:00:26AM +, JL (Postfix Readers A/c) wrote: > > > > > >> Can someone point me at

Re: double-bounce check applied to itself

2021-02-12 Thread Wietse Venema
Viktor Dukhovni: > > On Feb 12, 2021, at 12:29 PM, Eugene Podshivalov wrote: > > > > Another somewhat related question is: in order to probe the smtpd needs to > > resolve all virtual etc. mappings which is also done by the cleanup. Is > > this resolution done twice in this case? > > The

Re: Address rewriting guidance

2021-02-12 Thread Viktor Dukhovni
On Fri, Feb 12, 2021 at 12:06:02PM -0500, Matt Shields wrote: > 1. Rewrite the FROM address in each message > a. host1.lan has a process that sets the FROM as t...@mycompany.com, this > is okay to let relay > b. host2.lan has a script that sends as r...@host2.lan, rewrite FROM as >

Re: File-format for Included Files for main.cf Options

2021-02-12 Thread Viktor Dukhovni
On Fri, Feb 12, 2021 at 11:14:24AM +, Dominic Raferd wrote: > On 12/01/2021 01:21, Viktor Dukhovni wrote: > > On Tue, Jan 12, 2021 at 01:00:26AM +, JL (Postfix Readers A/c) wrote: > > > >> Can someone point me at the right place in the docs, or offer advice > >> which maybe could also be

Re: Address rewriting guidance

2021-02-12 Thread Matt Shields
On Fri, Feb 12, 2021 at 12:54 PM Viktor Dukhovni wrote: > On Fri, Feb 12, 2021 at 12:06:02PM -0500, Matt Shields wrote: > > I'll take a look at all the suggestions. For below, this is just an internal server(behind firewall) with no internet facing ports. We use Office365 for corporate mail,

Re: How to deal with sending mail from host isbd.uk?

2021-02-12 Thread Wietse Venema
Chris Green: > Just a quickie, how do I configure /etc/hostname etc. for a system at > isbd.uk? > > It really *is* just isbd.uk:- > > chris$ host isbd.uk > isbd.uk has address 92.243.2.29 > isbd.uk mail is handled by 0 mail.vhdns.net. > > So, if I set /etc/hostname to isbd.uk then

Re: double-bounce check applied to itself

2021-02-12 Thread Eugene Podshivalov
Judging by the above log example the double-bounce message is processed by the cleanup as well. I guess that's the point where the resolving happens for the prob. Без вирусов. www.avast.ru

Re: double-bounce check applied to itself

2021-02-12 Thread Wietse Venema
Eugene Podshivalov: > > > > Wietse: > > smtpd does not resolve any mappings. > > If a sender address is mapped to some other virtual alias, how does it know > which address to probe then? The Postfix SMTP daemon generates a probe message for the address in the RCPT TO command. Inside Postfix,

Re: Possible to "import" a file into postfix queue?

2021-02-12 Thread Viktor Dukhovni
> On Feb 12, 2021, at 2:43 PM, Wietse Venema wrote: > > sendmail -G -i -f "sender" -- recipient... < file > > The -G will prevent Postfix from rewriting/adding message headers. > It will still prepend a Received: header, but if that breaks DKIM, > then the sender is at fault. > > However,

Re: double-bounce check applied to itself

2021-02-12 Thread Viktor Dukhovni
> On Feb 12, 2021, at 12:29 PM, Eugene Podshivalov wrote: > > Another somewhat related question is: in order to probe the smtpd needs to > resolve all virtual etc. mappings which is also done by the cleanup. Is this > resolution done twice in this case? The smtpd(8) process does not perform

Re: File-format for Included Files for main.cf Options

2021-02-12 Thread Viktor Dukhovni
On Fri, Feb 12, 2021 at 06:35:50PM +, Chris Green wrote: > The Debian patch sets myorigin:- > > # Debian GNU/Linux specific: Specifying a file name will cause the > # first line of that file to be used as the name. The Debian default > # is /etc/mailname. > # >

Re: Can I get postfix to use what's returned by dnsdomainname for mydomain?

2021-02-12 Thread Chris Green
On Thu, Feb 11, 2021 at 07:26:27PM -0700, @lbutlr wrote: > On 11 Feb 2021, at 12:56, Chris Green wrote: > > On Thu, Feb 11, 2021 at 12:12:53PM -0700, @lbutlr wrote: > >> On 11 Feb 2021, at 04:45, Chris Green wrote: > >>> Yes, I think this is what it comes down to, *something* needs to be > >>>

Re: Can I get postfix to use what's returned by dnsdomainname for mydomain?

2021-02-12 Thread Chris Green
On Thu, Feb 11, 2021 at 02:16:19PM -0700, Bob Proulx wrote: > Chris Green wrote: > > Matus UHLAR - fantomas wrote: > > > >chris@isbdGandi$ more /etc/hosts > > > >127.0.0.1 isbdGandi.isbd.uk isbdGandi isbd localhost > > > > > > no no no. > > > 127.0.0.1 is always supposed to resolve

Re: Cloud9.net related responses

2021-02-12 Thread Chris Green
On Thu, Feb 11, 2021 at 11:09:06PM -0700, Bob Proulx wrote: > Bryan L. Gay wrote: > > I'm seeing some mailing list messages with to: > > postfix-us...@cloud9.net in the header. I had to update my filters to > > get them sorted into my postfix mailing list folder. > > If one is filtering mail