Having issues with mail server

Started by jdiggity81, April 06, 2019, 06:29:21 PM

Previous topic - Next topic

jdiggity81

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?

jdiggity81

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

Gokalex

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

Hardoman

SMTP ports are closed by default.
Just open it in the FW.

Gokalex

Ports are not the problem for me, i can send emails to some server but not others (like gmail always gets connection refused)

Hardoman


Gokalex

Listed 0 times with 1 timeouts

That doesn't seem to be the problem