Hi all:
I'm new to OTRS. The problem is that If I enable notifications when receiving email from mailbox , there always be a error like that:
1 Kernel::System::Email Building message for delivery. 2019.05.07 09:29:19 (Asia/Shanghai)
2 Kernel::System::Email Queuing message for delivery. 2019.05.07 09:29:19 (Asia/Shanghai)
3 Kernel::System::MailQueue Invalid email address Sender - otrs@master.localdomain: invalid otrs@master.localdomain (master.localdomain has no mail exchanger (MX) or A resource record defined.)! 2019.05.07 09:29:19 (Asia/Shanghai)
4 Kernel::System::Email Errors occurred during message sending: Error while queueing email to 'root@localhost' from 'otrs@master.localdomain'. Subject => 'OTRS Scheduler Daemon Cron: MailQueueSend'; 2019.05.07 09:29:19 (Asia/Shanghai)
I remember I didn't config any whose name like 'Sendmail'. So, who can help me ? Thanks a lot.
how to config the 'Sendmail' account
Moderator: crythias
Re: how to config the 'Sendmail' account
You can check the otrs admin book, there you have several options of how to config the email.
Kind regards.
Kind regards.
-
- Znuny newbie
- Posts: 5
- Joined: 14 Oct 2011, 09:02
- Znuny Version: 3.0.9
- Real Name: Erik Thijs
- Company: Katholieke Hogeschool Kempen
Re: how to config the 'Sendmail' account
Possible Way of Work for Centos 7:
# yum --enablerepo=extras install epel-release
# yum install ssmtp
# vi /etc/ssmtp/ssmtp.conf
# vi /etc/ssmtp/revaliases
# ln -sf /usr/sbin/sendmail.ssmtp /etc/alternatives/mta
# yum --enablerepo=extras install epel-release
# yum install ssmtp
# vi /etc/ssmtp/ssmtp.conf
Code: Select all
…
root=<INSERT SENDER ADDRES you want to use - e.g. otrs_norepy@mydomain.com>
…
Mailhub=<INSERT MAIL RELAY SERVER IP OR HOSTNAME - e.g. relay.mydomain.com>
…
RewriteDomain=<INSERT YOUR DOMAINNAME - e.g. mydomain.com>
…
Hostname=<INSERT YOUR FQDN - e.g. otrs.mydomain.com>
…
FromLineOverride=YES
…
# vi /etc/ssmtp/revaliases
Code: Select all
…
root:<>INSERT SENDER ADDRESS you want to use - e.g. otrs_noreply@mydomain.com>:<INSERT MAIL RELAY - e.g. relay.mydomain.com>
Re: how to config the 'Sendmail' account
Hi,
setting up a mailserver should be done by experienced person. From the ubuntu help website:
https://help.ubuntu.com/lts/serverguide/postfix.html.en
just my 2 cents.
regards
Florian
setting up a mailserver should be done by experienced person. From the ubuntu help website:
https://help.ubuntu.com/lts/serverguide/postfix.html.en
sending + receiving (correct) mails into and from the internet is not "yum install ssmtp" only."Administering a Postfix server can be a very complicated task."
just my 2 cents.
regards
Florian
OTRS 8 SILVER (Prod)
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
OTRS 8 auf Debian 11 (Test)
Znuny 7.x latest version testing auf Debian 11
-- Ich beantworte keine Forums-Fragen PN - No PN please
I won't answer to unfriendly users any more. A greeting and regards are just polite.
-
- Znuny newbie
- Posts: 5
- Joined: 14 Oct 2011, 09:02
- Znuny Version: 3.0.9
- Real Name: Erik Thijs
- Company: Katholieke Hogeschool Kempen
Re: how to config the 'Sendmail' account
Correct, therefore my assumption is that a mail relay is in place and fully configured (IP source filtering, dmarc, spf, authentication, spam filtering, ...). Configuring ssmpt is fairly straightforward by using a fully functional mail relay (relay.mydomain.com in my example).wurzel wrote: ↑10 May 2019, 12:25 setting up a mailserver should be done by experienced person. From the ubuntu help website:
https://help.ubuntu.com/lts/serverguide/postfix.html.en
"Administering a Postfix server can be a very complicated task."
sending + receiving (correct) mails into and from the internet is not "yum install ssmtp" only.
concerning the mail relay server: you should certainly have this setup and configured by someone who knows what he/she's doing. If your ISP provides one, you could use that server.
2 cents added
Cheers,
Erik