
ian.carmichael at tronsystems
Jul 12, 2013, 4:23 AM
Post #1 of 1
(57 views)
Permalink
|
|
[Bug 1367] New: Odd behaviour of regex rewriting
|
|
------- You are receiving this mail because: ------- You are on the CC list for the bug. http://bugs.exim.org/show_bug.cgi?id=1367 Summary: Odd behaviour of regex rewriting Product: Exim Version: 4.72 Platform: x86-64 OS/Version: Linux Status: NEW Severity: bug Priority: medium Component: Address Rewriting AssignedTo: nigel [at] exim ReportedBy: ian.carmichael [at] tronsystems CC: exim-dev [at] exim We've had a few rewrite rules working fine but these were mapping one fixed address to another. I've tried using a regular expression in the address rewrite: \N^username\d{6}@domain$\N username [at] domai EhS (where I've substituted username and domain for the values I'm using) I can do: exim -brw username123456 [at] domai SMTP: username [at] domai sender: username [at] domai from: username [at] domai to: username [at] domai cc: username [at] domai bcc: username [at] domai reply-to: username [at] domai env-from: username [at] domai env-to: username [at] domai which is the result I want. I can also do a telnet session from a remote computer and send a message via HELO, MAIL FROM, RCPT TO and the rewrite happens and the mail gets through. When I try and send from other places e.g. Yahoo, Google then I get an unknown recipient: 2013-07-12 12:00:47 H=nm8-vm1.bullet.mail.ird.yahoo.com [77.238.189.198] F=<me [at] yahoo> rejected RCPT <username123456 [at] domai>: Unknown recipient. Have I missed something? or is something not working as expected? -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
|