Re: [exim] ETRN?

Top Page
Delete this message
Reply to this message
Author: Odhiambo G. Washington
Date:  
To: exim-users
CC: Chris Knipe
Subject: Re: [exim] ETRN?
* On 20/12/05 19:06 +0200, Chris Knipe wrote:
> Hi (again, yes),
>
> Ok, playing with ETRN now... Is there anything funny with Exim's ETRN
> implementation????
>
> I did read the documents, and I saw in the docs that # is required. Now,
> just for testing and implementing for now, I've created myself a dummy etrn
> access list, and permitted everything:
>
> acl_check_etrn:
> accept
>
> This seems to work - at least, Exim now advertises ETRN after the EHLO
> command. But, the compatibility?!?!?!?!?!? Fetchmail barfs at me when I
> try and use it, logs moan:
> ETRN domain.com received from host
> SMTP syntax error in "ETRN domain.com" ... argument must begin with #
>
> That's when I use fetchmail -p ETRN --fetchdomains domain.com
> smtp.myserver.com
>
> It's really critical that I get this right :((( Hope anyone can help me
> out here... Will it still complain about this if I use smtp_etrn_command?
> Anyway to get around this????



Hi Chris,

This is how we do it:

<cut>

# We have to be support those broken Microsuck Servers which send ETRN @

smtp_etrn_command = "/usr/local/sbin/exim -R \"${if match {$domain} {^[@#]} {${substr_1:$domain}} {$domain}}\""


    cheers!


 - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                    . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com            . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223            . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121            . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post