SMTP Problems (Outbound)

Moderator: crythias

Post Reply
knxvll
OTRS newbie
Posts: 8
Joined: 09 Jul 2018, 16:51
OTRS Version?: 6.0.8.

SMTP Problems (Outbound)

Post by knxvll » 28 Jan 2019, 15:53

Hello OTRS community,
I hope someone here can help me.

The situation:
I'm using OTRS6 on a CentOS7 machine and Port 587(TCP) is open.
I'm getting mails via IMAPS from Office365 and everything works fine.
Sending mails inside the company works too.

Now, I'm trying to send mails to external mail adresses like gmail.com or yahoo.com but no mails arrive.

I also tried another email service (web.de) but this way fails aswell.

My configuration.
otrs.PNG
Are there any manuals or do you have suggestions?
So I could figure out whats going wrong?

Thanks alot and best regards

knxvll
You do not have the required permissions to view the files attached to this post.

crythias
Moderator
Posts: 10104
Joined: 04 May 2010, 18:38
OTRS Version?: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: SMTP Problems (Outbound)

Post by crythias » 28 Jan 2019, 20:11

update SendmailNotificationEnvelopeFrom with some sort of email address.
OTRS 5.0.x (private/testing/public) on Linux with MySQL database. Also on github.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask

knxvll
OTRS newbie
Posts: 8
Joined: 09 Jul 2018, 16:51
OTRS Version?: 6.0.8.

Re: SMTP Problems (Outbound)

Post by knxvll » 29 Jan 2019, 10:15

I did it, but it still doesn't work.

crythias
Moderator
Posts: 10104
Joined: 04 May 2010, 18:38
OTRS Version?: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: SMTP Problems (Outbound)

Post by crythias » 29 Jan 2019, 10:22

On the OTRS box, check mailq
check /var/log/mail.log or /var/log/maillog

telnet youremailserver 587
make sure it connects

verify firewall and ISP allows outbound port 587 from your OTRS box.

Check your smarthost logs for traffic.

Check your sendmail or postfix for ability to send from the command line.

Check your OS firewall for blocking outbound port 587
OTRS 5.0.x (private/testing/public) on Linux with MySQL database. Also on github.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask

reneeb
OTRS guru
Posts: 4795
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: SMTP Problems (Outbound)

Post by reneeb » 29 Jan 2019, 14:30

And check the communication log. Maybe there's some insight...
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

Post Reply