Mark and Carl, Thanks again for the replies.
Carl, the issue with the server/MTA bring offline is a known and unavoidable issue because of lack of satellite availability overhead for most of the day unfortunately. Regarding the mail size limit, those messages are ones that are really quite small (talking like 500kb) but still go over the 50kb limit of the mailbox. It is definitely a system that we are looking to replace but the geographic location and limited satellite coverage leave us with few options. Mark, I have confirmed that the crontab.in does automatically copy /etc/cron.d/mailman, and /var/spool/cron/ is empty. I did also initially copy the reset_bounce.py to the directory you mentioned, so thank you for your diligence in checking, sir! I guess we'll see how it behaves and how it goes. Thanks again; I really appreciate it. -Ethan On Tue, Dec 17, 2019 at 11:14 AM Mark Sapiro <m...@msapiro.net> wrote: > On 12/17/19 9:45 AM, Ethan Rudnitsky wrote: > > Mark and Carl, > > > > Thank you both for your replies. So there are actually 2 issues causing > > bounces here... the first is the mailbox being offline at times, and the > > second is that it is getting messages bounced because of message size > being > > over the limit. A few of these same accounts have strict 50KB message > > limits because they get their connectivity via Iridium modems, so when > > someone sends a message greater than 50KB it is bouncing. I have just > > utilized one of Mark's scripts and created a cron job in the crontab.in > > file at /usr/lib/mailman/cron that is formatted as follows: 0 8 * * * > > mailman /usr/lib/mailman/bin/withlist -a -r reset_bounce -- -u > > mana...@xxxxxxxx.xxx.xxx -u co...@xxxxxxxx.xxx.xxx -u > ca...@xxxxxxxx.xxx.xxx > > > > I then restarted the mailman service. Does this to be properly formatted > > for targeting only the 3 specific member accounts I want? > > > Carl raises some good points, but to answer your specific question, I > don't know what if anything your distro's Mailman package does with > /usr/lib/mailman/cron/crontab.in, but if it copies it automagically to > /etc/cron.d/mailman, then putting the command there is OK. > > The bottom line is if your Mailman cron jobs are in a system crontab > such as /etc/cron.d/mailman, you want the line > > > 0 8 * * * mailman /usr/lib/mailman/bin/withlist -a -r reset_bounce -- -u > mana...@xxxxxxxx.xxx.xxx -u co...@xxxxxxxx.xxx.xxx -u > ca...@xxxxxxxx.xxx.xxx > > in that file. If your Mailman cron jobs are in the Mailman user's > crontab /var/spool/cron/crontabs/mailman, you need to omit the username > as in > > > 0 8 * * * /usr/lib/mailman/bin/withlist -a -r reset_bounce -- -u > mana...@xxxxxxxx.xxx.xxx -u co...@xxxxxxxx.xxx.xxx -u > ca...@xxxxxxxx.xxx.xxx > > > You also need to have copied the script to > /usr/lib/mailman/bin/reset_bounce.py > > -- > Mark Sapiro <m...@msapiro.net> The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users@python.org > https://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: > http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > https://mail.python.org/mailman/options/mailman-users/erudnitsky%40gmail.com > ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org