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 ** [email protected] 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.
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
--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT
Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information:
http://www.phcomp.co.uk/contact.php
Past chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>
--
## List details at http://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/