DoubleDriveLine
Active Member
- Joined
- Sep 23, 2017
- Messages
- 139
- Reaction score
- 42
I made I believe all the correct settings in the sendmail.mc file to send emails out Incredible PBX on Raspberry pi.
My test mail fails. Looking at the mail.log file it does not understand the email domain. The domain although fake here is fine. The raspberry Pi resolves the domain name just fine when I ping it.
Do you have a tutorial for setting up the PBX to use an external SMTP server?
Where is the noreply.incrediblepbx.com set and will I blow something up if I change it. It looks like it is set in the "/etc/hosts" file.
My test mail fails. Looking at the mail.log file it does not understand the email domain. The domain although fake here is fine. The raspberry Pi resolves the domain name just fine when I ping it.
Do you have a tutorial for setting up the PBX to use an external SMTP server?
Where is the noreply.incrediblepbx.com set and will I blow something up if I change it. It looks like it is set in the "/etc/hosts" file.
127.0.1.1 noreply.incrediblepbx.com raspberrypi
root@raspberrypi:/etc/mail $ tail -f /var/log/mail.log
Oct 19 16:04:28 noreply sm-mta[28608]: gethostbyaddr(xxx.xxx.xxx.xxx) failed: 1
Oct 19 16:04:28 noreply sm-mta[30099]: starting daemon (8.14.4): SMTP+queueing@00:10:00
Oct 19 16:04:59 noreply sendmail[30119]: v9JK4xCN030119: [email protected], size=114, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Oct 19 16:04:59 noreply sm-mta[30120]: v9JK4x4c030120: <double@someEmail.domain>... Unrecognized host name someEmail.domain.
Oct 19 16:04:59 noreply sendmail[30119]: v9JK4xCN030119: to=<double@someEmail.domain>, [email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30114, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.2, stat=User unknown
Oct 19 16:04:59 noreply sm-mta[30120]: v9JK4x4c030120: from=<[email protected]>, size=114, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-v4, relay=pbx.local [127.0.0.1]
Oct 19 16:04:59 noreply sendmail[30119]: v9JK4xCN030119: v9JK4xCO030119: DSN: User unknown
Oct 19 16:04:59 noreply sm-mta[30120]: v9JK4x4e030120: from=<>, size=2291, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA-v4, relay=pbx.local [127.0.0.1]
Oct 19 16:04:59 noreply sendmail[30119]: v9JK4xCO030119: [email protected], delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31138, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (v9JK4x4e030120 Message accepted for delivery)
Oct 19 16:04:59 noreply sm-mta[30121]: v9JK4x4e030120: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32525, dsn=2.0.0, stat=Sent