I, too, have referred to the debian.org document to which you link. I have spent more time linking to https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-1-postfix, which is a bit dated. I have written my own guide which works for me. If you (or anyone else) /msg me an email address, I'll gladly send you a copy with a few caveats.
Q1) Is gitlab a better source host than github (or google)?
How long is a piece of string? Everything is a compromise and it must depend on how those compromises fit your use case. If you are trying to build a library of code for a CV, Github is where people will start looking. I run my own server, turned off most of the time, using gogs https://gogs.io/, which ISTR is available on apt.
Q2) How do I silence the mail queue?
If by "silence" you mean "purge obsolete entries", sudo postsuper -d ALL is another option.
"It seemed to me I needed "someone" dedicated to being the mailchimp, who is not in the sudo group" is not my experience.
Q3) Should I substitute sammy for root in the above?
I'm not sure. I have a dedicated Pi running postfix, so root and any "boss" user of postfix are essentially the same, so I haven't had to work through your problem.
3.1 - Unattended upgrades
Raspbian (or whatever it's called now) comes with this set up by default. The file contains lots of comments, removed below:
dr@mail:~ $ cat /etc/apt/apt.conf.d/50unattended-upgrades Unattended-Upgrade::Origins-Pattern { "origin=Debian,codename=${distro_codename},label=Debian-Securi +ty"; }; Unattended-Upgrade::Package-Blacklist { };
3.2 /etc/hosts
dr@mail:~ $ cat /etc/hosts 127.0.0.1 localhost mail ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters 127.0.1.1 mail
Q4) What does /etc/aliases look like on a working install
dr@mail:~ $ sudo cat /etc/aliases [sudo] password for dr: # See man 5 aliases for format #postmaster: root postmaster: dr root: dr
Regards,
John Davies
In reply to Re: [OT] Completing a debian install with the appropriate trimmings
by davies
in thread Google scripts, google, and email
by Aldebaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |