Emails sent directly to your RT mail address (via SMTP) with attachments fail,

RT6.0.1 - When emails sent directly to RT mail address (via SMTP) with attachments, they fail with the below message and the ticket is not created. But rt-mailgate works manually.

queue general --action correspond --debug --url https://rt.cs.hhh.edu/", ctlad
dr=rt@rt.cs.hhh.edu (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=833391, dsn=4.0.0, stat=Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL2026-02-17T10:23:34.455429-05:00 rt sm-mta[404635]: 61HFNWsd404635: from=, size=8942086, class=0, nrcpts=1, msgid=<bccf9997e2431adb7dbc81979c678488@mail.gmail.

In site config Set($MaxAttachmentSize, 52428800); # 50MB Mysql settings are also good.
All perl modules are installed.
RT6 does not create a ticket when an email is sent to rt@cs.hhh.edu with any size attachment

cat test.eml | /rt/rt6/bin/rt-mailgate --queue General --action correspond --url https://rt.cs.hhhedu/ works. email is created with attachment.