OK, so I backed out completely and re-installed. Here's my *original* error. Should I modify virtual mailbox maps?
OK, I think I was clearly in the phase of dealing with errors caused by my attempts to deal with previous errors. So I backed out and did a clean install. Again, the installl seemed to go without a problem.
Then:
I set up a mailinglist (tradfp@forensicpath.us) for "old school" forensic pathologists to discuss cases.
I added a couple of users: oliver@billoblog.com on the same box as the mailinglist, though on different virtual domains, and william.oliver@knoxcounty.org, a local government domain not associated with my box.
Results:
The welcome message did not get delivered to either address.
When I send email from those addresses to tradfp@forensicpath.us, I get the following error from both:
Your message couldn't be delivered The message you sent to tradfp@forensicpath.us couldn't be delivered due to: Recipient email address is possibly incorrect.
Further information 5.1.1 <tradfp@forensicpath.us>: Recipient address rejected: User unknown in virtual mailbox table
If you sent this message to multiple addresses, you'll receive a notification like this for every one that didn't arrive.
That is when I started going down the dovecot rabbit hole.
Here's the (what I think is relevant) part of the mail.cf file:
virtual_mailbox_domains = proxy:mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf virtual_mailbox_maps =
proxy:mysql:/etc/postfix/sql/mysql_virtual_mailbox_maps.cf, proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_domain_mailbox_maps.cf
virtual_alias_maps = proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf, proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_domain_maps.cf, proxy:mysql:/etc/postfix/sql/mysql_virtual_alias_domain_catchall_maps.c f
virtual_mailbox_base = /var/vmail virtual_minimum_uid = 900 virtual_uid_maps = static:900 virtual_gid_maps = static:900
transport_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp local_recipient_maps = hash:/opt/mailman/mm/var/data/postfix_lmtp relay_domains = hash:/opt/mailman/mm/var/data/postfix_domains
In my previous attempt, I added
hash:/opt/mailman/mm/var/data/postfix_lmtp
to both virtual_mailbox_maps and virtual_alias_maps, but I haven't done that yet here. I thought I'd ask and make sure I should.
Should that be my next step?
Thanks,
billo
On 10/16/24 10:26, Bill Oliver wrote:
- I set up a mailinglist (tradfp@forensicpath.us) for "old school" forensic pathologists to discuss cases.
Does the forensicpath.us domain have an alias_domain configured in mailman causing mailman to create /opt/mailman/mm/var/data/postfix_vmap and /opt/mailman/mm/var/data/postfix_vmap.db? You need this.
In my previous attempt, I added
hash:/opt/mailman/mm/var/data/postfix_lmtp
to both virtual_mailbox_maps and virtual_alias_maps, but I haven't done that yet here. I thought I'd ask and make sure I should.
Should that be my next step?
You should add hash:/opt/mailman/mm/var/data/postfix_vmap to virtual_alias_maps only.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Wed, 2024-10-16 at 12:19 -0700, Mark Sapiro wrote:
On 10/16/24 10:26, Bill Oliver wrote:
Does the forensicpath.us domain have an alias_domain configured in mailman causing mailman to create /opt/mailman/mm/var/data/postfix_vmap and /opt/mailman/mm/var/data/postfix_vmap.db? You need this.
Thanks for your reply. My wife has fallen ill, so I am taking a break from working on this to take care of her. I'll reply substantively in a week or so, I hope.
billo
On Wed, 2024-10-16 at 12:19 -0700, Mark Sapiro wrote:
On 10/16/24 10:26, Bill Oliver wrote:
- I set up a mailinglist (tradfp@forensicpath.us) for "old school" forensic pathologists to discuss cases.
Does the forensicpath.us domain have an alias_domain configured in mailman causing mailman to create /opt/mailman/mm/var/data/postfix_vmap and /opt/mailman/mm/var/data/postfix_vmap.db? You need this.
Yes, I created a "lists.forensicpath.us" early on.
In my previous attempt, I added
hash:/opt/mailman/mm/var/data/postfix_lmtp
to both virtual_mailbox_maps and virtual_alias_maps, but I haven't done that yet here. I thought I'd ask and make sure I should.
Should that be my next step?
You should add hash:/opt/mailman/mm/var/data/postfix_vmap to virtual_alias_maps only.
Done. I started getting the disappearing mail problem again, though none of the references to errors from the changes I made originally. After spending a few hours going over debug files, I noticed that I kept getting a pam error. The mails were getting rejected over authentication errors.
It turns out it was all a permissions problem with /sbin/unix_chkpwd. Apparently the sticky bit was not set correctly on installation.
Here's a discussion of the problem:
https://unix.stackexchange.com/questions/422411/pam-authentication-failure-w...
I still don't understand why this was a problem with mailman and not with "regular" mail, but doing the "chmod u+s /sbin/unix_chkpwd" resulted in things magically working just like it's supposed to.
Thanks for the help!
billo
participants (2)
-
Bill Oliver
-
Mark Sapiro