1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

fixes bug with receiving messages to the return path

treats all messages sent to the return path and any domain with the return path prefix the same
هذا الالتزام موجود في:
Adam Cooke
2017-05-16 14:49:56 +01:00
الأصل 9a76538f11
التزام 4106ac6c7e

عرض الملف

@@ -256,7 +256,7 @@ module Postal
uname, domain = rcpt_to.split('@', 2)
uname, tag = uname.split('+', 2)
if domain =~ /\A#{Regexp.escape(Postal.config.dns.custom_return_path_prefix)}\./
if domain == Postal.config.dns.return_path || domain =~ /\A#{Regexp.escape(Postal.config.dns.custom_return_path_prefix)}\./
# This is a return path
@state = :rcpt_to_received
if server = ::Server.where(:token => uname).first