relay server port listening on all or local?

2022-12-01 Thread linuxguy
dear list, I am using postfix as mail relay which is deployed on gateway for internal users. This relay send mail out only, doesn't accept messages. My question is, do I need to make the relay server port 25 listened on 0.0.0.0? or just 127.0.0.1 should work? Thanks

Re: Is there an easy way to "warm up" a new sending IP w/ Postfix

2022-12-01 Thread Wietse Venema
Viktor Dukhovni: > On Thu, Dec 01, 2022 at 04:37:41AM +, Sean Hennessey wrote: > > > I want to thank you a million for this. I finally read up on the docs > > and got this working. I'm still going to do some more in depth > > testing, but my quick little testing seems to be doing exactly what

Re: relay server port listening on all or local?

2022-12-01 Thread Wietse Venema
linux...@gmx.net: > dear list, > > I am using postfix as mail relay which is deployed on gateway for internal > users. > This relay send mail out only, doesn't accept messages. > My question is, do I need to make the relay server port 25 listened on > 0.0.0.0? or just 127.0.0.1 should work? If

Re: relay server port listening on all or local?

2022-12-01 Thread Matus UHLAR - fantomas
On 01.12.22 10:02, linux...@gmx.net wrote: I am using postfix as mail relay which is deployed on gateway for internal users. This relay send mail out only, doesn't accept messages. My question is, do I need to make the relay server port 25 listened on 0.0.0.0? or just 127.0.0.1 should work?

Re: relay server port listening on all or local?

2022-12-01 Thread Henry R
One way is webmail I may think. > > On 01.12.22 10:02, linux...@gmx.net wrote: > > > > > I am using postfix as mail relay which is deployed on gateway for internal > > users. > > This relay send mail out only, doesn't accept messages. > > My question is, do I need to make the relay server por

Re: relay server port listening on all or local?

2022-12-01 Thread Benny Pedersen
Henry R skrev den 2022-12-01 14:30: how do internal users connect to your mail gateway? One way is webmail I may think. +1 port 25 only need to listen on 127.0.0.1 not the same as loop-back for all ports in master.cf

helo command rejected

2022-12-01 Thread David Dolan
Hi All, We have two customers who we're unable to receive email from. It's failing the helo lookup as it can't resolve the hostname in the helo message. Helo command rejected: Host not found; The postfix configuration for helo checks is as follows. It's failing on reject_unknown_helo_hostname sm

Re: helo command rejected

2022-12-01 Thread Benny Pedersen
David Dolan skrev den 2022-12-01 16:23: Has anybody come across this before and any idea how to resolve it? 32 ips with one single helo name ? solution is 32 ips with not a single helo name

Re: helo command rejected

2022-12-01 Thread Viktor Dukhovni
On Thu, Dec 01, 2022 at 03:23:52PM +, David Dolan wrote: > We have two customers who we're unable to receive email from. It's > failing the helo lookup as it can't resolve the hostname in the helo > message. Helo command rejected: Host not found; Not surprising, too many systems have fictio

Re: helo command rejected

2022-12-01 Thread Matus UHLAR - fantomas
On 01.12.22 15:23, David Dolan wrote: We have two customers who we're unable to receive email from. It's failing the helo lookup as it can't resolve the hostname in the helo message. Helo command rejected: Host not found; The issued hostname is logged just prior to this text. You skipped the mo

Re: helo command rejected

2022-12-01 Thread David Dolan
On Thu, 1 Dec 2022 at 15:49, Matus UHLAR - fantomas wrote: > On 01.12.22 15:23, David Dolan wrote: > >We have two customers who we're unable to receive email from. > >It's failing the helo lookup as it can't resolve the hostname in the helo > >message. > >Helo command rejected: Host not found; >

Re: relay server port listening on all or local?

2022-12-01 Thread Viktor Dukhovni
On Thu, Dec 01, 2022 at 10:02:02AM +0100, linux...@gmx.net wrote: > I am using postfix as mail relay which is deployed on gateway for > internal users. This relay send mail out only, doesn't accept > messages. My question is, do I need to make the relay server port 25 > listened on 0.0.0.0? or j

Backup MX Take 2

2022-12-01 Thread Jonathan Capra
So I decided to walk before I could run. Getting backup MX with MySQL backend to restrict to just valid users is proving harder than I thought. But for the time being, what I did was reset the config on the secondary MX to a very standard postfix config using hash: and Berkeley DB files. Ho

Re: helo command rejected

2022-12-01 Thread Viktor Dukhovni
On Thu, Dec 01, 2022 at 04:06:30PM +, David Dolan wrote: > This is the full line: > > NOQUEUE: reject: RCPT from unknown[103.246.251.109]: > 450 4.7.1 : > Helo command rejected: Host not found; > from=<#> to=<#> > proto=ESMTP helo= Indeed the hostname "wx-use2.pro

Re: helo command rejected

2022-12-01 Thread Matus UHLAR - fantomas
On 01.12.22 15:23, David Dolan wrote: >We have two customers who we're unable to receive email from. >It's failing the helo lookup as it can't resolve the hostname in the helo >message. >Helo command rejected: Host not found; On Thu, 1 Dec 2022 at 15:49, Matus UHLAR - fantomas wrote: The issu

Aw: Re: relay server port listening on all or local?

2022-12-01 Thread linuxguy
It’s via HTTP API to post messages to gateway which then relay messages out to internet. Thanks. > Gesendet: Donnerstag, den 01.12.2022 um 17:25 Uhr > Von: "Viktor Dukhovni" > An: postfix-users@postfix.org > Betreff: Re: relay server port listening on all or local? > > On Thu, Dec 01, 2022 a

Re: helo command rejected

2022-12-01 Thread David Dolan
On Thu, 1 Dec 2022 at 16:59, Matus UHLAR - fantomas wrote: > >> On 01.12.22 15:23, David Dolan wrote: > >> >We have two customers who we're unable to receive email from. > >> >It's failing the helo lookup as it can't resolve the hostname in the > helo > >> >message. > >> >Helo command rejected: H

Re: Aw: Re: relay server port listening on all or local?

2022-12-01 Thread Viktor Dukhovni
On Thu, Dec 01, 2022 at 06:21:30PM +0100, linux...@gmx.net wrote: > It’s via HTTP API to post messages to gateway which then relay messages out > to internet. If none of the mail arrives via SMTP, you don't need to enable an SMTP listener. Just comment out "smtpd" from your master.cf file. --

Re: Backup MX Take 2

2022-12-01 Thread Viktor Dukhovni
On Thu, Dec 01, 2022 at 11:32:01AM -0500, Jonathan Capra wrote: > However what I'm doing is having the primary server extract valid > addresses (mailboxes and aliases) from MySQL, compile them into postfix > format (OK), and then rsync it over the the > secondary in the form of /etc/postfix/rel

PATCH: Linux kernel 6 is out

2022-12-01 Thread Wietse Venema
Wietse Venema: > J. Thomsen: > > Postfix 3.7.3 > > > > makedefs and src/util/sys_defs.h is missing support for LINUX6 > > It's a relatively simple change. I can post a patch later today. This applies to Postfix 3.4-7. Wietse 20221201 Po

Re: Backup MX Take 2

2022-12-01 Thread raf
On Thu, Dec 01, 2022 at 02:38:49PM -0500, Viktor Dukhovni wrote: > On Thu, Dec 01, 2022 at 11:32:01AM -0500, Jonathan Capra wrote: > > > However what I'm doing is having the primary server extract valid > > addresses (mailboxes and aliases) from MySQL, compile them into postfix > > format (OK

Re: Backup MX Take 2

2022-12-01 Thread Jonathan Capra
On Fri, 2 Dec 2022, raf wrote: The parameter smtpd_relay_restrictions was set twice in main.cf. You should decide which one you want, and delete the other (or combine what you want into a single version). The postconf -nf command shown above would just output the one that Postfix ends up usin