Re: [exim] Exim remote smtp response code

2012-07-03 Thread Marcin Mirosław
W dniu 01.07.2012 06:23, Nguyen Quan pisze:
 Hello Exim,
 
 I'm using Exim right now, and I have some issues to solve.
 How can I config in exim.conf to return every of remote smtp response code,
 include 2xx, 4xx and 5xx, when Exim connect to another mail server such as
 Yahoo or Google?

Hi!
Does smtp_* options in log_selector[1] do want you need?
Regards

[1]-
http://www.exim.org/exim-html-current/doc/html/spec_html/ch51.html#SECTlogselector

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


Re: [exim] Exim remote smtp response code

2012-07-03 Thread Todd Lyons
On Sat, Jun 30, 2012 at 9:23 PM, Nguyen Quan minhquan...@gmail.com wrote:
 Hello Exim,

 I'm using Exim right now, and I have some issues to solve.
 How can I config in exim.conf to return every of remote smtp response code,
 include 2xx, 4xx and 5xx, when Exim connect to another mail server such as
 Yahoo or Google?

Add this to your exim.conf:

log_selector = +smtp_confirmation

Your log lines will change from this:
2012-07-01 19:05:12 1SlPSH-0007Vj-DB = obfusca...@gmail.com
R=dnslookup_iv_hosts T=remote_smtp_iv_hosts
H=gmail-smtp-in-v4v6.l.google.com [173.194.79.27] X=TLSv1:RC4-SHA:128

to this:
2012-07-01 19:05:12 1SlPSH-0007Vj-DB = obfusca...@gmail.com
R=dnslookup_iv_hosts T=remote_smtp_iv_hosts
H=gmail-smtp-in-v4v6.l.google.com [173.194.79.27] X=TLSv1:RC4-SHA:128
C=250 2.0.0 OK 1341169512 pu9si2185203pbc.178

...Todd
-- 
The total budget at all receivers for solving senders' problems is $0.
 If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/