`lmpt_port` corrected tio `lmtp_port`
This is such a bonkers error. Would have actually just shown up if I hadn't been in a try loop.
This commit is contained in:
parent
6e13955b08
commit
ed07bec6e5
|
@ -33,4 +33,5 @@ This is our current version trying to communicate between courier and mailman3.
|
|||
* Maybe this is better?
|
||||
* Catch exception, log based on that?
|
||||
* Hm, go with bare "Exception"... The catch wasn't what was failing.
|
||||
* Let's try that instead?
|
||||
* Let's try that instead?
|
||||
* Oh man... Variable not properly defined (or more derferenced.)
|
|
@ -36,7 +36,7 @@ try:
|
|||
# class smtplib.LMTP(host='', port=LMTP_PORT, local_hostname=None, source_address=None)
|
||||
logger.info('lmtp_port: %s', lmtp_port)
|
||||
lmtp = smtplib.LMTP(lmtp_host, int(lmtp_port))
|
||||
logger.info('lmtp_port (lmtp setup): %s', lmpt_port)
|
||||
logger.info('lmtp_port (lmtp setup): %s', lmtp_port)
|
||||
|
||||
try:
|
||||
# Unfortunately qmail sends to local bare LF for end line, while
|
||||
|
|
Loading…
Reference in New Issue