ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Voicemail to Microsoft 365 email

    IT Discussion
    freepbx freepbx 15 microsoft 365 exchange online
    4
    32
    2.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • WLS-ITGuyW
      WLS-ITGuy @dbeato
      last edited by

      @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-ITGuyW 1 Reply Last reply Reply Quote 0
      • WLS-ITGuyW
        WLS-ITGuy @WLS-ITGuy
        last edited by

        @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]

        1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch
          last edited by

          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.
          b1969b04-87a6-48ae-9d82-6d0c6bf08917-image.png

          If you choose external, you will have an option for O365
          e3b116dc-3c9e-4fc5-915e-40a32ec5874c-image.png

          WLS-ITGuyW DashrenderD 2 Replies Last reply Reply Quote 0
          • WLS-ITGuyW
            WLS-ITGuy @JaredBusch
            last edited by

            @JaredBusch
            Like this:

            alt text

            1 Reply Last reply Reply Quote 0
            • WLS-ITGuyW
              WLS-ITGuy
              last edited by

              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.

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @WLS-ITGuy
                last edited by

                @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.

                WLS-ITGuyW 1 Reply Last reply Reply Quote 1
                • WLS-ITGuyW
                  WLS-ITGuy @JaredBusch
                  last edited by

                  @JaredBusch

                  Hey look at that. I learned something new today.

                  1 Reply Last reply Reply Quote 0
                  • DashrenderD
                    Dashrender @JaredBusch
                    last edited by

                    @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.

                    WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                    • WLS-ITGuyW
                      WLS-ITGuy @Dashrender
                      last edited by

                      @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.

                      alt text

                      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)
                      
                      1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch
                        last edited by

                        So your postfix is hosed up somehow.

                        WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                        • WLS-ITGuyW
                          WLS-ITGuy @JaredBusch
                          last edited by

                          @JaredBusch said in Voicemail to Microsoft 365 email:

                          So your postfix is hosed up somehow.

                          You could say that 🙂

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            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
                            
                            WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch
                              last edited by JaredBusch

                              These are the files in the postfix directory.
                              1cc7f783-7b55-462d-821f-b50f9a075adc-image.png

                              a quick check of the files, they are all default.

                              WLS-ITGuyW 1 Reply Last reply Reply Quote 0
                              • WLS-ITGuyW
                                WLS-ITGuy @JaredBusch
                                last edited by

                                @JaredBusch said in Voicemail to Microsoft 365 email:

                                These are the files in the postfix directory.
                                1cc7f783-7b55-462d-821f-b50f9a075adc-image.png

                                a quick check of the files, they are all default.

                                I also have sasl_passwd and sasl_passwd.db

                                1 Reply Last reply Reply Quote 0
                                • WLS-ITGuyW
                                  WLS-ITGuy @JaredBusch
                                  last edited by

                                  @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
                                  
                                  WLS-ITGuyW JaredBuschJ 2 Replies Last reply Reply Quote 0
                                  • WLS-ITGuyW
                                    WLS-ITGuy @WLS-ITGuy
                                    last edited by

                                    @WLS-ITGuy

                                    I got my test message but there are still 12 emails in the queue.

                                    DashrenderD 1 Reply Last reply Reply Quote 0
                                    • DashrenderD
                                      Dashrender @WLS-ITGuy
                                      last edited by

                                      @WLS-ITGuy said in Voicemail to Microsoft 365 email:

                                      @WLS-ITGuy

                                      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?

                                      JaredBuschJ WLS-ITGuyW 2 Replies Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @Dashrender
                                        last edited by

                                        @Dashrender said in Voicemail to Microsoft 365 email:

                                        @WLS-ITGuy said in Voicemail to Microsoft 365 email:

                                        @WLS-ITGuy

                                        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.

                                        1 Reply Last reply Reply Quote 1
                                        • WLS-ITGuyW
                                          WLS-ITGuy @Dashrender
                                          last edited by

                                          @Dashrender said in Voicemail to Microsoft 365 email:

                                          @WLS-ITGuy said in Voicemail to Microsoft 365 email:

                                          @WLS-ITGuy

                                          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?

                                          Yes, the test message has [email protected].

                                          1 Reply Last reply Reply Quote 0
                                          • WLS-ITGuyW
                                            WLS-ITGuy
                                            last edited by

                                            We are down to 8 in the queue...guessing it is working now?

                                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post