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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.