Hi
I'm quite new to Exim & Cygwin.
But I could successfully download & install Exim on Cygwin with my Windows XP SP2.
I'm trying to configure exim (4.69) to send mail thru my service provider(SMTP). But my service provider requires a user/password for SMTP authentication & i'm unable to configure this. varlogeximexim_main.log shows the following error
2009-08-26 10:59:33 KOYXX3-00023K-P0 ** user@??? R=send_to_gateway T=remote_smtp: SMTP error from remote mail server after MAIL FROM: SIZE=3241: host remote_mail_server [xx.xx.xx.xx]: 530 5.7.1 Client was not authenticated
My windows XP system is on a local domain (domainA.com) & my service provider is on a remote domain (domainB.com). I just need to transfer all the mails from exim over to the remote domain.
Any help is appreciated.
Thanks
VaidyFrom frank@??? Wed Aug 26 18:27:05 2009
Envelope-to: exim-users@???
Received: from smtp115.rog.mail.re2.yahoo.com ([68.142.225.231]:29639)
by tahini.csx.cam.ac.uk with smtp (Exim 4.69)
(envelope-from <frank@???>) id 1MgLyc-00005S-Az
for exim-users@???; Wed, 26 Aug 2009 18:27:04 +0100
Received: (qmail 67525 invoked from network); 26 Aug 2009 14:21:20 -0000
Received: from unknown (HELO bcsi1.com) (frank@99.247.70.51 with login)
by smtp115.rog.mail.re2.yahoo.com with SMTP; 26 Aug 2009 14:21:20 -0000
X-YMail-OSG: w1kP0EMVM1nwGvKvLvvUHD0teSuLgrfE2BkVcCg0h3eLHUAbzbCg7tV1evWDBYlyYg--
X-Yahoo-Newman-Property: ymail-3
Received: from fang.bcsi1.com ([192.168.207.57])
by bcsi1.com with esmtp (Exim 4.22) id 1MgJNR-0007f6-GO
for exim-users@???; Wed, 26 Aug 2009 10:21:29 -0400
Message-ID: <4A9544DE.1000402@???>
Date: Wed, 26 Aug 2009 10:21:18 -0400
From: Frank S Bernhardt <frank@???>
Organization: b.c.s.i.
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: exim-users@???
References: <20090826114935.44749.qmail@???>
<20090826135508.GW18088@???>
In-Reply-To: <20090826135508.GW18088@???>
Content-Type: multipart/mixed; boundary="------------000002010402050808010803"
X-Spam-Score: -0.9 (/)
X-Spam-Status: No, score=-0.9 required=5.0 tests=AWL=-0.525, BAYES_00=-1.5,
EXIM_DRIVER=-1, EXIM_LOG=-1, FORGED_RCVD_HELO=0.135,
URIBL_BLACK=3 autolearn=no version=3.1.8
Subject: Re: [exim] ***SPAM*** Re: Configuring Exim on Cygwin for SMTP
service provider authentication
X-BeenThere: exim-users@???
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: A user list for the exim MTA <exim-users.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
<mailto:exim-users-request@exim.org?subject=unsubscribe>
List-Archive: <http://lists.exim.org/lurker/list/exim-users.html>
List-Post: <mailto:exim-users@exim.org>
List-Help: <mailto:exim-users-request@exim.org?subject=help>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/exim-users>,
<mailto:exim-users-request@exim.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Aug 2009 17:27:05 -0000
This is a multi-part message in MIME format.
--------------000002010402050808010803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi Vaidya.
Alain Williams wrote:
> On Wed, Aug 26, 2009 at 11:49:35AM -0000, Vaidya nathan wrote:
>
>> Hi
>>
>> I'm quite new to Exim & Cygwin.
>>
>> But I could successfully download & install Exim on Cygwin with my Windows XP SP2.
>>
>> I'm trying to configure exim (4.69) to send mail thru my service provider(SMTP). But my service provider requires a user/password for SMTP authentication & i'm unable to configure this.
>>
>> var\log\exim\exim_main.log shows the following error
>>
>>
>>
>> 2009-08-26 10:59:33 KOYXX3-00023K-P0 ** user@??? R=send_to_gateway T=remote_smtp: SMTP error from remote mail server after MAIL FROM: SIZE=3241: host remote_mail_server [xx.xx.xx.xx]: 530 5.7.1 Client was not authenticated
>>
>>
>>
>> My windows XP system is on a local domain (domainA.com) & my service provider is on a remote domain (domainB.com). I just need to transfer all the mails from exim over to the remote domain.
>>
>
>
I have the same problem with my isp.
> OK, add a router like:
>
> outgoing:
> driver = manualroute
> domains = ! +local_domains
> transport = domainB_auth
> route_list = * outgoingMta.domainB.com
>
>
> Have a transport like:
>
> domainB_auth:
> driver = smtp
> hosts_try_auth = mta_domainB_auth
>
> In your authenticators have:
>
> begin authenticators
>
> cram_md5:
> driver = cram_md5
> public_name = CRAM-MD5
> client_name = "${extract{auth_name}{${lookup{$host}lsearch{/etc/exim/smtp_users}{$value}fail}}}"
> client_secret = "${extract{auth_pass}{${lookup{$host}lsearch{/etc/exim/smtp_users}{$value}fail}}}"
> plain:
> driver = plaintext
> public_name = PLAIN
> client_send = "${extract{auth_plain}{${lookup{$host}lsearch{/etc/exim/smtp_users}{$value}fail}}}"
>
> # The file /etc/exim/smtp_users contains lines like:
> # mta_domainB_auth: auth_name=my_username auth_pass=secret auth_plain=^my_username^secret
>
> # See:
> # http://www.tgunkel.de/docs/exim_smarthosts.en
> # http://www.hserus.net/wiki/index.php/Exim
> # http://linux.derkeiler.com/Mailing-Lists/Debian/2005-02/1926.html
>
>
This should work but because you are only dealing with a single isp smtp
server it would be easier to not use lsearch and do something like:
begin routers
smarthost:
driver = manualroute
domains = ! +local_domains
transport = remote_smtp
# rogers
route_list = * smtp.broadband.rogers.com byname
begin transports
remote_smtp:
driver = smtp
# b.c.s.i. - we have to authenticate against this smarthost
# rogers
hosts_require_auth = smtp.broadband.rogers.com
begin authenticators
# b.c.s.i. - used to authenticate to smarthost
fixed_login:
driver = plaintext
public_name = LOGIN
# rogers
client_send = : account-name@??? : account-passwd
And just put your authentication info in plain text.
Cheers.
--
Frank S. Bernhardt
b.c.s.i.
14 Halton Court
Markham, ON. Canada
L3P 6R3
905-471-1691 Voice
905-471-3016 FAX
frank@???
Registered Linux-User #312398 with the Linux Counter,
http://counter.li.org.
--------------000002010402050808010803
Content-Type: text/x-vcard; charset=utf-8;
name="frank.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="frank.vcf"
begin:vcard
fn:Frank Bernhardt
n:Bernhardt;Frank
org:b.c.s.i.
adr:;;14 Halton Court;Markham;ON;L3P 6R3;Canada
email;internet:frank@???
tel;work:905-471-1691
tel;fax:905-471-3016
tel;cell:416-540-7694
version:2.1
end:vcard
--------------000002010402050808010803--