On 6/21/05, Craig Russell <[EMAIL PROTECTED]> wrote: > > > Maurits van Rees wrote: > > >On Tue, Jun 21, 2005 at 03:17:35AM +0800, Xiaoyang Gu wrote: > > > > > >>But when I sent non-local mail by exim4, I got such messages in the > >>mainlog in /var/log/exim4: > >>sorry, relay is not allowed.(#5.3.3) or Client was not authenticated > >> > >>Who can tell me how to configure exim4 to use the public server to send > >>mails? > >> > >> > > > >Are there any other lines in this log file that might shed some light > >on this? > > > >My guess is that your setup is correct and you are trying to send an > >email through that public server, but the public server isn't allowing > >it, because it doesn't know you and therefor doesn't trust you. It > >might think you are a spammer. Usually you have to use the SMTP server > >that belongs to the ISP whose network you are connected to. Then the > >system knows you and trusts you. In some cases it may help to fetch > >mail and send mail together, if your email program can do that. But if > >you try to send a mail through the mail server that belongs to your > >current internet connection it should just work. If you are not sure > >which mail server you should use, then ask your ISP. > > > >HTH, > > > > > > > Your isp is requiring authentication to send email to any domain that he > is not hosting. I do the same thing on my mailserver for just the same > reasons. Usually the smtp authorization is the same as the POP > authorization. I'm not sure how to setup exim to authenticate (or if it > is even possible) but I doubt that your ISP is going to let you open > relay through his server because that opens him up to potential > blacklisting if your mailserver is configured incorrectly.
I have did some thing and it seemed to work. For the public server that i use just support PLAINTEXT auth, so I add an option "AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = 1" in /etc/exim4/exim4.conf.template. After update-exim4.conf and restart the exim4 server, I can user exim4 to send mail correctly. > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > >