Re: [Mailman-Users] mailman running very slow
On Thu, 2012-10-25 at 15:10 -0400, Richard Shetron wrote:
What arguments do you use to pretend to be mailman delivering to postfix with swaks?
I would run swaks from the same box on which you run Mailman, and use -f with whatever Mailman uses as the envelope sender address for posts, If you have VERP personalization turned on, this would be a "bounces" address. Send to a sample (test) address that's on the list, and use -s with the FQN of the server which your Mailman installation uses.
All of this assumes, of course, that you're using postfix as a SMTP server (DELIVERY_MODULE = 'SMTPDirect' as opposed to DELIVERY_MODULE='Sendmail'). If you're using the latter, then swaks won't help you.
BTW, it would be a good idea if you'd cc questions such as this to the list. There are some very good minds on the list who might well chime in helpfully, and/or critique my response.
I'm running on too much stress, too little sleep/food ;)
On 10/24/2012 2:17 PM, Lindsay Haisley wrote:
On Wed, 2012-10-24 at 11:06 -0700, Brad Knowles wrote:
Another very useful tool for analyzing mail issues is swaks.
Now that's a tool I had not heard of before. I'm assuming you mean the tool at <http://www.jetmore.org/john/code/swaks/>?
That's the one. I used to test SMTP stuff by using telnet to port 25 and talking to an SMTP server, but swaks does all the lifting for you, and gives you a terminal display of the entire dialog in real time, so you can see where a SMTP transaction is hanging, or timing out, or whatever. It's written in perl, and self-docs with a man-page like help system. It has a ton of useful options, and is truly, as advertised, "the Swiss army knife for SMTP". As a mail admin, I couldn't be without it :)
On Fri, 2012-10-26 at 14:02 +0900, Stephen J. Turnbull wrote:
Lindsay Haisley writes:
I would run swaks from the same box on which you run Mailman, and use -f with whatever Mailman uses as the envelope sender address for posts,
Wow, that's cool! Thanks for the tip!
I would have thought that everyone who works with or develops any application or server that handles e-mail would know about swaks. But then I kind of live in a bubble out here in the boonies of Texas.
-- Lindsay Haisley | "The only unchanging certainty FMP Computer Services | is the certainty of change" 512-259-1190 | http://www.fmp.com | - Ancient wisdom, all cultures
On Oct 26, 2012, at 10:50 AM, Lindsay Haisley <fmouse-mailman@fmp.com> wrote:
I would have thought that everyone who works with or develops any application or server that handles e-mail would know about swaks. But then I kind of live in a bubble out here in the boonies of Texas.
Well, you surprised both me and Barry with swaks, and in this space I think that takes a bit of doing. :-)
So, consider yourself complimented, even if you and I have shared the same "boonies of Texas" location -- although sometimes I wonder if that shouldn't be "loonies of Texas". ;-) ;-) ;-)
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
Lindsay Haisley writes:
I would have thought that everyone who works with or develops any application or server that handles e-mail would know about swaks.
*They* probably do. *I* am an economics professor[1] who moonlights on programmer's editors and host admin for one such project. ;-)
Footnotes: [1] With a strong interest in self-organizing systems such as Internet standards and open source software development projects.
participants (3)
-
Brad Knowles
-
Lindsay Haisley
-
Stephen J. Turnbull