Re: [Mailman-Users] Mailman without localhost ?
The Service-Assistant of my hosting tried to solve, but did not found both of the default entries in mm_cfg.py.
SMTPHOST = 'localhost'
SMTPPORT = 0
So he's asking for accurate steps to handle SMTP Host Override (Plesk 12.5.x.).
Also he wants to know, how to prevent overriding that values during next server-update.
K.
Antwort auf Nachricht vom 2016-03-13 - 23:44:12 :
On 03/13/2016 01:44 PM, kapuzino@web.de wrote:
The new operator of my hosting decided to remove localhost from whitelist in plesk outbound filter to prevent spam and blacklisting. Anybody knows any chance to use mailman another way ?
There are a couple of possibilities.
MM is still installed (v2.1.18), but recently only woks delivering to server-internal adresses. The service guy said, there might by a chance using smtp auth.
I have no access to mm_cfg.py of my own, but perheaps the service assistant will do the job, if I give him information. (have a low price hosting)
Mailman has two settings for the outgoing mail server that can be overridden in mm_cfg.py. The default settings are
SMTPHOST = 'localhost' SMTPPORT = 0 # 0 means use the smtplib default which is 25
These are for outgoing mail from Mailman only. They have nothing to do with delivery of mail TO mailman. You can tell Mailman to connect to any SMTP server and port by setting SMTPHOST to the fully qualified name of the server and/or SMTPPORT to the port.
If the host operator will perhaps set up and allow an alternative port for you to use without authentication, then Mailman can simply be configured to use that port.
If that isn't an option, but you can use an alternate port such as 465 or 587 that may require TLS and/or authentication, you can set SMTPPORT to that value, but you (or the host admin) will have to patch Mailman's SMTPDirect.py module to provide the authentication. You can find a patch for this at <https://bugs.launchpad.net/mailman/+bug/558281>.
On 3/29/16 1:22 PM, kapuzino@web.de wrote:
The Service-Assistant of my hosting tried to solve, but did not found both of the default entries in mm_cfg.py. SMTPHOST = 'localhost' SMTPPORT = 0
So he's asking for accurate steps to handle SMTP Host Override (Plesk 12.5.x.).
Those settings are the defaults defined in Mailman/Defaults.py
If you want to change them, you redefine them in Mailman/mm_cfg.py and your redefinition will override the default. See <http://wiki.list.org/x/4030588>.
So, for example, to change the port to 587, you just need to add
SMTPPORT = 587
to Mailman/mm_cfg.py.
Also he wants to know, how to prevent overriding that values during next server-update.
Mailman upgrades never overwrite mm_cfg.py. What Plesk does in a Plesk update is a Plesk question that I can't answer. A Plesk update SHOULD not overwrite mm_cfg.py, but I can't say that it will or wont.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
kapuzinoï¼ web.de
-
Mark Sapiro