問題タブ [emailrelay]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
linux - Sendmail via Gmail SMTP relay
I'm running a CentOS 7 VM in Google Cloud but having difficulty sending emails out using sendmail. I've followed the below posts and numerous others but the result remains the same, i.e. the mails never reach their destination.
https://linuxconfig.org/configuring-gmail-as-sendmail-email-relay
https://www.bonusbits.com/wiki/HowTo:Configure_SendMail_to_Use_SMTP_Relay
https://tecadmin.net/sendmail-to-relay-emails-through-gmail-stmp/
http://ibgwww.colorado.edu/~lessem/psyc5112/usail/mail/debugging/
I've used a telnet session to connect to smtp-relay.gmail.com to test it from the server and was able to connect and send a mail, which also reached it's destination.
Please forgive my ignorance, I'm very new to Linux. When I use the mail -v command to send the mail I get the output below.
It gives the message "Message accepted for delivery" at the end, but at the beginning it says connecting to 127.0.0.1 (localhost), should it not instead be connecting to the smtp-relay.gmail.com host I specified in the sendmail.mc and auth / authinfo files' configuration?
According to the /var/log/maillog when I execute those command it's giving the "Message accepted for delivery" like above and the relay is specified as 127.0.0.1
jakarta-mail - メール中継メールのバウンス対応について
こんにちは、会社にメールリレーを実装し、メールボックスとしてリターンパスを指定することでバウンス処理メカニズムを提供する予定です.ゴダディ。
複数の添付ファイルを含むメールを送信し、それらがバウンスされた場合、バウンスされたメールには、それらの添付ファイルに加えて、バウンスされたメール ヘッダーが別の添付ファイルとして含まれます。