laikaboss icon indicating copy to clipboard operation
laikaboss copied to clipboard

Error from Milter

Open paulbraxton3 opened this issue 8 years ago • 1 comments

All seems to be up and running correctly, laikad, worker, broker, milter all on one box. A simple test email from command line to postfix the message is passed to milter, then I get this error:

Sep 19 08:59:56 hostname laikamilter: 0002f3446bf5 ERROR EOM: RETURNING DEFAULT (0) ['Traceback (most recent call last):\n', ' File "/var/opt/laika/laikaboss-master/milter/laikamilter.py", line 290, in eom\n self.rtnToMTA = self._dispositionMessage()\n', ' File "/var/opt/laika/laikaboss-master/milter/laikamilter.py", line 395, in _dispositionMessage\n success = dispositioner.zmqGetFlagswithRetry(self.milterConfig.zmqMaxRetry, self)\n', ' File "/var/opt/laika/laikaboss-master/milter/laikamilter.py", line 588, in zmqGetFlagswithRetry\n sendResponse = self._zmqGetFlags(numRetries, milterContext)\n', ' File "/var/opt/laika/laikaboss-master/milter/laikamilter.py", line 616, in _zmqGetFlags\n gotResponseFromScanner = self._zmqSendBuffer(milterContext, numRetries, REQUEST_TIMEOUT, SERVER_ENDPOINT)\n', ' File "/var/opt/laika/laikaboss-master/milter/laikamilter.py", line 636, in _zmqSendBuffer\n source=milterContext.milterConfig.milterName+"-"+str(myhostname[:myhostname.index(".")]),\n', 'ValueError: substring not found\n']

paulbraxton3 avatar Sep 19 '16 13:09 paulbraxton3

this will be addressed in a future commit -- but to anyone who wants a fix sooner, this assumes you have a hostname with at least one period. bad assumption.

marnao avatar Sep 22 '16 20:09 marnao