billc108's picture

Fetchmail/Mailman/Postfix questions

Thanks for the article on using a combo of Fetchmail/Mailman/Postfix for running listservs. (http://www.freesoftwaremagazine.com/articles/running_gnu_mailman_at_home). I'm in the midst of creating just that setup, but am running into a problem.

Mailman is sending out subscribe messages and such through Postfix just fine.

Fetchmail is downloading messages from the Gmail account I've set up as a test account just fine, and putting them.... somewhere. But they're not going out to the list.

I've tried with fetchmailrc a number of variations of:

poll pop.gmail.com with protocol POP3 port 995
username "testlist@domain.com" there with password "xxxxxxx" is "mailman" here
and options ssl sslcertck sslcertpath /usr/local/certs
mda "/usr/local/mailman/mail/mailman post testlist"

(such as 'is "testlist" here', removing that portion entirely and just leaving the mda stuff, removing the mda stuff and just leaving something in 'is "xxxx" here' which is aliased in /etc/aliases, etc etc). Somehow, none of the messages are getting out.

1) where do I find all these lost messages? Surely they should be in a queue somewhere (in mailman, I suppose)

2) is there a debug or verbose mode that will give me more info about what's happening? I'm already using -v in my fetchmail call, and not seeing anything.

3) any other suggestions?

And as long as i'm here asking questions: the primary reason I'm using fetchmail is so that I don't have to deal with spammers hammering my postfix install. I've just spent the better part of a month moving 100+ domains over to gmail to get some relief from the botnets, and now they're starting in on this new postfix install. An article at suggests that you can turn off port 25 for all but localhost mail - it appears to work - but will it mess up the delivery from mailman to postfix? (I had it on temporarily, but it wasn't on for the majority of my testing above so isn't the culprit there.).

Any assistance appreciated.

Best answer

No BEST answer yet!
Provide your own answer, or vote for existing ones!