You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When enabling the spam_filter option in config and installing spamassassin I am presented with an error whenever MailWay scans an incoming email.
This looks like Spam Assassin not liking the fact it has to scan a file in the /run directory, when re-running the command to the original /tmp location everything works without issue.
Jan 18 15:12:24 lev forwarding[7568]: time="2022-01-18T15:12:24Z" level=info msg="172.104.20.135 WROTE 250 2.1.5 Ok"
Jan 18 15:12:24 lev forwarding[7568]: time="2022-01-18T15:12:24Z" level=info msg="172.104.20.135 READ DATA"
Jan 18 15:12:24 lev forwarding[7568]: time="2022-01-18T15:12:24Z" level=info msg="172.104.20.135 WROTE 354 Start mail input; end with <CR><LF>.<CR><LF>"
Jan 18 15:12:24 lev forwarding[7568]: time="2022-01-18T15:12:24Z" level=info msg="run Spamassassin"
Jan 18 15:12:24 lev forwarding[20418]: Traceback (most recent call last):
Jan 18 15:12:24 lev forwarding[20418]: File "/usr/local/spamc.py", line 25, in <module>
Jan 18 15:12:24 lev forwarding[20418]: raise e
Jan 18 15:12:24 lev forwarding[20418]: File "/usr/local/spamc.py", line 22, in <module>
Jan 18 15:12:24 lev forwarding[20418]: os.replace(ftmp.name, emailfile)
Jan 18 15:12:24 lev forwarding[20418]: OSError: [Errno 18] Invalid cross-device link: '/tmp/tmpvdehya28' -> '/run/mailway/5c88808b-94b8-4ecb-b8d0-29f821286541.eml'
Jan 18 15:12:24 lev forwarding[7568]: time="2022-01-18T15:12:24Z" level=error msg="could not run spam filter: failed to run spamc.py: exit status 1"
Jan 18 15:12:24 lev forwarding[7568]: time="2022-01-18T15:12:24Z" level=info msg="172.104.20.135 WROTE 451 4.3.0 Internal server errror (message 5c88808b-94b8-4ecb-b8d0-29f821286541)"
The text was updated successfully, but these errors were encountered:
When enabling the spam_filter option in config and installing spamassassin I am presented with an error whenever MailWay scans an incoming email.
This looks like Spam Assassin not liking the fact it has to scan a file in the /run directory, when re-running the command to the original /tmp location everything works without issue.
The text was updated successfully, but these errors were encountered: