Voicemail to Microsoft 365 email
-
@WLS-ITGuy Yeah, that would work. I would try to check what has changed on your PBX.
-
@dbeato Also is see this "[email protected]" shouldn't it be "[email protected]"?
-
@dbeato said in Voicemail to Microsoft 365 email:
@dbeato Also is see this "[email protected]" shouldn't it be "[email protected]"?
Oh man, where do I change that
-
@WLS-ITGuy said in Voicemail to Microsoft 365 email:
@dbeato said in Voicemail to Microsoft 365 email:
@dbeato Also is see this "[email protected]" shouldn't it be "[email protected]"?
Oh man, where do I change that
In System Admin, under hostname I see [email protected]
-
This all depends on how you are sending email.
I send to O365 unauthenticated.
I created a connector in O365 and manually tweaked postfix settings on the PBX.
Do you have SysAdmin Pro? If so, you will have this.
If you choose external, you will have an option for O365
-
@JaredBusch
Like this: -
Something else weird is that usually when I make a change and hit submit - I get the red apply button in the upper right corner but the last couple changes I haven't been getting that. Guess It is time for a server reboot.
-
@WLS-ITGuy said in Voicemail to Microsoft 365 email:
Something else weird is that usually when I make a change and hit submit - I get the red apply button in the upper right corner but the last couple changes I haven't been getting that. Guess It is time for a server reboot.
You get that for changes that affect the Asterisk dial plan, which is most things.
But email settings have nothing to do with the dial plan.
-
Hey look at that. I learned something new today.
-
@WLS-ITGuy
have you done this yet?@JaredBusch said in Voicemail to Microsoft 365 email:
I created a connector in O365 and manually tweaked postfix settings on the PBX.
-
@Dashrender said in Voicemail to Microsoft 365 email:
@WLS-ITGuy
have you done this yet?@JaredBusch said in Voicemail to Microsoft 365 email:
I created a connector in O365 and manually tweaked postfix settings on the PBX.
Yes.
After making some changes I restarted the postfix service and got this log entry:
Oct 8 10:31:50 pbxhost postfix/postfix-script[17811]: stopping the Postfix mail system Oct 8 10:31:50 pbxhost postfix/master[13829]: terminating on signal 15 Oct 8 10:31:50 pbxhost postfix/postfix-script[17894]: starting the Postfix mail system Oct 8 10:31:50 pbxhost postfix/master[17896]: daemon started -- version 2.10.1, configuration /etc/postfix Oct 8 10:31:50 pbxhost postfix/qmgr[17898]: B4E1C302A935E: from=<[email protected]>, size=638465, nrcpt=1 (queue active) Oct 8 10:31:50 pbxhost postfix/smtp[17900]: error: open database /etc/postfix/generic.db: No such file or directory Oct 8 10:31:51 pbxhost postfix/smtp[17900]: warning: hash:/etc/postfix/generic is unavailable. open database /etc/postfix/generic.db: No such file or directory Oct 8 10:31:51 pbxhost postfix/smtp[17900]: warning: hash:/etc/postfix/generic lookup error for "[email protected]" Oct 8 10:31:51 pbxhost postfix/smtp[17900]: fatal: smtp_generic_maps map lookup problem for [email protected] Oct 8 10:31:52 pbxhost postfix/qmgr[17898]: warning: private/smtp socket: malformed response Oct 8 10:31:52 pbxhost postfix/qmgr[17898]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description Oct 8 10:31:52 pbxhost postfix/master[17896]: warning: process /usr/libexec/postfix/smtp pid 17900 exit status 1 Oct 8 10:31:52 pbxhost postfix/master[17896]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling Oct 8 10:31:52 pbxhost postfix/error[17903]: B4E1C302A935E: to=<[email protected]>, relay=none, delay=2050, delays=2048/1.3/0/0.04, dsn=4.3.0, status=deferred (unknown mail transport error) Oct 8 10:33:25 pbxhost postfix/pickup[17897]: 5716E30125224: uid=995 from=<asterisk> Oct 8 10:33:25 pbxhost postfix/cleanup[18455]: 5716E30125224: message-id=<[email protected]> Oct 8 10:33:25 pbxhost postfix/qmgr[17898]: 5716E30125224: from=<[email protected]>, size=531, nrcpt=1 (queue active) Oct 8 10:33:25 pbxhost postfix/smtp[18461]: error: open database /etc/postfix/generic.db: No such file or directory Oct 8 10:33:25 pbxhost postfix/smtp[18461]: warning: hash:/etc/postfix/generic is unavailable. open database /etc/postfix/generic.db: No such file or directory Oct 8 10:33:25 pbxhost postfix/smtp[18461]: warning: hash:/etc/postfix/generic lookup error for "[email protected]" Oct 8 10:33:25 pbxhost postfix/smtp[18461]: fatal: smtp_generic_maps map lookup problem for [email protected] Oct 8 10:33:26 pbxhost postfix/qmgr[17898]: warning: private/smtp socket: malformed response Oct 8 10:33:26 pbxhost postfix/qmgr[17898]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description Oct 8 10:33:26 pbxhost postfix/master[17896]: warning: process /usr/libexec/postfix/smtp pid 18461 exit status 1 Oct 8 10:33:26 pbxhost postfix/master[17896]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling Oct 8 10:33:26 pbxhost postfix/error[17903]: 5716E30125224: to=<[email protected]>, relay=none, delay=1.3, delays=0.08/1.1/0/0.06, dsn=4.3.0, status=deferred (unknown mail transport error)
-
So your postfix is hosed up somehow.
-
@JaredBusch said in Voicemail to Microsoft 365 email:
So your postfix is hosed up somehow.
You could say that
-
I believe mysystem is defualt right now.
These are the only values not commented out in my
/etc/postfix/main.cf
file.queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix mail_owner = postfix inet_interfaces = localhost inet_protocols = all mydestination = $myhostname, localhost.$mydomain, localhost unknown_local_recipient_reject_code = 550 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path = /usr/bin/mailq.postfix setgid_group = postdrop html_directory = no manpage_directory = /usr/share/man sample_directory = /usr/share/doc/postfix-2.10.1/samples readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
-
These are the files in the postfix directory.
a quick check of the files, they are all default.
-
@JaredBusch said in Voicemail to Microsoft 365 email:
These are the files in the postfix directory.
a quick check of the files, they are all default.
I also have sasl_passwd and sasl_passwd.db
-
@JaredBusch said in Voicemail to Microsoft 365 email:
I believe mysystem is defualt right now.
These are the only values not commented out in my
/etc/postfix/main.cf
file.queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix mail_owner = postfix inet_interfaces = localhost inet_protocols = all mydestination = $myhostname, localhost.$mydomain, localhost unknown_local_recipient_reject_code = 550 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail.postfix newaliases_path = /usr/bin/newaliases.postfix mailq_path = /usr/bin/mailq.postfix setgid_group = postdrop html_directory = no manpage_directory = /usr/share/man sample_directory = /usr/share/doc/postfix-2.10.1/samples readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
OK. There was some extra stuff at the end of the main.cf file that I deleted. New log entry:
Oct 8 11:06:50 pbxhost postfix/qmgr[17898]: A94203002F7DE: from=<[email protected]>, size=35487, nrcpt=1 (queue active) Oct 8 11:06:50 pbxhost postfix/qmgr[17898]: B4E1C302A935E: from=<[email protected]>, size=638465, nrcpt=1 (queue active) Oct 8 11:06:50 pbxhost postfix/smtp[27105]: error: open database /etc/postfix/generic.db: No such file or directory Oct 8 11:06:50 pbxhost postfix/smtp[27106]: error: open database /etc/postfix/generic.db: No such file or directory Oct 8 11:06:50 pbxhost postfix/smtp[27106]: warning: hash:/etc/postfix/generic is unavailable. open database /etc/postfix/generic.db: No such file or directory Oct 8 11:06:50 pbxhost postfix/smtp[27106]: warning: hash:/etc/postfix/generic lookup error for "[email protected]" Oct 8 11:06:50 pbxhost postfix/smtp[27106]: fatal: smtp_generic_maps map lookup problem for [email protected] Oct 8 11:06:50 pbxhost postfix/smtp[27105]: warning: hash:/etc/postfix/generic is unavailable. open database /etc/postfix/generic.db: No such file or directory Oct 8 11:06:50 pbxhost postfix/smtp[27105]: warning: hash:/etc/postfix/generic lookup error for "[email protected]" Oct 8 11:06:50 pbxhost postfix/smtp[27105]: fatal: smtp_generic_maps map lookup problem for [email protected] Oct 8 11:06:51 pbxhost postfix/qmgr[17898]: warning: private/smtp socket: malformed response Oct 8 11:06:51 pbxhost postfix/qmgr[17898]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description Oct 8 11:06:51 pbxhost postfix/master[17896]: warning: process /usr/libexec/postfix/smtp pid 27106 exit status 1 Oct 8 11:06:51 pbxhost postfix/master[17896]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling Oct 8 11:06:51 pbxhost postfix/qmgr[17898]: warning: private/smtp socket: malformed response Oct 8 11:06:51 pbxhost postfix/qmgr[17898]: warning: transport smtp failure -- see a previous warning/fatal/panic logfile record for the problem description Oct 8 11:06:51 pbxhost postfix/master[17896]: warning: process /usr/libexec/postfix/smtp pid 27105 exit status 1 Oct 8 11:06:51 pbxhost postfix/error[27109]: B4E1C302A935E: to=<[email protected]>, relay=none, delay=4149, delays=4148/1.2/0/0.06, dsn=4.3.0, status=deferred (unknown mail transport error) Oct 8 11:06:51 pbxhost postfix/error[27111]: A94203002F7DE: to=<[email protected]>, relay=none, delay=63383, delays=63382/1.2/0/0.06, dsn=4.3.0, status=deferred (unknown mail transport error) Oct 8 11:07:10 pbxhost postfix/postfix-script[27199]: stopping the Postfix mail system Oct 8 11:07:10 pbxhost postfix/master[17896]: terminating on signal 15 Oct 8 11:07:10 pbxhost postfix/postfix-script[27279]: starting the Postfix mail system Oct 8 11:07:10 pbxhost postfix/master[27281]: daemon started -- version 2.10.1, configuration /etc/postfix
-
I got my test message but there are still 12 emails in the queue.
-
@WLS-ITGuy said in Voicemail to Microsoft 365 email:
I got my test message but there are still 12 emails in the queue.
Do those messages have @pbxhost.domain.com instead of @domain.com?
-
@Dashrender said in Voicemail to Microsoft 365 email:
@WLS-ITGuy said in Voicemail to Microsoft 365 email:
I got my test message but there are still 12 emails in the queue.
Do those messages have @pbxhost.domain.com instead of @domain.com?
They should process when their delay timer hits.