Problems with Schmoozecom Admin Module Email

Having an issue with the Freepbx Schmoozecom Admin Module and sending mail.

I’ve installed postfix and it’s running, I’ve configured the email settings using the GUI provided but I am getting this error:

Jul 9 17:36:55 pbx postfix/master[2009]: fatal: bind 127.0.0.1 port 25: Address already in use

Not really sure where to go from here. Any help is appreciated.

Let’s figure out whats running on that port:

sudo netstat -tulpn
1 Like

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:5038 0.0.0.0:* LISTEN 47409/asterisk
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 986/rpcbind
tcp 0 0 0.0.0.0:2000 0.0.0.0:* LISTEN 47409/asterisk
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1188/sshd
tcp 0 0 0.0.0.0:45463 0.0.0.0:* LISTEN 14017/rpc.statd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1376/sendmail
tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1940/perl
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 1344/mysqld
tcp 0 0 :::111 :::* LISTEN 986/rpcbind
tcp 0 0 :::80 :::* LISTEN 510/httpd
tcp 0 0 :::22 :::* LISTEN 1188/sshd
tcp 0 0 :::9080 :::* LISTEN 510/httpd
tcp 0 0 :::57243 :::* LISTEN 14017/rpc.statd
tcp 0 0 :::443 :::* LISTEN 510/httpd
udp 0 0 0.0.0.0:111 0.0.0.0:* 986/rpcbind
udp 0 0 0.0.0.0:625 0.0.0.0:* 14017/rpc.statd
udp 0 0 0.0.0.0:631 0.0.0.0:* 909/portreserve
udp 0 0 10.0.0.20:123 0.0.0.0:* 1204/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 1204/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 1204/ntpd
udp 0 0 0.0.0.0:647 0.0.0.0:* 909/portreserve
udp 0 0 0.0.0.0:5000 0.0.0.0:* 47409/asterisk
udp 0 0 0.0.0.0:2727 0.0.0.0:* 47409/asterisk
udp 0 0 0.0.0.0:4520 0.0.0.0:* 47409/asterisk
udp 0 0 0.0.0.0:9001 0.0.0.0:* 1940/perl
udp 0 0 0.0.0.0:55476 0.0.0.0:* 14017/rpc.statd
udp 0 0 0.0.0.0:5060 0.0.0.0:* 47409/asterisk
udp 0 0 0.0.0.0:69 0.0.0.0:* 1196/xinetd
udp 0 0 0.0.0.0:847 0.0.0.0:* 909/portreserve
udp 0 0 0.0.0.0:4569 0.0.0.0:* 47409/asterisk
udp 0 0 0.0.0.0:737 0.0.0.0:* 986/rpcbind
udp 0 0 :::111 :::* 986/rpcbind
udp 0 0 :::36088 :::* 14017/rpc.statd
udp 0 0 fe80::215:5dff:fe00:a01:123 :::* 1204/ntpd
udp 0 0 ::1:123 :::* 1204/ntpd
udp 0 0 :::123 :::* 1204/ntpd
udp 0 0 :::737 :::* 986/rpcbind

Looks like it’s sendmail. Do I just need to remove it?

You need to stop the sendmail server

1 Like

Done. It’s working now, but getting an error in the log. Network unreachable. Should I even worry about the error if it works?

Jul 9 20:14:08 pbx postfix/smtp[7335]: connect to smtp.gmail.com[2607:f8b0:4001:c03::6d]:587: Network is unreachable
Jul 9 20:14:09 pbx postfix/smtp[7335]: 5A7DA140E9B: to=[email protected], relay=smtp.gmail.com[74.125.142.108]:587, delay=1.3, delays=0.05/0.02/0.57/0.69, dsn=2.0.0, status=sent (250 2.0.0 OK 1404958449 ro10sm791472igb.18 - gsmtp)
Jul 9 20:14:09 pbx postfix/qmgr[6290]: 5A7DA140E9B: removed

You are getting that every time?

Yes. When doing the debug test in the admin module. But it’s working every time I test it, leave a voice-mail, etc.

He has IPV6 enabled

How was this system installed? The distro doesn’t install sendmail and do you have an IPV6 network?

yum install sendmail

It didn’t come with the distro. I thought it needed to be installed for Admin Module email to work.

No, IPV6 isn’t configured.

THat’s an IPV6 address in the log, we use postfix not sendmail.

Looks like you got it working and I would not sweat that error

1 Like

Ok, and my bad, I didn’t install sendmail (it was actually on there). This is a PIAF - Green distro (if that makes a difference).

I ran yum install postfix

What I posted earlier was wrong.

At any rate, since it’s working and that isn’t an important error, I won’t sweat it.

Thanks!

Please note commercial modules are not officially support on anything but the FreePBX Distro and most the features of Sysadmin Pro will not work on anything but our Distro

1 Like