Can't receive email but can send on additional mailboxes

Probably user@example.com, but that’s configurable. But, you don’t have to guess. The username is listed on the Edit Users page (it says “IMAP/POP3/FTP Login”).

If you’ll be using TLS, it needs to be a name you have a certificate for. I use the “main” name for the server for all mail. Until SNI is supported by all services, it’s just simpler (it’s probably simpler and more reliable, anyway). i.e. I have a cert for virtualmin.com that I’ve use the “Copy to Postfix” and “Copy to Dovecot” buttons for. So, that’s my “main” domain, and the one I use to connect to my server. But, if I had a mail.virtualmin.com cert, I could use that one instead.

No different for SMTP, though it could be. But, again, one “main” domain for mail is the most sensible thing. Don’t make it complicated.

143 and 587 work fine. So do all the other common mail ports.

Authentication should be PLAIN. It’ll be encrypted over the wire, assuming you’re connecting via an encrypted protocol. None of the password hash types supported by email matches up with those supported by Linux system users by default, so we don’t try to use hashed passwords for mail (it’d require a separate password database…more complexity, more ways to fail in an already alarmingly complex system).

I was able to solve this problem by turning off the address rewrites in Postfix, although I don’t know if this is the preferred method. I still don’t know how the system came up with us.us. The Postfix virtual file maps email addresses such as admin@example.com to admin-example.com rather than admin.example.com, as I would have expected. Is this correct?

1 Like

It remaps to whatever the username format is. Virtualmin defaults to creating a user@domain.tld, but since using @ in a domain name doesn’t work for all services, also creates another user with the same PID, probably user-domain.tld (I’m not even sure, it Just Works, so I never have to look at it anymore).

1 Like

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.