Re: [exim] am i too stupid for exim4?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Andrei
Fecha:  
A: exim-users, ssmeenk
Asunto: Re: [exim] am i too stupid for exim4?
How do I make exim on my lists.hosts.org its own SMTP server that can lookup
and send emails to other domains?
I have no other SMTP server that can send those emails for me.


On Wed, Sep 2, 2009 at 11:47 PM, Sander Smeenk <ssmeenk@???> wrote:

> Quoting Andrei (funactivities@???):
>
> > > Probably your 'remote_smtp' transport, responsible
> > > for delivery to remote SMTP-servers, is failing or wrong.
> >
> > Where do I define remote_smtp?
>
> In your exim4.conf. As one of the first routers.
>
> As you seem to use the Debian 'split configuration' setup, you'd
> probably have to 'dpkg-reconfigure -plow exim4-config' and choose the
> 'internet site' configuration type: "mail is sent and received directly
> using SMTP". Your best bet is to move over to the Debian Exim4
> mailinglist, as described in
> /usr/share/doc/exim4-config/README.Debian.gz, '1.2 Getting Support'.
> The guys over there know exactly how to work with the split configs.
>
> > Output of exim -d+route -bt mygmail@???
> [ .. ]
> > --------> hubbed_hosts router <--------
> > --------> real_local router <--------
> > --------> system_aliases router <--------
> > --------> mailman_router router <--------
> > --------> userforward router <--------
> > --------> procmail router <--------
> > --------> maildrop router <--------
> > --------> lowuid_aliases router <--------
> > --------> local_user router <--------
> > --------> mail4root router <--------
> > no more routers
> > mygmail@??? is undeliverable: Unrouteable address
>
> None of your current routers are set up to deliver to 'remote hosts'.
> A 'remote host' would be any domain not handled by your own server.
>
> A router along the lines of:
>
> | remote_smtp:
> |         debug_print = ":R remote_smtp [ $header_from ] [ $return_path ]"
> |         driver = dnslookup
> |         domains = ! +local_domains
> |         transport = remote_smtp
> |         ignore_target_hosts = <; 0.0.0.0 ; 127.0.0.0/8 ; ::1
> |         cannot_route_message = Cannot route to remote domain
> |         no_more

>
> as one of the first in your configuration, with the transport
> 'remote_smtp' defined as:
>
> | remote_smtp:
> |     driver = smtp

>
> would pretty much solve your problems.
>
> HTH,
> -Sndr.
> --
> | Spend some time trying hard not to think about giraffes.
> | 4096R/6D40 - 1A20 B9AA 87D4 84C7 FBD6 F3A9 9442 20CC 6CD2
>
> --
> ## 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/
>