postalserver / postalserver/postal

BUG: routed emails not sent when ClamAV is enabled.

Open
#2,989 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Ruby
Stars
16.8k
Forks
1.3k
Avg merge
13d 7h
Merged PRs (30d)
2

Description

## Describe the bug
When clamav is enabled, I can send emails using the SMTP connector with an SMTP key, but when I try to reply to an email that was sent from the SMTP that try to use a route and an address endpoint, it cannot send the mail
the message is stuck in "Incoming Messages" with this error message

May 24, 2024 12:34
Error
An internal error occurred while sending this message. This message will be retried automatically.
TypeError: no implicit conversion of Array into String

## To Reproduce
1 clamav installed
2 postal.yml
clamav:
enabled: true
host: 127.0.0.1
port: 2000
3 postal restart
4 new email to route1@domain.com from your prefered email client application
5 mail comes in and stays stuck

## Expected behaviour

message should be sent to the route

## Screenshots

![image](https://github.com/postalserver/postal/assets/63370623/54000749-a70a-42ae-b439-87129b5b0527)
![image](https://github.com/postalserver/postal/assets/63370623/1d37c51f-9544-4845-bc73-e8fb434267d4)

## Environment details

- OS: ubuntu 22.04 Lts
- Version Postal 3.3.3

## Additional information/context
same error mentionned here #2941

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.