Internal and External Email Communication Issue
Moderator: crythias
Internal and External Email Communication Issue
Dear All,
We are using OTRS 6.0.3 on SUSE Linux 12.3. Configured otrs email configuration as attached screenshot below.
As per the attached configuration otrs is sending email externally but internal emails are not getting.
If I change sendmailModule settings to SMTP it stop bot internal and external email communication
Can you please help how to configure sendmail setting for both internal and external email communication.
Thanks&Regards,
We are using OTRS 6.0.3 on SUSE Linux 12.3. Configured otrs email configuration as attached screenshot below.
As per the attached configuration otrs is sending email externally but internal emails are not getting.
If I change sendmailModule settings to SMTP it stop bot internal and external email communication
Can you please help how to configure sendmail setting for both internal and external email communication.
Thanks&Regards,
You do not have the required permissions to view the files attached to this post.
-
- 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: Internal and External Email Communication Issue
You should check the communication log for any messages...
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Internal and External Email Communication Issue
Dear Reneeb,
Please find the attached screenshot from communication log.
Please find the attached screenshot from communication log.
You do not have the required permissions to view the files attached to this post.
-
- 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: Internal and External Email Communication Issue
You need to install the Perl modules MIME::Base64 and Authen::SASL
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Internal and External Email Communication Issue
one more screenshot attached
You do not have the required permissions to view the files attached to this post.
-
- 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: Internal and External Email Communication Issue
This is needed for the SMTP authentication. Without that you won't be able to connect the SMTP server. Without that connection you can't send emails.reneeb wrote:You need to install the Perl modules MIME::Base64 and Authen::SASL
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Internal and External Email Communication Issue
Dear Reneeb,
Getting attached message while installing Perl Modules MIME
Getting attached message while installing Perl Modules MIME
You do not have the required permissions to view the files attached to this post.
-
- 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: Internal and External Email Communication Issue
Then install Authen::SASL and test SMTP connection again. It might be that the error message is static (always mentions both modules even when one of them is installed).
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Internal and External Email Communication Issue
Dear Reneeb,
Authen::SASL is already installed. Please find the attached screenshot.
Authen::SASL is already installed. Please find the attached screenshot.
You do not have the required permissions to view the files attached to this post.
Re: Internal and External Email Communication Issue
Dear Reneeb,
Can you please update? What should I do next?
Can you please update? What should I do next?
Re: Internal and External Email Communication Issue
Are you sure your SendmailModule setting should be Kernel::System::Email::Sendmail and not Kernel::System::Email::SMTPS or Kernel::System::Email::SMTPTLS?
Because if you look into the description of the SendmailModule::Host it states:
Try changing to either SMTPS or SMTPTLS.
EDIT: Make sure to also change the Port option to 465 or 587 when changing to SMTPS or SMTPTLS
Because if you look into the description of the SendmailModule::Host it states:
So, since your system is set to use Kernel::System::Email::Sendmail it's probably just using the system's own sendmail binary and not actually communicating with the external smtp server.If any of the "SMTP" mechanisms was selected as SendmailModule, the mailhost that sends out the mails must be specified.
Try changing to either SMTPS or SMTPTLS.
EDIT: Make sure to also change the Port option to 465 or 587 when changing to SMTPS or SMTPTLS
Re: Internal and External Email Communication Issue
Dear Lido,
Thanks for your reply.
Sorry for the late reply I was out of station.
Please find the attached screenshot. I tried two types of configurations.
Type 1. SendmailModule is configured as "Sendmail" In type one configuration I can send email externally but not interally.
Type 2. SendmailModule is configured as "SMTP" In type two configuration I can send email internally but not externally.
I tried SMTPS and SMTPTLS with 465 and 587 port, but nothing is working.
Please find attached configuration and let me know what else we can do?
Regards,
Parvez
Thanks for your reply.
Sorry for the late reply I was out of station.
Please find the attached screenshot. I tried two types of configurations.
Type 1. SendmailModule is configured as "Sendmail" In type one configuration I can send email externally but not interally.
Type 2. SendmailModule is configured as "SMTP" In type two configuration I can send email internally but not externally.
I tried SMTPS and SMTPTLS with 465 and 587 port, but nothing is working.
Please find attached configuration and let me know what else we can do?
Regards,
Parvez
You do not have the required permissions to view the files attached to this post.
Re: Internal and External Email Communication Issue
When setting it to SMTPS or SMTPTLS you should also set your AuthPassword and AuthUser parameters. From the screenshot it appears as you left them empty.
Also, please check the postmaster logs when trying with any of the SMTP modules so we can get a better idea on what's going on.
Also, please check the postmaster logs when trying with any of the SMTP modules so we can get a better idea on what's going on.
Re: Internal and External Email Communication Issue
Dear Lido,
Tried attached settings both are not working. Both Internal and external communications are blocked.
Please find the attached communication log and suggest what to do next
Thanks&Regards,
parvez
Tried attached settings both are not working. Both Internal and external communications are blocked.
Please find the attached communication log and suggest what to do next
Thanks&Regards,
parvez
You do not have the required permissions to view the files attached to this post.
Re: Internal and External Email Communication Issue
Please find one more attached
You do not have the required permissions to view the files attached to this post.
Re: Internal and External Email Communication Issue
Hi,
There are a couple messages there in the logs:
"Can't connect to mail.alrayanholding.com" and also "Can't connect to arhc-mail02.alrayanholding.com"
Can you confirm that you can access those machines from the server where otrs is located? Because it appears as otrs can't even find and connect to them.
For example, can you ping the mail server from the otrs server?
Can you configure that e-mail address on some other client (like outlook, thunderbird, mac mail, etc) just to confirm that the email and settings are working correctly in those?
Also try to find out your correct smtp settings (like port, authentication type, ssl/tls, etc). You should be able to get these details from whoever runs the mail server or from the help docs of the company that supplies them, etc.
There are a couple messages there in the logs:
"Can't connect to mail.alrayanholding.com" and also "Can't connect to arhc-mail02.alrayanholding.com"
Can you confirm that you can access those machines from the server where otrs is located? Because it appears as otrs can't even find and connect to them.
For example, can you ping the mail server from the otrs server?
Can you configure that e-mail address on some other client (like outlook, thunderbird, mac mail, etc) just to confirm that the email and settings are working correctly in those?
Also try to find out your correct smtp settings (like port, authentication type, ssl/tls, etc). You should be able to get these details from whoever runs the mail server or from the help docs of the company that supplies them, etc.
Re: Internal and External Email Communication Issue
Dear lido,
I can ping both the addresses from (OTRS) Linux machine.
(arhc-mail02.alrayanholding.com) is local name of mail server.
(mail.alrayanholding.com) is mapped with public IP for accessing emails over internet.
As I said both the address I can ping from OTRS machine.
As I write in my previous post, If I configure sendmodulehost as SMTP with (arhc-mail02.alrayanholding.com) otrs can send and receive email internally with in my office.
If I configure sendmodulehost as sendmail with username and password with public address (mail.alrayanholding.com) otrs is not sending emails internally (alrayanholding.com) but otrs is sending email externally, (Eg: gmail, yahoo, etc..)
Note : In my firewall all the ports are open 25, 587, 465
I hope you can understand better now.
I can ping both the addresses from (OTRS) Linux machine.
(arhc-mail02.alrayanholding.com) is local name of mail server.
(mail.alrayanholding.com) is mapped with public IP for accessing emails over internet.
As I said both the address I can ping from OTRS machine.
As I write in my previous post, If I configure sendmodulehost as SMTP with (arhc-mail02.alrayanholding.com) otrs can send and receive email internally with in my office.
If I configure sendmodulehost as sendmail with username and password with public address (mail.alrayanholding.com) otrs is not sending emails internally (alrayanholding.com) but otrs is sending email externally, (Eg: gmail, yahoo, etc..)
Note : In my firewall all the ports are open 25, 587, 465
I hope you can understand better now.
Re: Internal and External Email Communication Issue
Hi there,
Well, then it appears as your main issue is maybe the email server that is not correctly configured and not really anything from otrs' side.
Can you setup that email account on some other email client and inside the same network as otrs?
For example, setup the account on outlook, thunderbird, mac mail, etc. and then confirm that from those clients you can send and receive emails internally and externally.
Well, then it appears as your main issue is maybe the email server that is not correctly configured and not really anything from otrs' side.
Can you setup that email account on some other email client and inside the same network as otrs?
For example, setup the account on outlook, thunderbird, mac mail, etc. and then confirm that from those clients you can send and receive emails internally and externally.