On 12/30/19 6:48 AM, ritwik p wrote: > > As my user is trying to unsubscribe from the list (notg...@abcd.com) > This is what I'm executing: > > mailman inject -f - -q command notg...@abcd.com > From: 1...@rise.xyz > To: notgood-le...@abcd.com > Subject: unsubs > Message-ID: <2_19_am_30...@rise.xyz> > > messsssss
You need one additional thing. The command runner doesn't look at the To: address to determine this is a -leave request. The lmtp runner did that and put subaddress=leave in the message metadata, so your message was treated as a -request message. The inject command you want is mailman inject -f - -q command -m subaddress=leave notg...@abcd.com It also would have worked if you had put 'unsubscribe' rather than 'unsubs' in the Subject: as 'unsubscribe' is a valid command and 'unsubs' is not. > Currently my inject-ed mail is in deferred queue in postfix and unable to > reach the destination > due to which I'am not able to confirm to leave the list. This is not a Mailman issue. Postfix cannot connect to port 25 at nullmx.domainmanager.com[45.63.18.247] to deliver the mail. > My postfix's logs are: > > postfix/smtpd[12722]: connect from localhost[::1] > postfix/smtpd[12722]: 479834565D: client=localhost[::1] > postfix/cleanup[12726]: 479834565D: > message-id=<157763017885.12683.12681065635725544097@Ratwik> > postfix/qmgr[12526]: 479834565D: from=<notgood-boun...@abcd.com>, size=808, > nrcpt=1 (queue active) > postfix/smtpd[12722]: disconnect from localhost[::1] ehlo=1 mail=1 rcpt=1 > data=1 quit=1 commands=5 > postfix/qmgr[17475]: 479834565D: from=<notgood-boun...@abcd.com>, size=808, > nrcpt=1 (queue active) > postfix/error[21664]: 479834565D: to=<y...@yourdomain.com>, relay=none, > delay=15789, delays=15758/31/0/0.11, dsn=4.4.1, status=deferred (delivery > temporarily suspended: connect to nullmx.domainmanager.com[45.63.18.247]:25: > Connection timed out) > > > I also ran : postcat -vq 479834565D > which gave me this: ... > regular_text: - Results: > regular_text: No such command: unsubs > regular_text: No such command: ooooonooooo > regular_text: > regular_text: - Done. It would have shown a confirmation request if you had either added -m subaddress=leave to the inject command or put 'unsubscribe' in the Subject: -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan _______________________________________________ Mailman-Developers mailing list -- mailman-developers@python.org To unsubscribe send an email to mailman-developers-le...@python.org https://mail.python.org/mailman3/lists/mailman-developers.python.org/ Mailman FAQ: https://wiki.list.org/x/AgA3 Security Policy: https://wiki.list.org/x/QIA9