4/7/2024 0 Comments Google fiber as a ftp server![]() ![]() dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O') > dnl WTF define(`confDH_PARAMETERS', `CERT_DIR/dh.param')dnl > define(`confCLIENT_KEY', `CERT_DIR/mykey.pem')dnl > define(`confCLIENT_CERT', `CERT_DIR/mycert.pem')dnl > define(`confSERVER_KEY', `CERT_DIR/mykey.pem')dnl > define(`confSERVER_CERT', `CERT_DIR/mycert.pem')dnl define(`confCACERT', `CERT_DIR/mycert.pem')dnl > dnl Google's SMTP servers need to do a DNS lookup on us (sending agent) > FEATURE(`authinfo',`hash -o /etc/mail/authinfo/')dnl > define(`UUCP_MAILER_PATH', `/usr/local/bin/uux')dnl > define(`confEBINDIR', `/usr/local/libexec')dnl > dnl to your sendmail.mc file before any mailer or feature definition: Makemap -r hash dnl To use the binaries supplied by the port you should add the following lines Openssl req -new -x509 -keyout mykey.pem -out mycert.pem -days 3650Įcho 'AuthInfo: "U:root" "MyGmailPassword"' >th Newaliases /usr/libexec/sendmail/sendmail # Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail You may have to change the definition of sendmail in /etc/mail/nf: To build and install the mail/sendmail port, specifically enabling SASL. I think it might have it by default these days, but originally I had Get sendmail installed with the -DSASL option Taken literally, and needs to be changed to suit your identity.ġ. You need to be root throughout, and data field commencing "My" is not to be I started by broadlyįollowing the instructions in the posting by "granth" here: I use sendmail, and this is a guide for sendmail. I document the Gmail setup here, and the small changes required for G Suite It costs me Aus$100 per year to have Google to deal with inbound SPAM,Īnd I don't have to have port 25 open to the Internet. To Google's SMTP servers, and I pay them for a mail server service). I actually use G Suite (which means that the MX record for my domain points This documents what I did to make it work. My sendmail is configured to forward through Google's SMTP servers. The only thing I'm certain of is that the local mail alias is still working. I don't actually know if any of that matters anyway, because while I have a semi-competent grasp on DNS I don't understand email at all.Īnyone have any suggestions of things to try or troubleshooting avenues to go down? I'm at a complete loss here, I don't even know where to start. The FreeBSD fileserver isn't connected directly to the internet anyway even if reverse lookup did work it would return instead of. My outward facing IP is dynamic, and while forward lookup works, reverse lookup doesn't work. I actually have my domain via Google Domains, too, but if there's any way to change the DNS records to make this work I don't know what it is. Unfortunately, that's not helpful, because Google Fiber is my service provider, and they don't seem to have an SMTP relay. aliased to Saved message in /root/dead.letterĬlosing connection to gmail-smtp-in.l. Please use the SMTP relay at yourĥ50-5.7.1 service provider instead. > EHLO Ģ at your service, ĥ50-5.7.1 The IP you're using to send mail is not authorized toĥ50-5.7.1 send email directly to our servers. Apparently GMail has blocked me I get this from their server (I've obfuscated all of the personal Connecting to gmail-smtp-in.l. Then it worked again.įast forward to today, it's stopped working again. Then I ran into several other issues (all of which ended up being local networking configurations) and it stopped working until I fixed those. However, several things send emails to the root account that I would like to get.Ī friendly fellow by the name of Jose suggested I simply alias root to my personal address (in this case, a GMail account) in /etc/aliases, run newaliases, and then send a message from the command line to test that it worked. This isn't a machine that I log into normally on the command line unless something is wrong. ![]() I have FreeBSD installed on my fileserver. I originally posted this in a different thread in the General forum, but this has stopped being about general FreeBSD issues and started being specifically about sendmail, so I thought I would move it to what looks like the correct subforum.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |