Troubleshooting SMTP in SynetoOS 4

Written By Christian Castagna (Administrator)

Updated at December 4th, 2024

→ Applies to: SynetoOS 4.x

 

Step 1. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 2 (optional). Change into Solaris shell (in case you're directed to an unsupported shell)

un sh

 

Step 3. Get root privileges

sudo su -

 

Step 4. Access logs

/var/log/messages

EXAMPLE OUTPUT

Dec 11 13:00:22 syneto-tuc-main dma[5d211]: new mail from user=root uid=26 envelope_from=<servizi.capararo@noratech.it>
Dec 11 13:00:22 syneto-tuc-main dma[5d211]: mail to=<synetotestalert@gmail.com> queued as 5d211.760a50
Dec 11 13:00:22 syneto-tuc-main dma[5d211]: mail to=<supporto@noratech.it> queued as 5d211.7609f0
Dec 11 13:00:22 syneto-tuc-main dma[5d211.7609f0]: <supporto@noratech.it> trying delivery
Dec 11 13:00:22 syneto-tuc-main dma[5d211.760a50]: <synetotestalert@gmail.com> trying delivery
Dec 11 13:00:57 syneto-tuc-main dma[5d211.760a50]: trying remote delivery to gmail-smtp-in.l.google.com [2a00:1450:4013:c04::1b] pref 5
Dec 11 13:00:57 syneto-tuc-main dma[5d211.760a50]: connect to gmail-smtp-in.l.google.com [2a00:1450:4013:c04::1b] failed: Network is unreachable
Dec 11 13:00:57 syneto-tuc-main dma[5d211.760a50]: trying remote delivery to gmail-smtp-in.l.google.com [173.194.69.26] pref 5
Dec 11 13:00:57 syneto-tuc-main dma[5d211.7609f0]: trying remote delivery to aspmx.l.google.com [2a00:1450:4013:c08::1b] pref 1
Dec 11 13:00:57 syneto-tuc-main dma[5d211.7609f0]: connect to aspmx.l.google.com [2a00:1450:4013:c08::1b] failed: Network is unreachable
Dec 11 13:00:57 syneto-tuc-main dma[5d211.7609f0]: trying remote delivery to aspmx.l.google.com [173.194.69.27] pref 1
Dec 11 13:00:57 syneto-tuc-main dma[5d211.760a50]: Server greeting successfully completed
Dec 11 13:00:57 syneto-tuc-main dma[5d211.760a50]:   Server supports STARTTLS
Dec 11 13:00:57 syneto-tuc-main dma[5d211.7609f0]: Server greeting successfully completed
Dec 11 13:00:57 syneto-tuc-main dma[5d211.7609f0]:   Server supports STARTTLS
Dec 11 13:00:58 syneto-tuc-main dma[5d211.760a50]: remote delivery to gmail-smtp-in.l.google.com [173.194.69.26] failed after final DATA: 550-5.7.26 This mail has been blocked because the sender is unauthenticated.
550-5.7.26 Gmail requires all senders to authenticate with either SPF or DKIM.
550-5.7.26 
550-5.7.26  Authentication results:
550-5.7.26  DKIM = did not pass
550-5.7.26  SPF [noratech.it] with ip: [84.247.233.2] = did not pass
550-5.7.26 
550-5.7.26  For instructions on setting up authentication, go to
550 5.7.26  https://support.google.com/mail/answer/81126#authentication e27-20020a50a69b000000b0054c7fcb8334si3831906edc.274 - gsmtp
Dec 11 13:00:58 syneto-tuc-main dma[5d211.760a50]: delivery failed, bouncing as 5d19f
Dec 11 13:00:58 syneto-tuc-main dma[5d19f]: new mail from user=root uid=26 envelope_from=<>
Dec 11 13:00:58 syneto-tuc-main dma[5d19f]: mail to=<servizi.capararo@noratech.it> queued as 5d19f.795ee0
Dec 11 13:00:58 syneto-tuc-main dma[5d19f.795ee0]: <servizi.capararo@noratech.it> trying delivery
Dec 11 13:00:58 syneto-tuc-main dma[5d19f.795ee0]: trying remote delivery to aspmx.l.google.com [2a00:1450:4013:c08::1b] pref 1
Dec 11 13:00:58 syneto-tuc-main dma[5d19f.795ee0]: connect to aspmx.l.google.com [2a00:1450:4013:c08::1b] failed: Network is unreachable
Dec 11 13:00:58 syneto-tuc-main dma[5d19f.795ee0]: trying remote delivery to aspmx.l.google.com [173.194.69.27] pref 1
Dec 11 13:00:58 syneto-tuc-main dma[5d19f.795ee0]: Server greeting successfully completed
Dec 11 13:00:58 syneto-tuc-main dma[5d19f.795ee0]:   Server supports STARTTLS
Dec 11 13:00:58 syneto-tuc-main dma[5d211.7609f0]: <supporto@noratech.it> delivery successful
Dec 11 13:00:58 syneto-tuc-main dma[5d19f.795ee0]: remote delivery to aspmx.l.google.com [173.194.69.27] failed after RCPT TO: 550-5.1.1 The email account that you tried to reach does not exist. Please try
550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. For more information, go to
550 5.1.1  https://support.google.com/mail/?p=NoSuchUser q10-20020a170906360a00b00a1cefffc3c5si3499993ejb.95 - gsmtp
Dec 11 13:00:58 syneto-tuc-main dma[5d19f.795ee0]: can not bounce a bounce message, discarding