in reply to Re: Google scripts, google, and email
in thread Google scripts, google, and email
I think a lot of our attitudes regarding data usage line up with our ages. At 56 belly-button years old, I was lucky to be introduced to computers at a relatively-young age, 12. I have the experience of doing telnet, and I thought I could always return and "do things from scratch." I used to love autoexec.bat. I miss the days of bulletin boards and usenet, comp.lang.c, comp.lang.perl.misc. After the Perlpocalypse, I checked out the latter, and it was the saddest post from Keith Thompson about whether the lights were on. (They're not) Gone like the hogshead, cask, and demijon. "Kids nowadays" seem profligate in their data consumption to me who wants to count his bytes by the packet.
As far as email is concerned, I run my own servers. I've built them at work & helped a friend do the same. It's not that hard and, for me, runs very comfortably on a Pi 1 with 256Mb RAM. If you want help on this, I'll gladly do my best.Well, John, I was glad to see this response because I'd like to get back on track with finishing it off. This is gonna be long enough that I'm gonna put the rest in readmore tags to reserve vertical space for respondents:
We covered a lot of ground in my last thread along these lines: getting SMTP capability working, and I had gotten this link from Alexander: Installing_and_Configuring_Postfix_on_Debian as a pole star. The way I remember it, /etc/hosts didn't look right yet. Also "normative" in my view is haukex's setup guide for rpi with new hosting at gitlab. This isn't an rpi, but it is debian, so it's the same ballpark.
Q1) Is gitlab a better source host than github (or google)?
First of all, I've had these messages bouncing around since I sent them:
root@mail:~# mailq -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- C9F8BFC224 966 Sun Oct 9 20:00:01 root@merrillpjensen.com (Host or domain name not found. Name service error for name=merrillpje +nsen.com type=MX: Host not found, try again) root@merrillpjensen.com ... (Host or domain name not found. Name service error for name=merrillpje +nsen.com type=MX: Host not found, try again) root@merrillpjensen.com 16ED0FC226 966 Mon Oct 10 20:00:02 root@merrillpjensen.com (Host or domain name not found. Name service error for name=merrillpje +nsen.com type=MX: Host not found, try again) root@merrillpjensen.com -- 19 Kbytes in 10 Requests. root@mail:~#
This is what the output is with either sendmail -bp or mailq. Upgrading and rebooting doesn't get rid of it, which is probably good if it weren't noise.
Q2) How do I silence this noise?
I created some architecture for receiving mail. Firstly, I created a group for anything that should have mail privileges:
root@mail:~# cat /etc/group ... mymail:x:1003:sammy,root,wilma,www-data sammy:x:1004:
It seemed to me I needed "someone" dedicated to being the mailchimp, who is not in the sudo group:
root@mail:~# cd /home root@mail:/home# ls fritz sammy wilma root@mail:/home# cd sammy root@mail:/home/sammy# ll total 24 drwxr-x--- 3 sammy sammy 4096 May 18 22:18 ./ drwxr-xr-x 5 root root 4096 May 16 23:50 ../ -rw-r--r-- 1 sammy sammy 220 Oct 7 2021 .bash_logout -rw-r--r-- 1 sammy sammy 3771 Oct 7 2021 .bashrc -rw-r--r-- 1 sammy sammy 0 May 16 22:24 .cloud-locale-test.skip -rw-r--r-- 1 sammy sammy 807 Oct 7 2021 .profile drwxrwx--x 2 sammy mymail 4096 May 18 22:18 Maildir/ root@mail:/home/sammy#
Along with:
root@mail:~# sudo newaliases root@mail:~# cat /etc/aliases # See man 5 aliases for format postmaster: root
Q3) Should I substitute sammy for root in the above?
I think I got this squared away:
root@mail:~# sudo vi /etc/apt/apt.conf.d/50unattended-upgrades root@mail:~# sudo vi /etc/apt/apt.conf.d/20auto-upgrades root@mail:~# cat /etc/apt/apt.conf.d/20auto-upgrades APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1"; APT::Periodic::Download-Upgradeable-Packages "1"; //APT::Periodic::Verbose "1"; APT::Periodic::AutocleanInterval "7"; root@mail:~# sudo dpkg-reconfigure --priority=low unattended-upgrades root@mail:~#
I've made considerable progress here, having now figured out that this file does not get overwritten as it threatens:
root@mail:~# cat /etc/hosts # Your system has configured 'manage_etc_hosts' as True. # As a result, if you wish for changes to this file to persist # then you will need to either # a.) make changes to the master file in /etc/cloud/templates/hosts.de +bian.tmpl # b.) change or remove the value of 'manage_etc_hosts' in # /etc/cloud/cloud.cfg or cloud-config from user-data # 127.0.1.1 fourth fourth 127.0.0.1 localhost 192.168.12.1 mail.merrillpjensen.com mail # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts root@mail:~#
I conjured this from thin air:
192.168.12.1 mail.merrillpjensen.com mail, but I'm trying to square it with:
root@mail:~# hostname -d merrillpjensen.com root@mail:~# hostname -f mail.merrillpjensen.com
and
root@mail:~# host -t MX mail mail has no MX record root@mail:~# host -t MX mail.merrillpjensen.com Host mail.merrillpjensen.com not found: 2(SERVFAIL) root@mail:~# host -t MX merrillpjensen.com Host merrillpjensen.com not found: 2(SERVFAIL) host -t MX fourth ;; connection timed out; no servers could be reached root@mail:~#
Less the gory details, my questions are:
Q1) Is gitlab a better source host than github (or google)?
Q2) How do I silence the mail queue?
Q3) Should I substitute sammy for root in the above?
Q4) What does /etc/aliases look like on a working install?
Thanks all for comments,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [OT] Completing a debian install with the appropriate trimmings
by davies (Monsignor) on Oct 16, 2022 at 11:26 UTC | |
by Aldebaran (Curate) on Oct 19, 2022 at 06:52 UTC | |
|
[OT] Completing a debian install with the appropriate trimmings
by hippo (Archbishop) on Oct 16, 2022 at 10:27 UTC |