SMTP Problems (Outbound)

Moderator: crythias

Post Reply
knxvll
Znuny newbie
Posts: 12
Joined: 09 Jul 2018, 16:51
Znuny Version: 6.0.8.

SMTP Problems (Outbound)

Post by knxvll »

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: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: SMTP Problems (Outbound)

Post by crythias »

update SendmailNotificationEnvelopeFrom with some sort of email address.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
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
Znuny newbie
Posts: 12
Joined: 09 Jul 2018, 16:51
Znuny Version: 6.0.8.

Re: SMTP Problems (Outbound)

Post by knxvll »

I did it, but it still doesn't work.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: SMTP Problems (Outbound)

Post by crythias »

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 6.0.x (private/testing/public) on Linux with MySQL database.
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
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: SMTP Problems (Outbound)

Post by reneeb »

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