Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 04-21-2008, 05:46 AM
John F. Morse
 
Posts: n/a
Default Re: Exim and outgoing mail

Jens-Olaf Lindermann wrote:
> 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/.
>



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.


--
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 04-21-2008, 07:40 AM
Jens-Olaf Lindermann
 
Posts: n/a
Default Re: Exim and outgoing mail

gregor herrmann wrote:

> 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?

--
Debian GNU/Linux 4.0 stable

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 04-21-2008, 07:40 AM
Jens-Olaf Lindermann
 
Posts: n/a
Default Re: Exim and outgoing mail

John F. Morse wrote:

> 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 jenslindermann@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: jenslindermann@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
Jens

--
Debian GNU/Linux 4.0 stable

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 04-24-2008, 04:42 PM
gregor herrmann
 
Posts: n/a
Default Re: Exim and outgoing mail

On Mon, 21 Apr 2008 08:22:19 +0200, Jens-Olaf Lindermann wrote:

>> 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 04-24-2008, 04:42 PM
John F. Morse
 
Posts: n/a
Default Re: Exim and outgoing mail

Jens-Olaf Lindermann wrote:
> 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'?
>
> Hope that there are some more informations for you.
>
> 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: john@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 <me@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 <john@optim3.my.net>)
id 1Jo2dn-0000PY-3s
for mymail@att.net; Mon, 21 Apr 2008 15:29:31 -0500
To: mymail@att.net
Subject: Test
Message-Id: <E1Jo2dn-0000PY-3s@localhost>
From: john <john@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.


--
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 04-24-2008, 04:42 PM
Jens-Olaf Lindermann
 
Posts: n/a
Default Re: Exim and outgoing mail

gregor herrmann wrote:


> 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

--
Debian GNU/Linux 4.0 stable

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 04-24-2008, 04:42 PM
Jens-Olaf Lindermann
 
Posts: n/a
Default Re: Exim and outgoing mail

John F. Morse wrote:


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...

Jens



--
Debian GNU/Linux 4.0 stable

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 04-24-2008, 04:42 PM
John F. Morse
 
Posts: n/a
Default Re: Exim and outgoing mail

Jens-Olaf Lindermann wrote:
> John F. Morse wrote:
>
> Hi John,
>
>> 1. split in multiple files -- No, I use a single file.
>>

> Ok, I too now
>



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.


> 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...
>
> Jens


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üß


--
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 04-24-2008, 04:42 PM
Jens-Olaf Lindermann
 
Posts: n/a
Default Re: Exim and outgoing mail

John F. Morse wrote:

<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!

Jens

--
Debian GNU/Linux 4.0 stable

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 04-24-2008, 04:42 PM
John F. Morse
 
Posts: n/a
Default Re: Exim and outgoing mail

Jens-Olaf Lindermann wrote:
> John F. Morse wrote:
>
> <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!

tschüß


--
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:39 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683