[courier-users] Mailfilter and '&' in email address
Brought to you by:
mrsam
|
From: Svetozar M. <courier@j.zarhi.com> - 2012-01-31 21:56:29
|
Hello, Recently I discover email in queue which stays forever and delivers over and over. The problem was '&' in local part of email address. Server is Centos 5.7, courier-authlib-0.63.0, courier-0.65.0. Logs: Jan 31 15:50:30 courierd: started,id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,module=local,hos...@ex...!!1001!1001!/home/vmail/example.com/all!!1000000000S,addr=<al...@ex...> Jan 31 15:50:36 courierlocal: id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,addr=<al...@ex...>: sh: m...@ex...: command not found Jan 31 15:50:36 courierlocal: id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,addr=<al...@ex...>: maildrop: error writing to mailbox. Jan 31 15:50:36 courierlocal: id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,addr=<al...@ex...>: maildrop: Unable to deliver to mailbox. Jan 31 15:50:36 courierlocal: id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,addr=<al...@ex...>,status: deferred Jan 31 15:55:36 courierd: started,id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,module=local,hos...@ex...!!1001!1001!/home/vmail/example.com/all!!1000000000S,addr=<al...@ex...> Jan 31 15:55:41 courierlocal: id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,addr=<al...@ex...>: sh: m...@ex...: command not found Jan 31 15:55:41 courierlocal: id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,addr=<al...@ex...>: maildrop: error writing to mailbox. Jan 31 15:55:41 courierlocal: id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,addr=<al...@ex...>: maildrop: Unable to deliver to mailbox. Jan 31 15:55:41 courierlocal: id=0000000000A68015.000000004F279986.00005EF9,from=<em...@ex...>,addr=<al...@ex...>,status: deferred .mailfilter problem line: cc "!m&m...@ex..." Is '&' are allowed char in email address? If yes, how to escape '&' in .mailfilter? There is no other problems with 'm&m...@ex...'. Thanks, Svetozar Mihailov |