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 jenslin...@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 jenslin...@yahoo.de
T: remote_smtp_smarthost for jenslin...@yahoo.de
Connecting to out.alice-dsl.net [IP-ADRESS]:25 ... connected
SMTP<< 220 out.alice-dsl.de SMTP Server Sun, 20 Apr 2008 14:25:44 +0200
SMTP>> EHLO Hades
SMTP<< 250-out.alice-dsl.de Hello [IP-ADRESS]
250-TURN
250-SIZE 141557760
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-X-LINK2STATE
250-XEXCH50
250 OK
SMTP>> MAIL FROM:<ro...@alice-dsl.net> SIZE=1310
SMTP>> RCPT TO:<jenslin...@yahoo.de>
SMTP>> DATA
SMTP<< 250 2.1.0 ro...@alice-dsl.net....Sender OK
SMTP<< 550 5.7.1 Unable to relay for jenslin...@yahoo.de
SMTP<< 554 5.5.2 No valid recipients
SMTP>> QUIT
LOG: MAIN
** jenslin...@yahoo.de R=smarthost T=remote_smtp_smarthost: SMTP error
from remote mail server after RCPT TO:<jenslin...@yahoo.de>: host
out.alice-dsl.net [IP-ADRESS]: 550 5.7.1 Unable to relay for
jenslin...@yahoo.de
LOG: MAIN
<= <> R=1JnYiY-0001Hu-R5 U=Debian-exim P=local S=1193
delivering 1JnYih-0001Hx-H8
R: system_aliases for root@COMPUTER
R: system_aliases for lindermann@COMPUTER
R: userforward for lindermann@COMPUTER
R: procmail for lindermann@COMPUTER
T: procmail_pipe for lindermann@COMPUTER
LOG: MAIN
=> lindermann <root@Hades> R=procmail T=procmail_pipe
LOG: MAIN
Completed
LOG: MAIN
Completed
Hope you can help me - and again: sorry for my 'German' English.
Jens
--
Debian GNU/Linux 4.0 stable
Your smarthost will not relay mail from jenslin...@yahoo.de - if you
have a different "From:" email address, say, some...@alice-dsl.de then
it will probably work fine.
Robert
>
> Your smarthost will not relay mail from jenslin...@yahoo.de - if you
> have a different "From:" email address, say, some...@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, jenslin...@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. ;-)
Exim is an MTA (Mail Transfer Agent) -- an SMTP mail server.
It is not a POP3 or IMAC mailbox server -- an MDA (Mail Delivery Agent).
Your "client" would be Mutt and/or Mail/Mailx, Icedove, KMail, etc. They
are MUAs (Mail User Agents).
Do you have Exim configured correctly? I receive nightly logs sent by
INN running on a Sarge box, which go to my MTA+MDA (Stalker Internet
Mail Server -- SIMS) running on an old Mac. I download them from a
Ubuntu box into Thunderbird.
I can also send mail to an Internet address from that same computer, if
I use a FQDN.
I do use a BIND9 DNS server on the LAN though, which would make
addressing different than sending out to an ISP mailbox. So using a FQDN
might be required in your case.
Have you tried to reconfigure Exim with sudo dpkg-reconfigure exim4-config ?
Maybe trying a low priority ( sudo dpkg-reconfigure -plow exim4-config )
to see all of the options. If available, -pcritical is even more thorough.
You can choose one of four types of configurations. If I remember
correctly, "Internet" should be the choice, indicating the mail is not
to be kept on the local machine. Just read the questions carefully and
select the best answer.
Also check your /etc/aliases file to make sure it is correct because
Exim uses it.
-
John
No Microsoft, Apple, Intel, Trend Micro, nor Ford products were used in the preparation or transmission of this message.
The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
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'?
Hope that there are some more informations for you.
Jens
> 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.
> SMTP<< 220 out.alice-dsl.de SMTP Server Sun, 20 Apr 2008 14:25:44 +0200
> SMTP>> EHLO Hades
> SMTP<< 250-out.alice-dsl.de Hello [IP-ADRESS]
> 250-TURN
> 250-SIZE 141557760
> 250-ETRN
> 250-PIPELINING
> 250-DSN
> 250-ENHANCEDSTATUSCODES
> 250-8bitmime
> 250-BINARYMIME
> 250-CHUNKING
> 250-VRFY
> 250-X-EXPS GSSAPI NTLM LOGIN
> 250-X-EXPS=LOGIN
> 250-AUTH GSSAPI NTLM LOGIN
> 250-AUTH=LOGIN
> 250-X-LINK2STATE
> 250-XEXCH50
> 250 OK
> SMTP>> MAIL FROM:<ro...@alice-dsl.net> SIZE=1310
> SMTP>> RCPT TO:<jenslin...@yahoo.de>
> SMTP>> DATA
doesn't look like any authentication actually happens.
(and is out.alice-dsl.de really alice's smtp-relay for customers?)
the second place (though you probably have that set?) is
update-exim4.conf.conf, which needs a line like:
dc_smarthost='smtp.alice.de'
one trap I ran into was that the hostname in update-exim4.conf.conf
and in passwd.client has to be _identical_.
gregor
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian gnu/linux user, admin & developer - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Josh With: Downhearted man blues
>> 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
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian gnu/linux user, admin & developer - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Cranberries: Linger
>
> # 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.
Grmpf!
>> 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).
ah, another idea:
again in update-exim4.conf.conf:
dc_eximconfig_configtype='smarthost'
(otherwise the mails are not sent via the configured smarthost, if I
understand all these variables correctly)
>> 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.
good.
gregor
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian gnu/linux user, admin & developer - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Carole King: It's Too Late
Well, you might be correct, but I have my aliases file set up to forward
my (root's) mail to a mail box on my mail server, which runs on a
PowerMac on the same LAN. That way I can retrieve it using a mail client
(usually Thunderbird) remotely from a Ubuntu box.
Here's what my aliases looks like on my INN NNTP (Debian Sarge) server box:
# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: jo...@myprivate.net
/etc/aliases (END)
As you can see, every mailbox is aliased to root, which then is aliased
to an "Internet" type address (jo...@myprivate.net).
From man aliases(5):
The aliases(5) table provides a system-wide mechanism to redirect mail
for local recipients. The redirections are processed by the
Postfix
local(8) delivery agent.
From man local(8):
The local(8) daemon processes delivery requests from the Postfix queue
manager to deliver mail to local recipients. Each delivery
request
specifies a queue file, a sender address, a domain or host to
deliver
to, and one or more recipients. This program expects to be
run from
the master(8) process manager.
That seems to agree with what my Exim4 server is doing with the aliases
file -- specifying a sender address at a domain. If it was only for that
computer, then a domain wouldn't be needed since the mail is local to
that machine.
Does this make sense?
This is probably not Jens' problem at all, but the aliases file, at
least in my case, had to be edited for my nightly news server to be
mailed to the user "news" and then get it forwarded (through user root)
to me at my SIMS mailbox.
These computers are all on the same LAN, and there is a BIND9 DNS name
server also on the LAN, which might make things easier for me in my setup.
As a test, I can ssh into the news server computer, use mail, and send a
message to an Internet address without any trouble. The aliases file was
not used during the test though, but my Exim4 is processing Internet mail.
I have done this test, using an Internet mailbox, and then a local (LAN)
mailbox on the SIMS server.
Here is an Internet message header (my domain is munged into "my.net"
for security):
From - Sun Apr 20 21:06:08 2008
X-Account-Key: account10
X-UIDL: 2114849
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: jo...@news7.my.net
Received: from [192.168.1.24] (HELO postoffice.att.net) by my.net (Stalker SMTP Server 1.8b8) with ESMTP id S.0002114849 for <jo...@mail.my.net>; Sun, 20 Apr 2008 21:02:52 -0500
Received: from sccwmxc01.att.net ([204.121.202.84])
by att.net (mtiwmxc11) with ESMTP
id <2008042101573201100pa4fpe>; Mon, 21 Apr 2008 01:57:32 +0000
Received: from my.net ([75.222.206.194])
by att.net (sccwmxc01) with SMTP
id <20080421015731s01007k0rre>; Mon, 21 Apr 2008 01:57:31 +0000
X-Originating-IP: [75.222.206.194]
Received: from [192.168.1.31] (HELO localhost) by my.net (Stalker SMTP Server 1.8b8) with ESMTP id S.0002114848 for <xan...@att.net>; Sun, 20 Apr 2008 20:57:28 -0500
Received: from john by localhost with local (Exim 4.50)
id 1JnlHc-0003XH-6z
for xan...@att.net; Sun, 20 Apr 2008 20:57:28 -0500
To: xan...@att.net
Subject: Test
Message-Id: <E1JnlHc-0003XH-6z@localhost>
From: "John F. Morse" <jo...@news7.my.net>
Date: Sun, 20 Apr 2008 20:57:28 -0500
Here is an intranet (LAN only) message header:
From - Sun Apr 20 21:02:04 2008
X-Account-Key: account1
X-UIDL: 2114847
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: jo...@news7.my.net
Received: from [192.168.1.31] (HELO localhost) by my.net (Stalker SMTP Server 1.8b8) with ESMTP id S.0002114847 for <jo...@my.net>; Sun, 20 Apr 2008 20:56:58 -0500
Received: from john by localhost with local (Exim 4.50)
id 1JnlH7-0003XD-7q
for jo...@my.net; Sun, 20 Apr 2008 20:56:57 -0500
To: jo...@my.net
Subject: test
Message-Id: <E1JnlH7-0003XD-7q@localhost>
From: "John F. Morse" <jo...@news7.my.net>
Date: Sun, 20 Apr 2008 20:56:57 -0500
--
Where is this confd file? I can't locate it on my Debian Etch boxes.
>> Also check your /etc/aliases file to make sure it is correct because
>> Exim uses it.
>>
>
> must there stand something special for me 'user'?
>
I think you can disregard the aliases file as Gregor mentioned. I had
only mentioned it because I remember needing to configure it for my user
"news" mail to be forwarded.
> Hope that there are some more informations for you.
Yes, but I've run out of "steam" for the day. I got up early, and have
worked in the yard part of the day.
Jens, I'll need to go fire up a test box and run the dpkg-reconfigure
exim4-config and see how your results compare to mine.
It's getting late at night here in the Kansas City area (2145 already),
so it will be sometime tomorrow before I can get down to the basement to
boot a spare Debian box.
If you haven't figured it out by tomorrow, or received a
more-knowledgeable help reply than I can give from my failing memory,
I'll try it and be back here with the reconfigure results.
--
> 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?
Yes, sorry, gregor (now you can understand, why I am so confused...)
dc_smarthost has the same entry as my passwd.client. And
config.autogenerated has it too at the DCsmarthost line.
Jens
Could it be an error of alice too?
> Where is this confd file? I can't locate it on my Debian Etch boxes.
Sorry, John - I have meant /etc/exim4/conf.d/ and the files stored there in
the subfolders.
This is the output of my re-delivered mutt:
Return-path: <lindermann@machine>
Received: from lindermann by machine with local (Exim 4.63)
(envelope-from <lindermann@machine>)
id 1JnpZe-00015E-RV
for jenslin...@yahoo.de; Mon, 21 Apr 2008 08:32:22 +0200
Date: Mon, 21 Apr 2008 08:32:22 +0200
From: "Jens-Olaf Lindermann" <Myemail@alice>
To: jenslin...@yahoo.de
Subject: Test
Message-ID: <20080421063222.GA4163@Hades>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.13 (2006-08-11)
Test
Greetings from Berlin
>> 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?
> Yes, sorry, gregor (now you can understand, why I am so confused...)
I understand your confusion :)
> dc_smarthost has the same entry as my passwd.client. And
> config.autogenerated has it too at the DCsmarthost line.
and you have
dc_eximconfig_configtype='smarthost'
in update-exim4.conf.conf?
> Could it be an error of alice too?
well, yes, you could check with any email client.
but if I remember your log correctly exim didn't even try to
authenticate ...
gregor
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian gnu/linux user, admin & developer - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Funny Van Dannen: Räumliche Distanz
> I understand your confusion :)
Thanks gregor ;-)
configtype smarthost I have in my update-exim4.conf indeed. A curious thing
about the configuration is, that in the case I have
written 'mail.alice-dsl.net' instead of 'smtp.alice-dsl.net' the
message 'unable to relay' turns to authentication failure... As I now have
found out, it could be an error of my isp, because they naturally won't
relay an email of an external host (spam) and so the relayhost is different
from my normal email-configuration.
> well, yes, you could check with any email client.
kmail works fine...
I will try on - being a little 'blockhead' (in the positive sense - don't
know the right word for this...)
Jens
OK, Jens, I have reconfigured my Exim4 server on a spare Debian Etch
box. My settings are quite different than yours.
1. split in multiple files -- No, I use a single file.
2. SMTP and smarthost (fetchmail) -- No, I use "Internet Site."
3. E-Mail-Name of my system: Name of my machine -- No, I use a FQDN.
4. IP 127.0.0.1 -- This is OK since I don't expect incoming mail.
5. further domains: name of my machine -- No, I use a FQDN.
6. relay: empty -- This is OK.
7. smtp.mailserver.org:25 -- No, mine is blank.
8. Hide local E-Mail-Name: Yes -- Not used.
9. visible name: mailserver.org -- Not used.
10.minimize DNS: Yes -- No, I have "No" chosen.
11.mbox /var/mail/ -- Yes, this is what I use.
Numbers 7 through 9 are probably because number 2 is Internet Site.
I sent a test e-mail message from the computer to an Internet address
and it worked perfectly. It went out from Exim4 on my cable ISP to
another ISP, att.net. Then I used Fetchmail to retrieve it and put it on
my SIMS server.
Here is the message header (with some munging):
From - Mon Apr 21 17:17:47 2008
X-Account-Key: account10
X-UIDL: 2115065
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: jo...@optim3.my.net
Received: from [192.168.1.24] (HELO postoffice.att.net) by my.net (Stalker SMTP Server 1.8b8) with ESMTP id S.0002115065 for <m...@mail.my.net>; Mon, 21 Apr 2008 17:07:28 -0500
Received: from sccwmxc02.att.net ([205.127.208.84])
by att.net (mtiwmxc18) with ESMTP
id <2008042121595001800ngbvhe>; Mon, 21 Apr 2008 21:59:51 +0000
Received: from localhost (75-224-216-191.dyn.cable.net[75.224.216.191])
by att.net (sccwmxc02) with ESMTP
id <20080421202936s0200avh5fe>; Mon, 21 Apr 2008 20:29:36 +0000
X-Originating-IP: [75.224.216.191]
Received: from john by localhost with local (Exim 4.63)
(envelope-from <jo...@optim3.my.net>)
id 1Jo2dn-0000PY-3s
for mym...@att.net; Mon, 21 Apr 2008 15:29:31 -0500
To: mym...@att.net
Subject: Test
Message-Id: <E1Jo2dn-0000PY-3s@localhost>
From: john <jo...@optim3.my.net>
Date: Mon, 21 Apr 2008 15:29:31 -0500
It's been so long since I read your original failure report that I'm
confused what you were trying to do. ;-)
My memory says it was a failure to be able to send e-mail out to the
Internet. If this is so, then maybe my configuration will fix it.
If it was another problem, please accept my apology for straying off the
path.
I'm sorry this test took so long but the att.net ISP has a problem today
with their POP3 server and their Webmail interface. I had not received
any bounce message back to Exim4, so I suspected att.net had a problem,
which just cleared up in the past hour.
--
Hi John,
> 1. split in multiple files -- No, I use a single file.
Ok, I too now
> 2. SMTP and smarthost (fetchmail) -- No, I use "Internet Site."
smtp and over smarthost (fetchmail) was, because my private workstation
machine runs not all time and I have to dial in (though DSL) so the IP is
not static.
> 3. E-Mail-Name of my system: Name of my machine -- No, I use a FQDN.
The name of my machine is, say, XY - how could I get a FQDN? In my case this
goes not, I suppose?
7 to 9 (sounds like star trek ;-) ) were the configurations for '...over
smarthost'
> 10.minimize DNS: Yes -- No, I have "No" chosen.
Ok, so I do now.
Beside I still have 'machinename' in the configuration for missing FQDN I
now get this when sending a mail to my yahoo over alice: (some changings in
here)
jenslindermann[AT]yahoo.de
SMTP error from remote mail server after initial connection:
host c.mx.mail.yahoo.com [IP-ADRESS]: 553 Mail from [MY-IP] not
allowed - 5.7.1 [BL21]
+Connections not accepted from IP addresses on Spamhaus PBL; see
http://postmaster.yahoo.com/550-bl21.html
+[550]
------ This is a copy of the message, including all the headers. ------
Return-path: <lindermann@machinename>
Received: from lindermann by machinename with local (Exim 4.63)
(envelope-from <lindermann@machinename>)
id 1JoCIK-0001T4-Aa
for jenslindermann[AT]yahoo.de; Tue, 22 Apr 2008 08:48:00 +0200
Date: Tue, 22 Apr 2008 08:48:00 +0200
From: Lindermann <me[AT]alice>
To: jenslindermann[AT]yahoo.de
Subject: Test
Message-ID: <20080422064800.GA5639@Hades>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.13 (2006-08-11)
Test
> I'm sorry this test took so long
Please, John, no excuses! I must excuse this bothering problem - and its
great, that there are such people in the community, answering an
bad-English-writing German Debian-newbie...
This option really shouldn't matter. One file may be easier to maintain
than multiple files, especially for a small site like yours and mine.
>> 2. SMTP and smarthost (fetchmail) -- No, I use "Internet Site."
>>
> smtp and over smarthost (fetchmail) was, because my private workstation
> machine runs not all time and I have to dial in (though DSL) so the IP is
> not static.
I don't think this matters for outgoing mail, but according to your new
failure that you show below, it seems you are now getting out to the
Internet.
>> 3. E-Mail-Name of my system: Name of my machine -- No, I use a FQDN.
>>
> The name of my machine is, say, XY - how could I get a FQDN? In my case this
> goes not, I suppose?
>
One easy and quick method is to make up one, but that could cause
problems with the real domain name owner if there is one. ;-)
If you want to register a domain, I think GoDaddy is the cheapest.
http://www.godaddy.com/gdshop/default.asp
You can also get a free domain from several registrars. I have one from
no-ip.com that I've used for years. http://www.no-ip.com
The problem with it is their "no-ip.*" is used, such as
"mydomain.no-ip.org" so you are advertising for them. But it is free.
No bother at all. Your English is far better than my German! ( Ihr
Englisch ist weit besser als mein Deutscher! Dieses ist nicht ich aber
Alta Vista Babel Fisch http://world.altavista.com/tr ) ;-)
It seems your problem now is Spamhaus has your ISP's IP range listed in
their RBL http://en.wikipedia.org/wiki/DNSBL
This is a common problem, due to so much spam being sent by hijacked
Windows PCs on residential-grade ISPs. I sometimes have to go to
Spamhaus and remove my IP from their RBL.
Spamhaus actually lists the whole range of IPs of ISPs that have a
history of spammers. I have a cable ISP, so my dynamically-assigned IP
will remain the same for many months, and even several years. So
Spamhaus can remove the one IP that is assigned to me, and my RBL
problems no longer exist.
Go to the suggested Website and see what they require you to do to get
your IP cleared: http://postmaster.yahoo.com/550-bl21.html
Since you are on a dialup ISP, which usually provides only a dynamic IP
assignment, getting an IP off the remote black list may be futile
because you will get a new one on every new connection.
Running a mail server on a dynamic IP is a constant fight. If you can
get a static IP from your dialup ISP, or even better some kind of
broadband like DSL or cable TV, that would be the solution.
Then you could register a domain name and have a non-changing IP to
point it toward.
Using a Yahoo/MSN/Google e-mail address is nearly always certain to
cause an RBL block because so many spammers use those "throw-away"
e-mail addresses. A small ISP would probably not be such a target for
spammers, and appear "cleaner," but who knows, since spammers do
whatever it takes to spam.
You can also try sending your e-mail test message backwards, reversing
the ISP direction, and see if the other ISP e-mail address is blacklisted.
tschüß
<wise and much>
Thank you, John for the answer. I will see if I can get a static IP from my
isp (think that this will be the better way to solve the problem).
And then I will going to remove some German ngs which were bothering me with
questions without solutions ;-)
If I should solve my problem I will write it!
Yes, please do inform me of what you discovered.
Good luck!
first I must thank all that helped me! There were some mistakes I have made:
I have thought that I have allowed the NO_TLS_AUTH, but was wrong.
I have had the wrong mail-name in my dpkg-reconfigure
and have not commented out the hosts_avoid_tls = localhost section.
Hope I would not be blamed and banished, but still can ask here in the
future. Thank you all and tschüß ;-)
Sie sind immer willkommen.
> Whoa!, don't leave so quickly. Post those relevant files / configs with
> the private stuff munged for our sake .. I've been lurkering your very
> interesting thread.
Ok ok ;-)
1. First you must write passwd.client according to the examples given there.
Because the password is written in clear text, make the file rw for root
only.
2. In the email-addresses (according to example) you should write
user: user...@yourisp.com.
3. Now run dpkg-reconfigure exim4-config and answer the following questions
split in files: No
send over smarthost/fetchmail
E-Mail-Name: Name of your machine or DynDNS/FQDNS (what you have)
IP Address incomingsmtp 127.0.0.1
further domains:machinename (E-Mail-name);localhost
relay: keep this EMPTY !! (danger of spammers)
address of smarthost:the smtp-server of your isp (here must <!> stand
the real servername, try out with 'host smtp.yourisp.com'
and NOT the alias)
Hide local E-Mail-Name: Yes
visible domainname: "yourisp.com"
minimize DNS: this is optional
local email: default choice should be mbox /var/mail
[exim4 restarts now]
4. If you have an isp, your exim4 should be function as a form of
mail-client; so you must edit your exim4.conf.template and there uncomment
the client-authentication that begins with
# These examples below are the equivalent for client side authentication. at
the end of the document.
5. Then search for a line in the "transport/30_exim4-config_remote_smtp
configuration" which says #hosts_avoid_tls = * (there are two
hosts_avoid.... lines!) You have to uncomment both and setting 'localhost'
for '*'.
6. Then you make a new file 'exim4.conf.localmacros' and write in
AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = true.
7. Now you run update-exim4.conf (no error messages should be come here)
8. Run /etc/init.d/exim4 reload
9. Rund /etc/init.d/exim4 restart
Now you should done it. This is the promised tutorial - in bad English -
from a real debain newbie! Have fun!