I am a new one and I want to setup Sendmail as a primary mail server.
can someone please guide me step by step how I should do it?
I am using FreeBSD 11.2-RELEASE (GENERIC) DNS (BIND 9.12.3-P4) is working fine.
when I send email from command
and I look into mail log
I receive emails in my required email box but why I am getting it "relay=aspmx.l.google.com." in maillog
While I am not using google.com
Regards
Umar
can someone please guide me step by step how I should do it?
I am using FreeBSD 11.2-RELEASE (GENERIC) DNS (BIND 9.12.3-P4) is working fine.
when I send email from command
mail -v myemailid@domain.com
and I look into mail log
Code:
tail /var/log/maillog
Apr 11 11:25:25 mail2 sendmail[43452]: x3B6PH0T043452: to=myemailid@domain.com, ctladdr=umar (1001/0), delay=00:00:08, xdelay=00:00:00, mailer=relay, pri=30148, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (x3B6PPlr043453 Message accepted for delivery)
Apr 11 11:25:35 mail2 sm-mta[43455]: STARTTLS=client, relay=aspmx.l.google.com., version=TLSv1.2, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128
Apr 11 11:25:36 mail2 sm-mta[43455]: x3B6PPlr043453: to=<test@abc.com>, ctladdr=<umar@mail2.mydomain.com> (1001/0), delay=00:00:11, xdelay=00:00:11, mailer=esmtp, pri=30488, relay=aspmx.l.google.com. [64.233.184.26], dsn=2.0.0, stat=Sent (OK 1554963971 x64si2523971wmb.196 - gsmtp)
While I am not using google.com
Regards
Umar