g_bind_out doesn't set the outgoing destination it sets the outgoing interface. So I'm not sure that's what you want at all. You can certainly send all email to a specific address/port, you would do it like this: g_gateway domain="*" to="1.2.3.4:2525" Assuming that an smtp server is running on that destination host/port... ChrisP. On 21/11/2017 4:27 a.m., Brett W. McCoy wrote: Issue may have been because of some firewall issues that needed to be resolved (outbound mail was not working). Messages are correctly showing up in mailboxes now. Which brings me to another question, this server is running in Google (GCP) and they disallow outbound mail on port 25, so we have a proxy listening on 2525 to which we are directing all outbound SMTP. We can set the IP via g_bind_out, but is there a way to set the port also for outbound connections like this? On Wed, Nov 15, 2017 at 4:37 PM, surgemail-support <surgemail-support@netwinsite.com> wrote: Something is very broken then... I can't think of any config setting that would make that break like that though. The next thing to try is reading via pop, and make sure you are talking to the same system, so do it manually: telnet localhost 110 user 2009990307@tryit1.broadsoft.com pass xxxxx list quit And if that fails, examine pop.log to see if the file paths match and if any errors occurred. If you can't spot the issue then grab pop.log and imap.log and mail.log and surgemail.ini and send to me. reply to surgemail-support@Netwinsite.com ChrisP. On 16/11/2017 5:34 a.m., Brett W. McCoy wrote: Yeah, there are definitely messages on the filesystem: [root@mail1 new]# pwd /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new [root@mail1 new]# ls -ltr total 88 -rw-r--r--. 1 mail mail 15828 Nov 14 16:19 1510676370.3501_2.mail1 -rw-r--r--. 1 mail mail 10945 Nov 14 16:36 1510677391.3501_4.mail1 -rw-r--r--. 1 mail mail 27598 Nov 14 17:58 1510682287.3501_6.mail1 -rw-r--r--. 1 mail mail 32589 Nov 14 18:03 1510682597.3501_8.mail1 [root@mail1 new]# Don't see any deletions in the logs, just the entry that the message was deposited On Tue, Nov 14, 2017 at 4:19 PM, surgemail-support <surgemail-support@netwinsite.com> wrote: That's very odd... Check the user based delivery log. Search the msg*.rec log entries for 1510682597 and see if the message was deleted. Check the physcial path: ls -al /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/ to see if there are any files there. ChrisP., On 15/11/2017 7:45 a.m., Brett W. McCoy wrote: Hi, I have a new Surgemail server I've setup and now having an issue retrieving messages. The logs show that 4 messages have been deposited and the stats on the user also show 4 messages have been received, but the mailbox is showing 0 messages. 14 18:03:17.00 [17] Stored 10.242.147.4 <voicemessage@systemprovider.com> <2009990307@tryit1.broadsoft.com> 32157 <1510682597_9@mail1> "[10.242.147.4] Stored locally /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/1510682597.3501_8.mail1" But nothing is showing available in mailbox and attempts to retrieve messages for this user (via POP or IMAP) fail. 2009990307@tryit1.broadsoft.com back Mailbox contents This page shows you the current contents of your INBOX. Display sel Number Size From Subject Sent Received No messages in mailbox What can I do to troubleshoot more deeply? -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie. -- I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP. -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie. -- I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP. -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie. -- I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP.
g_bind_out doesn't set the outgoing destination it sets the outgoing interface. So I'm not sure that's what you want at all.
You can certainly send all email to a specific address/port, you would do it like this:
g_gateway domain="*" to="1.2.3.4:2525"
Assuming that an smtp server is running on that destination host/port...
ChrisP.
Issue may have been because of some firewall issues that needed to be resolved (outbound mail was not working). Messages are correctly showing up in mailboxes now. Which brings me to another question, this server is running in Google (GCP) and they disallow outbound mail on port 25, so we have a proxy listening on 2525 to which we are directing all outbound SMTP. We can set the IP via g_bind_out, but is there a way to set the port also for outbound connections like this? On Wed, Nov 15, 2017 at 4:37 PM, surgemail-support <surgemail-support@netwinsite.com> wrote: Something is very broken then... I can't think of any config setting that would make that break like that though. The next thing to try is reading via pop, and make sure you are talking to the same system, so do it manually: telnet localhost 110 user 2009990307@tryit1.broadsoft.com pass xxxxx list quit And if that fails, examine pop.log to see if the file paths match and if any errors occurred. If you can't spot the issue then grab pop.log and imap.log and mail.log and surgemail.ini and send to me. reply to surgemail-support@Netwinsite.com ChrisP. On 16/11/2017 5:34 a.m., Brett W. McCoy wrote: Yeah, there are definitely messages on the filesystem: [root@mail1 new]# pwd /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new [root@mail1 new]# ls -ltr total 88 -rw-r--r--. 1 mail mail 15828 Nov 14 16:19 1510676370.3501_2.mail1 -rw-r--r--. 1 mail mail 10945 Nov 14 16:36 1510677391.3501_4.mail1 -rw-r--r--. 1 mail mail 27598 Nov 14 17:58 1510682287.3501_6.mail1 -rw-r--r--. 1 mail mail 32589 Nov 14 18:03 1510682597.3501_8.mail1 [root@mail1 new]# Don't see any deletions in the logs, just the entry that the message was deposited On Tue, Nov 14, 2017 at 4:19 PM, surgemail-support <surgemail-support@netwinsite.com> wrote: That's very odd... Check the user based delivery log. Search the msg*.rec log entries for 1510682597 and see if the message was deleted. Check the physcial path: ls -al /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/ to see if there are any files there. ChrisP., On 15/11/2017 7:45 a.m., Brett W. McCoy wrote: Hi, I have a new Surgemail server I've setup and now having an issue retrieving messages. The logs show that 4 messages have been deposited and the stats on the user also show 4 messages have been received, but the mailbox is showing 0 messages. 14 18:03:17.00 [17] Stored 10.242.147.4 <voicemessage@systemprovider.com> <2009990307@tryit1.broadsoft.com> 32157 <1510682597_9@mail1> "[10.242.147.4] Stored locally /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/1510682597.3501_8.mail1" But nothing is showing available in mailbox and attempts to retrieve messages for this user (via POP or IMAP) fail. 2009990307@tryit1.broadsoft.com back Mailbox contents This page shows you the current contents of your INBOX. Display sel Number Size From Subject Sent Received No messages in mailbox What can I do to troubleshoot more deeply? -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie. -- I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP. -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie. -- I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP. -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie.
Something is very broken then... I can't think of any config setting that would make that break like that though. The next thing to try is reading via pop, and make sure you are talking to the same system, so do it manually: telnet localhost 110 user 2009990307@tryit1.broadsoft.com pass xxxxx list quit And if that fails, examine pop.log to see if the file paths match and if any errors occurred. If you can't spot the issue then grab pop.log and imap.log and mail.log and surgemail.ini and send to me. reply to surgemail-support@Netwinsite.com ChrisP. On 16/11/2017 5:34 a.m., Brett W. McCoy wrote: Yeah, there are definitely messages on the filesystem: [root@mail1 new]# pwd /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new [root@mail1 new]# ls -ltr total 88 -rw-r--r--. 1 mail mail 15828 Nov 14 16:19 1510676370.3501_2.mail1 -rw-r--r--. 1 mail mail 10945 Nov 14 16:36 1510677391.3501_4.mail1 -rw-r--r--. 1 mail mail 27598 Nov 14 17:58 1510682287.3501_6.mail1 -rw-r--r--. 1 mail mail 32589 Nov 14 18:03 1510682597.3501_8.mail1 [root@mail1 new]# Don't see any deletions in the logs, just the entry that the message was deposited On Tue, Nov 14, 2017 at 4:19 PM, surgemail-support <surgemail-support@netwinsite.com> wrote: That's very odd... Check the user based delivery log. Search the msg*.rec log entries for 1510682597 and see if the message was deleted. Check the physcial path: ls -al /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/ to see if there are any files there. ChrisP., On 15/11/2017 7:45 a.m., Brett W. McCoy wrote: Hi, I have a new Surgemail server I've setup and now having an issue retrieving messages. The logs show that 4 messages have been deposited and the stats on the user also show 4 messages have been received, but the mailbox is showing 0 messages. 14 18:03:17.00 [17] Stored 10.242.147.4 <voicemessage@systemprovider.com> <2009990307@tryit1.broadsoft.com> 32157 <1510682597_9@mail1> "[10.242.147.4] Stored locally /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/1510682597.3501_8.mail1" But nothing is showing available in mailbox and attempts to retrieve messages for this user (via POP or IMAP) fail. 2009990307@tryit1.broadsoft.com back Mailbox contents This page shows you the current contents of your INBOX. Display sel Number Size From Subject Sent Received No messages in mailbox What can I do to troubleshoot more deeply? -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie. -- I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP. -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie. -- I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP.
Something is very broken then... I can't think of any config setting that would make that break like that though.
The next thing to try is reading via pop, and make sure you are talking to the same system, so do it manually:
Yeah, there are definitely messages on the filesystem: [root@mail1 new]# pwd /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new [root@mail1 new]# ls -ltr total 88 -rw-r--r--. 1 mail mail 15828 Nov 14 16:19 1510676370.3501_2.mail1 -rw-r--r--. 1 mail mail 10945 Nov 14 16:36 1510677391.3501_4.mail1 -rw-r--r--. 1 mail mail 27598 Nov 14 17:58 1510682287.3501_6.mail1 -rw-r--r--. 1 mail mail 32589 Nov 14 18:03 1510682597.3501_8.mail1 [root@mail1 new]# Don't see any deletions in the logs, just the entry that the message was deposited On Tue, Nov 14, 2017 at 4:19 PM, surgemail-support <surgemail-support@netwinsite.com> wrote: That's very odd... Check the user based delivery log. Search the msg*.rec log entries for 1510682597 and see if the message was deleted. Check the physcial path: ls -al /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/ to see if there are any files there. ChrisP., On 15/11/2017 7:45 a.m., Brett W. McCoy wrote: Hi, I have a new Surgemail server I've setup and now having an issue retrieving messages. The logs show that 4 messages have been deposited and the stats on the user also show 4 messages have been received, but the mailbox is showing 0 messages. 14 18:03:17.00 [17] Stored 10.242.147.4 <voicemessage@systemprovider.com> <2009990307@tryit1.broadsoft.com> 32157 <1510682597_9@mail1> "[10.242.147.4] Stored locally /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/1510682597.3501_8.mail1" But nothing is showing available in mailbox and attempts to retrieve messages for this user (via POP or IMAP) fail. 2009990307@tryit1.broadsoft.com back Mailbox contents This page shows you the current contents of your INBOX. Display sel Number Size From Subject Sent Received No messages in mailbox What can I do to troubleshoot more deeply? -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie. -- I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP. -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie.
That's very odd... Check the user based delivery log. Search the msg*.rec log entries for 1510682597 and see if the message was deleted. Check the physcial path: ls -al /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/ to see if there are any files there. ChrisP., On 15/11/2017 7:45 a.m., Brett W. McCoy wrote: Hi, I have a new Surgemail server I've setup and now having an issue retrieving messages. The logs show that 4 messages have been deposited and the stats on the user also show 4 messages have been received, but the mailbox is showing 0 messages. 14 18:03:17.00 [17] Stored 10.242.147.4 <voicemessage@systemprovider.com> <2009990307@tryit1.broadsoft.com> 32157 <1510682597_9@mail1> "[10.242.147.4] Stored locally /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/1510682597.3501_8.mail1" But nothing is showing available in mailbox and attempts to retrieve messages for this user (via POP or IMAP) fail. 2009990307@tryit1.broadsoft.com back Mailbox contents This page shows you the current contents of your INBOX. Display sel Number Size From Subject Sent Received No messages in mailbox What can I do to troubleshoot more deeply? -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie. -- I'd really appreciate it if you could take a moment to like us on FaceBook, thanks heaps! ChrisP.
That's very odd...
Check the user based delivery log.
ls -al /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/ to see if there are any files there. ChrisP.,
Hi, I have a new Surgemail server I've setup and now having an issue retrieving messages. The logs show that 4 messages have been deposited and the stats on the user also show 4 messages have been received, but the mailbox is showing 0 messages. 14 18:03:17.00 [17] Stored 10.242.147.4 <voicemessage@systemprovider.com> <2009990307@tryit1.broadsoft.com> 32157 <1510682597_9@mail1> "[10.242.147.4] Stored locally /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/1510682597.3501_8.mail1" But nothing is showing available in mailbox and attempts to retrieve messages for this user (via POP or IMAP) fail. 2009990307@tryit1.broadsoft.com back Mailbox contents This page shows you the current contents of your INBOX. Display sel Number Size From Subject Sent Received No messages in mailbox What can I do to troubleshoot more deeply? -- Brett McCoy | Sr. Software Engineer, BroadCloud Voice/Video Engineering | +1-240-364-5353 | bmccoy@broadsoft.com This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient and have received this email in error, please notify BroadSoft, Inc. immediately by replying to this message, and destroy all copies of this message, along with any attachment, prior to reading, distributing or copying it. Ce message confidentiel et les éventuelles pièces jointes sont à l’usage exclusif de son ou de sa destinataire. Il est interdit, pour toute autre personne, de le distribuer, d’en dévoiler le contenu ou de le reproduire. Si vous avez reçu cette communication par erreur, veuillez en informer immédiatement l’expéditeur par courrier électronique et détruire l’original de ce message ainsi que toute copie.
14 18:03:17.00 [17] Stored 10.242.147.4 <voicemessage@systemprovider.com> <2009990307@tryit1.broadsoft.com> 32157 <1510682597_9@mail1> "[10.242.147.4] Stored locally /var/surgemail/tryit1.broadsoft.com/zb/bc/2009990307/mdir/new/1510682597.3501_8.mail1"
Last Message | Next Message