|
|
Up |
|
|
  |
Author: Jens-Olaf LindermannJens-Olaf Lindermann Date: Apr 20, 2008 05:40
Hi ng!
Now I have a problem with exim4 and outgoing mail that drives me a little
bit crazy since three days (searching the web and the man-pages). Though I
have uncommented the client-section
in /etc/exim4/conf.d/auth/30_exim4-config_examples (plain for my isp
alice-dsl.net) and then have run update-exim4.conf and restarted exim (and
I am in passw.client of course), I can't send emails to my yahoo-adress for
example, though local mail delivery works perfect and receiving messages
from local and from web via fetchmail too!
When I run exim4 -v -odf jenslindermann@yahoo.de
My cute email
.
I get this:
LOG: MAIN
<= root@COMPUTER U=root P=local S=278
delivering 1JnYiY-0001Hu-R5
R: smarthost for jenslindermann@yahoo.de
T: remote_smtp_smarthost for jenslindermann@yahoo.de
Connecting to out.alice-dsl.net...
|
| Show full article (2.44Kb) |
|
| | 22 Comments |
|
  |
Author: Robert HarrisRobert Harris Date: Apr 20, 2008 10:17
Jens-Olaf Lindermann wrote:
> Hi ng!
>
> Now I have a problem with exim4 and outgoing mail that drives me a little
> bit crazy since three days (searching the web and the man-pages). Though I
> have uncommented the client-section
> in /etc/exim4/conf.d/auth/30_exim4-config_examples (plain for my isp
> alice-dsl.net) and then have run update-exim4.conf and restarted exim (and
> I am in passw.client of course), I can't send emails to my yahoo-adress for
> example, though local mail delivery works perfect and receiving messages
> from local and from web via fetchmail too!
>
> When I run exim4 -v -odf jenslindermann@yahoo.de
> My cute email
> .
>
> I get this:
>
> LOG: MAIN
> <= root@COMPUTER U=root P=local S=278 ...
|
| Show full article (2.77Kb) |
|
| | no comments |
|
  |
Author: Jens-Olaf LindermannJens-Olaf Lindermann Date: Apr 20, 2008 10:34
Robert Harris wrote:
>
> Your smarthost will not relay mail from jenslindermann@yahoo.de - if you
> have a different "From:" email address, say, somebody@alice-dsl.de then
> it will probably work fine.
Hi Robert,
alas it will not... Local deliver works fine: As I send myself an email at
my local adress, I will see it in mutt. But when I try to send e-mails to,
say, jenslindermann@yahoo.de (to the www), there always comes the
message "SMTP 550 5.7.1 Unable to relay..." This is strange, because with
kmail or icedove smtp it works.
confused
Jens
I know it is OT here, but in the german mailserver-group nobody answers. And
beside - exim is not a mailserver but a mailclient in my case. ;-)
--
Debian GNU/Linux 4.0 stable
|
| |
| no comments |
|
  |
Author: John F. MorseJohn F. Morse Date: Apr 20, 2008 11:38
Jens-Olaf Lindermann wrote:
> Robert Harris wrote:
>
>
>
>> Your smarthost will not relay mail from jenslindermann@yahoo.de - if you
>> have a different "From:" email address, say, somebody@alice-dsl.de then
>> it will probably work fine.
>>
>
> Hi Robert,
>
> alas it will not... Local deliver works fine: As I send myself an email at
> my local adress, I will see it in mutt. But when I try to send e-mails to,
> say, jenslindermann@yahoo.de (to the www), there always comes the
> message "SMTP 550 5.7.1 Unable to relay..." This is strange, because with
> kmail or icedove smtp it works.
>
> confused
> Jens ...
|
| Show full article (2.38Kb) |
| no comments |
|
  |
Author: Jens-Olaf LindermannJens-Olaf Lindermann Date: Apr 20, 2008 13:11
John F. Morse wrote:
Hi John,
> Have you tried to reconfigure Exim with sudo dpkg-reconfigure exim4-config
I have reconfigured it.
1. split in multiple files
2. SMTP and smarthost (fetchmail),
3. E-Mail-Name of my system: Name of my machine
4. IP 127.0.0.1
5. further domains: name of my machine
6. relay: empty
7. smtp.mailserver.org:25
8. Hide local E-Mail-Name: Yes
9. visible name: mailserver.org
10.minimize DNS: Yes
11.mbox /var/mail/
And I have also configured the client-section of my template-file in confd/.
> Also check your /etc/aliases file to make sure it is correct because
> Exim uses it.
must there stand something special for me 'user'?
|
| Show full article (0.77Kb) |
| no comments |
|
  |
Date: Apr 20, 2008 13:08
On Sun, 20 Apr 2008 14:40:23 +0200, Jens-Olaf Lindermann wrote:
> Though I
> have uncommented the client-section
> in /etc/exim4/conf.d/auth/30_exim4-config_examples (plain for my isp
> alice-dsl.net)
that's the wrong place, if I understand you correctly.
from the top of this file:
# The examples below are for server side authentication, when the
# local exim is SMTP server and clients authenticate to the local
# exim.
in your case you don't want to authenticate against your local exim
but you want your exim (as a client) to authenticate against your
smarthost (i.e. alice).
> and then have run update-exim4.conf and restarted exim (and
> I am in passw.client of course),
passwd.client is one of the two needed places.
|
| Show full article (2.10Kb) |
| no comments |
|
  |
Date: Apr 20, 2008 13:32
On Sun, 20 Apr 2008 22:11:56 +0200, Jens-Olaf Lindermann wrote:
>> Also check your /etc/aliases file to make sure it is correct because
>> Exim uses it.
> must there stand something special for me 'user'?
TTBOMK /etc/aliases is for _incoming_ mail, which doesn't seem to be
your problem.
/etc/email-addresses can be used to "translate" local usernames to
mailadresses for outgoing mail.
gregor
|
| |
| no comments |
|
  |
Author: Jens-Olaf LindermannJens-Olaf Lindermann Date: Apr 20, 2008 14:01
gregor herrmann wrote:
>
> # The examples below are for server side authentication, when the
> # local exim is SMTP server and clients authenticate to the local
> # exim.
Hi Gregor,
great, much help here for me newbie - thanks! I am so confused that
information goes probably wrong. I have uncommented the client-side
authentication 'plain' and 'login' in exim4.conf.template and run update.
> doesn't look like any authentication actually happens.
> (and is out.alice-dsl.de really alice's smtp-relay for customers?)
smtp.alice-dsl.net is just an alias for out.alice-dsl.de is, which I have
found out running the 'host' command. But how can I get authentication
work? (I swear I write a tutorial for alice!)
> the second place (though you probably have that set?) is
> update-exim4.conf.conf, which needs a line like:
> dc_smarthost='smtp.alice.de'
This line is there and identical with passwd.client too.
|
| Show full article (0.98Kb) |
| no comments |
|
  |
Date: Apr 20, 2008 14:34
On Sun, 20 Apr 2008 23:01:22 +0200, Jens-Olaf Lindermann wrote:
>> doesn't look like any authentication actually happens.
>> (and is out.alice-dsl.de really alice's smtp-relay for customers?)
> smtp.alice-dsl.net is just an alias for out.alice-dsl.de is, which I have
> found out running the 'host' command.
ok.
> But how can I get authentication
> work? (I swear I write a tutorial for alice!)
so you now have:
out.alice-dsl.de:alice-user:alice-password
in passwd.client and
dc_smarthost='out.alice-dsl.de'
in update-exim4.conf.conf and it's still not working?
when you run update-exim4.conf it should expand the dc_smarthost
variable from update-exim4.conf.conf; the resulting file is
/var/lib/exim4/config.autogenerated; you can take look there (search
for DCsmarthost).
|
| Show full article (1.47Kb) |
| no comments |
|
  |
|
|
  |
Author: John F. MorseJohn F. Morse Date: Apr 20, 2008 19:21
gregor herrmann wrote:
> On Sun, 20 Apr 2008 22:11:56 +0200, Jens-Olaf Lindermann wrote:
>
>>> Also check your /etc/aliases file to make sure it is correct because
>>> Exim uses it.
>>>
>> must there stand something special for me 'user'?
>>
>
> TTBOMK /etc/aliases is for _incoming_ mail, which doesn't seem to be
> your problem.
> /etc/email-addresses can be used to "translate" local usernames to
> mailadresses for outgoing mail.
>
>
> gregor
>
|
| Show full article (4.94Kb) |
| no comments |
|
|
|
|