Skip to main content

Issue with mailman

Comments

14 comments

  • cPRex Jurassic Moderator
    Hey there! I checked cPanel systems from version 102 through 108; they all have the permissions set to 700 on the mailman file. It's also worth noting that /usr/local/cpanel/3rdparty/mailman/bin/check_perms checks the mailman directories on the accounts, not the mailman executable. Here is an example of that command run on a test server: # /usr/local/cpanel/3rdparty/mailman/bin/check_perms Warning: Private archive directory is other-executable (o+x). This could allow other users on your system to read private archives. If you're on a shared multiuser system, you should consult the installation manual on how to fix this.
    For what you're doing, you may need to adjust the permissions on the executable other software can pipe to it, like the aliases - if that works well for you, there's no reason you can't adjust it as long as you don't make it 777.
    0
  • uadm
    What's weird is that with 700 permission |/usr/local/cpanel/3rdparty/mailman/mail/mailman post testguy_mailman.domain.com doesn't work but all the other mailman commands works for example |/usr/local/cpanel/3rdparty/mailman/mail/mailman subscribe testguy_mailman.domain.com works just fine. How is it that it was working untill now with 700 permission? How would exim pipe to that permission, even still now with 700, subscribe and all the other commands works just not post which works only with 2755 permission.
    0
  • cPRex Jurassic Moderator
    I'll do some testing with this and let you know what I find!
    0
  • cPRex Jurassic Moderator
    I just wanted to let you know I had some major delays on my end and I'll update this with more details tomorrow.
    0
  • cPRex Jurassic Moderator
    I setup a test mailing list and was able to send a message to the main "testlist@domain.com" address with no issues. Can you let me know exactly how you are triggering the message on your side? I know you mentioned the post command in one of your replies, but I'm not seeing the full command shown that would send to the list.
    0
  • uadm
    /etc/valiases/mailman.domain.com has: testguy-XXX@mailman.domain.com: "|/usr/local/cpanel/3rdparty/mailman/mail/mailman post testguy_mailman.domain.com" where XXX is a string in the email we use to post to the list other commands are: testguy-subscribe@mailman.domain.com: "|/usr/local/cpanel/3rdparty/mailman/mail/mailman subscribe testguy_mailman.domain.com"
    0
  • cPRex Jurassic Moderator
    I see those aliases in the /etc/valiases file, but those aren't commands that can just be run on the command line. What specific commands are leading you to the errors you're seeing?
    0
  • uadm
    If I simply run: echo test|mail testguy-XXX@mailman.domain.com Once the mail arraives at the server, I see the error in the exim_mainlog
    0
  • cPRex Jurassic Moderator
    Thanks for that confirmation - I'm not able to reproduce this issue on a default installation where the permissions are 700. The next thing I would recommend would be to reinstall the mailman RPM. You can do this with the following commands: rpm -e --nodeps cpanel-mailman /scripts/check_cpanel_rpms
    I did confirm on a test machine that those commands do not remove the mailman data or aliases.
    0
  • uadm
    Didn't help either. I'll open a ticket. Thanks for all your help cPRex.
    0
  • cPRex Jurassic Moderator
    If you can post the ticket number once you have that opened, I'd appreciate it!
    0
  • uadm
    #94537738
    0
  • cPRex Jurassic Moderator
    Thanks for that - I'm following along with this on my end now.
    0
  • cPRex Jurassic Moderator
    Our team found customizations to the valiases file that were keeping the mailing lists from working as expected. Let us know if you need anything else!
    0

Please sign in to leave a comment.