Hey, I wonder why I'm not able to send mails with a mail account when I disable receiving. Log says "Sender address rejected: User unknown in virtual mailbox table" if I try to send an email. Anyone has a quick workaround? Thanks
I think that when disabling receiving, you disable sending aswell, as it disables the mailbox for all of postfix. @Jesse Norell knows everything about this though, maybe he can tell you more.
To make it so you can only send, disable delivery, not receiving; the latter has that effect due to how it's implemented.
Possibly labels could be changed for clarification (or add tooltips), but 'Disable SMTP' would be confusing wording behind the scenes, as the 'Disable sending' option controls a database field named 'disablesmtp'. 'Enable receiving' controls the 'postfix' field, which sets whether a mailbox will appear in virtual_mailbox_maps or virtual_alias_maps, which are the lists of valid addresses that postfix knows about. It used to simultaneously control the 'disabledeliver' setting, but that is now separate (since forwarding in postfix rather than in sieve requires 'postfix' to be 'y', but you still might not want to allow delivery). Not sure what the best label(s) would be.