On 12/3/2021 4:11 PM, bobby wrote:
I noticed on her site, she has a section for:
Create Virtual Mailboxes with PostfixAdmin (Ubuntu 18.04, Ubuntu 20.04)
Trying to avoid a gui when/where possible, for security reasons. I am
running 20.04 by the way. Just noticed the following bullet point
actually on her site:
"command-line client postfixadmin-cli for those who don’t want to click
around in a web interface", which is probably what I'd do, or would like
to do. But this is what caught my attention: "
Note: Once you finish part 3, you can no longer use local Unix accounts
as email addresses. You must create email addresses from the
PostfixAdmin web interface." So I'm sure completing these instructions,
would break my current setup.
I'm using postfixadmin for email user management, in a mysql database,
with postfix and dovecot.
I'm familiar with using local unix accounts, but back when I did that, I
was using sendmail or qmail, not postfix. Postfix is a lot easier to
configure.
There's no way I would ever go back to local unix accounts for email
users. Probably the biggest reason is that I can now support multiple
domains very easily. I have it set up so that the username is a full
email address, which I considered necessary because I handle multiple
domains.
My mail server is a dedicated AWS instance for JUST email, users do not
have shell accounts. I have servers in my basement for shell access and
serving websites other than webmail. I used to also run email out of my
basement, but for speed reasons I changed ISPs to one whose client-side
public IP addresses are all listed in RBL blocklists, so running email
out of my basement is no longer feasible.
Postfix uses dovecot services for authentication and delivery. It has
no knowledge of the back end storage setup. The backend storage is
Maildir. All mailbox access is handled via dovecot with IMAP or POP3.
If you have users that want commandline access to their virtual email
account, mutt can use an IMAP mailbox, and other commandline MUAs
probably can as well.
I didn't know about postfixamin-cli, I will need to look into that. But
with the web-based GUI, which is really quite nice to use, you could
configure your webserver to only allow specific IP addresses. I leave
mine open, because my webserver setup only allows https and postfixadmin
requires authentication.
Thanks,
Shawn