Lähettäjä: Ben Smithurst Päiväys: Vastaanottaja: jmatej Kopio: exim-users Aihe: [Exim] Re: MailSender Module only works with Local Addresses on Exim
jmatej wrote:
> I am having trouble executing a script with Mail Sender PERL module
> 7.04. The module allows for files to be sent as attachments through
> the smtp server. For some unknown reason the script only works if
> the target email address is local to the server. All remote email
> addresses result in an error "local user unknown". I am able to
> manually send mail to a remote address from the command prompt as well
> as from an email client. I have cut and pasted some test examples
> from the Mail Sender modules's documentation with the same resulting
> problem so I doubt it is my script. Is it possible that my ISP's
> exim is configured to allow email clients and command line to send
> remotely, but prevent scripts this permission? If so, can it be
> re-configured?
Posting the exact error message would probably help. We're not all
mind-readers here. Some of the code might also help, though I'm
personally not familiar with the Perl module you're using, someone might
know about it.
<wild guess>
Is it possible that the Perl module is using SMTP commands like,
RCPT TO:<"user@???">
or doing the equivalent from the command line? Or perhaps your code
is broken somehow, including the quotes as part of the address. For
some reason unknown to me, Sendmail thinks it's a good idea to assume
you really meant <user@???> in that case. Exim quite rightly
assumes you meant what you actually said, and takes it as the username
"user@???" within the local domain, which is unlikely to exist.
</wild guess>