I'm trying to configure postfix on Ubuntu 16.04 to send email as a google g suite account, details at this thread: https://www.virtualmin.com/node/48888#comment-772331
I'm having authentication problems and google servers respond with helpful info and links to follow to fix problems, which are appearing in the log. The problem is that random characters are showing in the log also and so I cannot be sure that the links are unaltered. I think one of the links might be to a captcha page, which I need to follow to allow access, but I can't get it to work.
The log looks like this:
Mar 1 21:37:14 monster postfix/pickup: 56A3639FD0: uid=0 from=<email@example.com>
Mar 1 21:37:14 monster postfix/cleanup: 56A3639FD0: message-id=<20170301213714.56A3639FD0@monster.rikdeakin.com>
Mar 1 21:37:14 monster postfix/qmgr: 56A3639FD0: from=<firstname.lastname@example.org>, size=379, nrcpt=1 (queue active)
Mar 1 21:37:14 monster postfix/error: 56A3639FD0: to=<email@example.com>, relay=none, delay=0.02, delays=0.01/0/0/0.01, dsn=4.7.14, status=deferred (delivery temporarily suspended: SASL authentication failed; server smtp.gmail.com[126.96.36.199] said: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbuf?534-5.7.14 -As1uJ12nHMYOqpLiwOeX4SQKnfdC6-atU52iDU0RBFQCQP73WN_mP4Eyby11Ez5gWtRfr?534-5.7.14 0Ks--8U6uCXc02pXW8C02eWNAE_9Ul8ec0FqeMDutvwX8eE91sCr248SxrIOfmG4HRyGEX?534-5.7.14 OCJp11q0hgDEgsShVCoDLcuBeCno8m1uRlKfnn0GF9Kmi6alqhksd9xdt-oWe8mIFwnQ5N?534-5.7.14 kdYQ8JJnkrZV96IZu7Us0FaORys4s> Please log in via your web browser and?534-5.7.14 then try again.?534-5.7.14 Learn more at?534 5.7.14 https://support.google.com/mail/answer/78754 v196sm8504913wmv.5 - gsmtp)
Any ideas how to stop the extra text from being logged please?
Many thanks in advance, - Rik