Control Web Panel

WebPanel => Postfix => Topic started by: jdiggity81 on April 06, 2019, 06:29:21 PM

Title: Having issues with mail server
Post by: jdiggity81 on April 06, 2019, 06:29:21 PM
Apr  6 18:20:32 srv1 postfix/master[16621]: daemon started -- version 2.10.1, configuration /etc/postfix
Apr  6 18:20:32 srv1 postfix/qmgr[16623]: 7FF371E19ED: from=<testme@lotrdynasty.com>, size=1260, nrcpt=1 (queue active)
Apr  6 18:20:33 srv1 postfix/smtp[16640]: connect to gmail-smtp-in.l.google.com[108.177.8.26]:25: Connection refused


I am recieving emails but not able to send them.  Been banging head on door for three days.  Anybody can help me?

per mx toolbox
Quote
Transcript: Connecting to 172.93.51.195

Transcript:

Transcript: 220 srv1.lotrdynasty.com ESMTP Postfix [710 ms]

Transcript: EHLO keeper-us-east-1c.mxtoolbox.com

Transcript: 250-srv1.lotrdynasty.com

Transcript: 250-PIPELINING

Transcript: 250-SIZE 204800000

Transcript: 250-ETRN

Transcript: 250-STARTTLS

Transcript: 250-AUTH PLAIN LOGIN

Transcript: 250-AUTH=PLAIN LOGIN

Transcript: 250-ENHANCEDSTATUSCODES

Transcript: 250-8BITMIME

Transcript: 250 DSN [637 ms]

Transcript: MAIL FROM:<supertool@mxtoolbox.com>

Transcript: 250 2.1.0 Ok [642 ms]

Transcript: RCPT TO:<test@mxtoolboxsmtpdiag.com>

Transcript: 454 4.7.1 <test@mxtoolboxsmtpdiag.com>: Relay access denied [675 ms]

Transcript:

Transcript: LookupServer 3153ms

Transcript:

spf:lotrdynasty.com

From what i see everything looks good.  I have tried everything I can find on the web and nothing is working.  Any hints?
Title: Re: Having issues with mail server
Post by: jdiggity81 on April 06, 2019, 07:27:29 PM
found a solution finally

# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
#  -o content_filter=smtp-amavis:127.0.0.1:10024
#  -o receive_override_options=no_address_mappings

TO :
Quote
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
587     inet  n       -       n       -       -       smtpd
26      inet  n       -       n       -       -       smtpd
#  -o content_filter=smtp-amavis:127.0.0.1:10024
#  -o receive_override_options=no_address_mappings
Title: Re: Having issues with mail server
Post by: Gokalex on November 07, 2020, 01:32:14 PM
Hi, I seem to be having similar problems (can receive but not send email with "Connection refused" error from postfix but if i connect via ssh to the server and telnet the same server i can connect...)

How exactly did you fix the problem?

Thanks
Title: Re: Having issues with mail server
Post by: Hardoman on December 07, 2020, 10:45:07 AM
SMTP ports are closed by default.
Just open it in the FW.
Title: Re: Having issues with mail server
Post by: Gokalex on December 07, 2020, 04:02:41 PM
Ports are not the problem for me, i can send emails to some server but not others (like gmail always gets connection refused)
Title: Re: Having issues with mail server
Post by: Hardoman on December 09, 2020, 08:53:40 AM
Most probably you are blacklisted then
Check your server at https://mxtoolbox.com/blacklists.aspx
Title: Re: Having issues with mail server
Post by: Gokalex on December 09, 2020, 09:02:29 AM
Listed 0 times with 1 timeouts

That doesn't seem to be the problem