Current time: 04-23-2024, 11:18 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] Mailman with ispCP, suexec
Author Message
thielmann Offline
Junior Member
*

Posts: 10
Joined: Jan 2008
Reputation: 0
Post: #21
RE: Mailman with ispCP, suexec
FeG Wrote:I don't know why it is like this but these lines are wrong.. the should be like this:

Thanks for helping me out, that solved the problem.

FeG Wrote:But I'm not sure why mailman did it like this... How did you created the lists?

This is part of the HowTo:

Setup Mailman Wrote:Then modify the newly created MTA:

def _addvirtual(mlist, fp):
...
# Set up the mailman-loop address
loopaddr = Utils.get_site_email(mlist.host_name, extra='loop')
loopdest = '%s@localhost' % Utils.ParseEmail(loopaddr)[0] <-- add: '%s@localhost' %
...
# Now add all the standard alias entries
for k, v in makealiases(listname):
fqdnaddr = '%s@%s' % (k, hostname)
localaddr = '%s@localhost' % k <-- add this line
# Format the text file nicely
print >> fp, fqdnaddr, ((fieldsz - len(k)) * ' '), localaddr <-- change k to localaddr
# Finish the text file stanza
...

So I guess the HowTo is wrong regarding the localPostfix modifications. After changing "MTA='localPostfix'" back to "MTA='Postfix'" in /etc/mailman/mm_cfg.py, everything works as expected. Should have tried that earlier. Thanks again!
08-16-2008 05:39 AM
Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #22
RE: Mailman with ispCP, suexec
Hi,

I'm glad that I could help you.

thielmann Wrote:So I guess the HowTo is wrong regarding the localPostfix modifications.

It is not. Above those modification-advisory it's stated:
Quote:Create the localPostfix MTA

You only need this fix if $myorigin is not part of $mydestination in your Postfix configuration; if it is, just skip this point!

This part was added by someone else who had a specific problem with a setup like this, but since on my server $myorigin is part of $mydestination, I haven't applied this modification.

Greetings
FeG
08-16-2008 08:11 PM
Find all posts by this user Quote this message in a reply
thielmann Offline
Junior Member
*

Posts: 10
Joined: Jan 2008
Reputation: 0
Post: #23
RE: Mailman with ispCP, suexec
FeG Wrote:It is not. Above those modification-advisory it's stated:
Quote:Create the localPostfix MTA
You only need this fix if $myorigin is not part of $mydestination in your Postfix configuration; if it is, just skip this point!
This part was added by someone else who had a specific problem with a setup like this, but since on my server $myorigin is part of $mydestination, I haven't applied this modification.

I don't get it:

# postconf | grep mydestination
mydestination = $myhostname, $mydomain

So $myorigin is clearly not part of $mydestination and the fix is still wrong.
08-16-2008 09:59 PM
Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #24
RE: Mailman with ispCP, suexec
thielmann Wrote:# postconf | grep mydestination
mydestination = $myhostname, $mydomain

So $myorigin is clearly not part of $mydestination and the fix is still wrong.

I'm sorry, but again, it is not Wink

As you wrote above, you've set $myorigin like this:
Code:
myorigin   = $mydomain

So $myorigin equals $mydomain and so
Code:
mydestination       = $myhostname, $mydomain
implies, that $mydestination contains $myorigin.

Greetings
FeG
08-18-2008 05:46 PM
Find all posts by this user Quote this message in a reply
Arcam Offline
Junior Member
*

Posts: 16
Joined: Jan 2011
Reputation: 0
Post: #25
RE: [HowTo] Mailman with ispCP, suexec
Hello,

I wanted to know if the HowTo in the Documentation is still actual?

I tried to set up mailman on one of my server (debian squeeze, ispCP 1.0.7), and I keep on getting a "Recipient address rejected: User unknown in virtual mailbox table" error when trying to send a subscribe mail to my test list for one of my hosted domains.

I actually can't find the correct domain in /var/lib/mailman/data/virtual-mailman, even though I specified it in /etc/mailman/mm_cfg.py. I only see the main server domain, ie the one on which ispCP is running.

If you need any more info, let me know, but please if someone could give me a few pointers I'd be grateful! Smile
03-01-2011 03:09 AM
Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #26
RE: [HowTo] Mailman with ispCP, suexec
Hi Arcam,

Mailman is still running with this configuration here, so I suppose it's working with the HowTo...

You should go again through the HowTo, but the main point should be that the virtual domain has to be specified in the mailman config -- as you said, you checked that already. However if mailman does not create the list in the virtual-mailman file, then something is wrong with mailman's config, so you may also want to check the Mailman documentation.

At the moment I've no clue what other thing may causes problems here...

Regards,
FeG
03-01-2011 03:44 AM
Find all posts by this user Quote this message in a reply
Arcam Offline
Junior Member
*

Posts: 16
Joined: Jan 2011
Reputation: 0
Post: #27
RE: [HowTo] Mailman with ispCP, suexec
Hello, FeG.

Thanks for the reply.

I already checked the mailman doc, but must have missed something.
I'll check it again, and post here.
03-01-2011 06:07 PM
Find all posts by this user Quote this message in a reply
Arcam Offline
Junior Member
*

Posts: 16
Joined: Jan 2011
Reputation: 0
Post: #28
RE: [HowTo] Mailman with ispCP, suexec
Hello again,

I checked and rechecked everything, I even tried to reconfigure mailman and postfix, but to no avail: the virtual domain still doesn't show in the virtual-mailman file.

Anyways, since I'm making my own interface for subscription/unsubscription to the lists (it will mainly be used for newsletters), I'll juste fill the correct entries in the virtual-mailman file and regenerate the mailman virtual-mailman.db, for the time being.
03-01-2011 08:52 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)