Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error from Milter #48

Open
paulbraxton3 opened this issue Sep 19, 2016 · 1 comment
Open

Error from Milter #48

paulbraxton3 opened this issue Sep 19, 2016 · 1 comment

Comments

@paulbraxton3
Copy link

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']

@marnao
Copy link
Contributor

marnao commented Sep 22, 2016

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.

JMPercival added a commit to JMPercival/laikaboss that referenced this issue Jun 28, 2017
JMPercival added a commit to sandialabs/laikaboss that referenced this issue Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants