/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
Mailserver kan hverken sende eller modtage~
Fra : Kragh


Dato : 11-04-10 09:49

Hej
Jeg har hele dage bøvlet med en mail server som ikke vil hverken
modtage eller sende emails

Der er tale om en SME-Server 7.5 rc1 bag en firewall men på DMZ.

Jeg kan sagtens tilgå den udefra og fra LAN, men får ikke lov at sende
eller modtage mails. Emails hænger tilsyneladende ikke på serveren,
men bliver direkte afvist af serveren.

Man får denne besked når man sender noget til serveren udefra
------------------------
This is an automatically generated Delivery Status Notification
THIS IS A WARNING MESSAGE ONLY.
YOU DO NOT NEED TO RESEND YOUR MESSAGE.
Delivery to the following recipient has been delayed:

XXXXX@XXXXX.dk

Message will be retried for 2 more day(s)

Technical details of temporary failure:
Google tried to deliver your message, but it was rejected by the
recipient domain. We recommend contacting the other email provider for
further information about the cause of this error. The error that the
other server returned was: 451 451 4.1.8 Domain of sender address
XXXXX@XXXX.com does not resolve (state 14).
-------------------------------------

Og når man sender noget til den fra LAN siden får man følgende svar.
-------------------------------------
Afsendelsen af meddelselsen mislykkedes
Meddelelsen kunne ikke sendes fordi forbindelsen til SMTP serveren
10.0.0.2 fejlede.
Serveren kan enten ikke nåes eller afviser SMTP forbindelser.
Kontroller kontoindtillinger for SMTP-serveren er korrekte og prøv
igen.

_________________________________

Jeg har kigget lidt på nogen forskellige logfiler på serveren.

Jeg mistænker blandt andet ClamAV for at lave noget ballade ifølge
nedenstående Log-fil

------------------------------------------------------------
/var/log/clamd/current: Vist søn 11 apr 2010 17:38:23 CEST.
2010-04-11 14:02:41.660386500 Limits: Global size limit set to
104857600 bytes.
2010-04-11 14:02:41.678916500 Limits: File size limit set to 15728640
bytes.
2010-04-11 14:02:41.678920500 Limits: Recursion level limit set to 8.
2010-04-11 14:02:41.678924500 Limits: Files limit set to 1500.
2010-04-11 14:02:41.678927500 Limits: Core-dump limit is 0.
2010-04-11 14:02:41.678931500 Archive support enabled.
2010-04-11 14:02:41.678934500 Algorithmic detection enabled.
2010-04-11 14:02:41.678937500 Portable Executable support enabled.
2010-04-11 14:02:41.678941500 ELF support enabled.
2010-04-11 14:02:41.678944500 Mail files support enabled.
2010-04-11 14:02:41.678955500 OLE2 support enabled.
2010-04-11 14:02:41.678958500 PDF support enabled.
2010-04-11 14:02:41.678962500 HTML support enabled.
2010-04-11 14:02:41.678965500 Self checking every 1800 seconds.
2010-04-11 14:02:41.678968500 Listening daemon: PID: 4042
2010-04-11 14:02:41.678972500 MaxQueue set to: 100
2010-04-11 14:07:35.510133500 ERROR: pthread_create failed
2010-04-11 14:07:35.666753500 ERROR: pthread_create failed
2010-04-11 14:09:28.986030500 ERROR: pthread_create failed
2010-04-11 14:09:32.103671500 ERROR: pthread_create failed
2010-04-11 14:11:04.240272500 ERROR: pthread_create failed
2010-04-11 14:11:15.546286500 ERROR: pthread_create failed
2010-04-11 14:14:44.756952500 ERROR: pthread_create failed
2010-04-11 14:20:06.144139500 ERROR: pthread_create failed
2010-04-11 14:22:07.362389500 ERROR: pthread_create failed
2010-04-11 14:24:18.838669500 ERROR: pthread_create failed
2010-04-11 14:25:20.192223500 ERROR: pthread_create failed
2010-04-11 14:27:55.675076500 ERROR: pthread_create failed
2010-04-11 14:30:10.030639500 ERROR: pthread_create failed
2010-04-11 14:30:15.495953500 ERROR: pthread_create failed
2010-04-11 14:30:17.337047500 ERROR: pthread_create failed
2010-04-11 14:32:49.296997500 No stats for Database check - forcing
reload
2010-04-11 14:32:49.449244500 Reading databases from /var/clamav
2010-04-11 14:32:50.175273500 LibClamAV Error: mpool_malloc(): Can't
allocate memory (262144 bytes).
2010-04-11 14:32:50.175357500 LibClamAV Error: cli_ac_init: Can't
allocate memory for ac_root->filter
2010-04-11 14:32:50.175363500 LibClamAV Error: cli_initroots: Can't
initialise AC pattern matcher
2010-04-11 14:32:50.175369500 LibClamAV Error: Can't load daily.ndb:
Can't allocate memory
2010-04-11 14:32:50.175374500 LibClamAV Error: cli_tgzload: Can't load
daily.ndb
2010-04-11 14:32:50.175404500 LibClamAV Error: Can't load /var/clamav/
daily.cld: Malformed database
2010-04-11 14:32:50.175452500 ERROR: reload db failed: Malformed
database
2010-04-11 14:32:50.218381500 Terminating because of a fatal error.
2010-04-11 14:38:11.000811500 Limits: Global size limit set to
104857600 bytes.
2010-04-11 14:38:11.034345500 Limits: File size limit set to 15728640
bytes.
2010-04-11 14:38:11.034349500 Limits: Recursion level limit set to 8.
2010-04-11 14:38:11.034353500 Limits: Files limit set to 1500.
2010-04-11 14:38:11.034356500 Limits: Core-dump limit is 0.
2010-04-11 14:38:11.034360500 Archive support enabled.
2010-04-11 14:38:11.034363500 Algorithmic detection enabled.
2010-04-11 14:38:11.034366500 Portable Executable support enabled.
2010-04-11 14:38:11.034370500 ELF support enabled.
2010-04-11 14:38:11.034373500 Mail files support enabled.
2010-04-11 14:38:11.034384500 OLE2 support enabled.
2010-04-11 14:38:11.034388500 PDF support enabled.
2010-04-11 14:38:11.034391500 HTML support enabled.
2010-04-11 14:38:11.034395500 Self checking every 1800 seconds.
2010-04-11 14:38:11.034398500 Listening daemon: PID: 5914
2010-04-11 14:38:11.034401500 MaxQueue set to: 100
2010-04-11 14:40:19.279408500 ERROR: pthread_create failed
2010-04-11 14:43:05.828691500 ERROR: pthread_create failed
2010-04-11 14:43:15.675074500 ERROR: pthread_create failed
2010-04-11 14:44:04.083286500 ERROR: pthread_create failed
2010-04-11 14:44:39.062650500 ERROR: pthread_create failed
2010-04-11 14:46:20.764031500 ERROR: pthread_create failed
2010-04-11 14:46:32.361079500 ERROR: pthread_create failed
2010-04-11 14:46:50.917870500 ERROR: pthread_create failed
2010-04-11 14:47:09.232486500 ERROR: pthread_create failed
2010-04-11 14:47:50.405052500 ERROR: pthread_create failed
2010-04-11 14:48:24.090922500 ERROR: pthread_create failed
2010-04-11 14:50:34.676619500 ERROR: pthread_create failed
2010-04-11 14:51:03.481089500 ERROR: pthread_create failed
2010-04-11 14:51:40.473603500 ERROR: pthread_create failed
2010-04-11 14:52:18.658827500 ERROR: pthread_create failed
2010-04-11 14:52:40.961258500 ERROR: pthread_create failed
2010-04-11 14:52:50.443610500 ERROR: pthread_create failed
2010-04-11 14:53:08.502197500 ERROR: pthread_create failed
2010-04-11 14:55:48.498612500 ERROR: pthread_create failed
2010-04-11 14:55:53.787729500 ERROR: pthread_create failed
2010-04-11 14:56:52.071262500 ERROR: pthread_create failed
2010-04-11 15:00:51.167496500 ERROR: pthread_create failed
2010-04-11 15:09:01.534995500 No stats for Database check - forcing
reload
2010-04-11 15:09:01.696140500 Reading databases from /var/clamav
2010-04-11 15:09:02.256048500 LibClamAV Error: mpool_malloc(): Can't
allocate memory (262144 bytes).
2010-04-11 15:09:02.256124500 LibClamAV Error: cli_ac_init: Can't
allocate memory for ac_root->filter
2010-04-11 15:09:02.256130500 LibClamAV Error: cli_initroots: Can't
initialise AC pattern matcher
2010-04-11 15:09:02.256135500 LibClamAV Error: Can't load daily.ndb:
Can't allocate memory
2010-04-11 15:09:02.256139500 LibClamAV Error: cli_tgzload: Can't load
daily.ndb
2010-04-11 15:09:02.256144500 LibClamAV Error: Can't load /var/clamav/
daily.cld: Malformed database
2010-04-11 15:09:02.256164500 ERROR: reload db failed: Malformed
database
2010-04-11 15:09:02.276379500 Terminating because of a fatal error.
2010-04-11 15:19:07.866587500 Limits: Global size limit set to
104857600 bytes.
2010-04-11 15:19:07.956081500 Limits: File size limit set to 15728640
bytes.
2010-04-11 15:19:07.956087500 Limits: Recursion level limit set to 8.
2010-04-11 15:19:07.956091500 Limits: Files limit set to 1500.
2010-04-11 15:19:07.956096500 Limits: Core-dump limit is 0.
2010-04-11 15:19:07.956100500 Archive support enabled.
2010-04-11 15:19:07.956105500 Algorithmic detection enabled.
2010-04-11 15:19:07.956151500 Portable Executable support enabled.
2010-04-11 15:19:07.956156500 ELF support enabled.
2010-04-11 15:19:07.956160500 Mail files support enabled.
2010-04-11 15:19:07.956175500 OLE2 support enabled.
2010-04-11 15:19:07.956178500 PDF support enabled.
2010-04-11 15:19:07.956182500 HTML support enabled.
2010-04-11 15:19:07.956185500 Self checking every 1800 seconds.
2010-04-11 15:19:07.956188500 Listening daemon: PID: 6246
2010-04-11 15:19:07.956192500 MaxQueue set to: 100
2010-04-11 15:19:42.479092500 ERROR: pthread_create failed
2010-04-11 15:19:42.479287500 ERROR: pthread_create failed
2010-04-11 15:19:55.956420500 ERROR: pthread_create failed
2010-04-11 15:20:10.701671500 ERROR: pthread_create failed
2010-04-11 15:20:34.268173500 ERROR: pthread_create failed
2010-04-11 15:22:13.359327500 ERROR: pthread_create failed
2010-04-11 15:25:27.629127500 ERROR: pthread_create failed
2010-04-11 15:26:13.734027500 ERROR: pthread_create failed
2010-04-11 15:26:28.862067500 ERROR: pthread_create failed
2010-04-11 15:30:02.226719500 ERROR: pthread_create failed
2010-04-11 15:30:08.704942500 ERROR: pthread_create failed
2010-04-11 15:30:14.164957500 ERROR: pthread_create failed
2010-04-11 15:30:14.256792500 ERROR: pthread_create failed
2010-04-11 15:31:19.858117500 ERROR: pthread_create failed
2010-04-11 15:31:29.405757500 ERROR: pthread_create failed
2010-04-11 15:32:30.519877500 ERROR: pthread_create failed
2010-04-11 15:32:43.480342500 ERROR: pthread_create failed
2010-04-11 15:33:25.210616500 ERROR: pthread_create failed
2010-04-11 15:33:26.101902500 ERROR: pthread_create failed
2010-04-11 15:35:35.300884500 ERROR: pthread_create failed
2010-04-11 15:36:20.655138500 ERROR: pthread_create failed
2010-04-11 15:36:27.866558500 ERROR: pthread_create failed
2010-04-11 15:38:05.756797500 ERROR: pthread_create failed
2010-04-11 15:38:08.605492500 ERROR: pthread_create failed
2010-04-11 15:38:27.670153500 ERROR: pthread_create failed
2010-04-11 15:39:27.966883500 ERROR: pthread_create failed
2010-04-11 15:39:49.400826500 ERROR: pthread_create failed
2010-04-11 15:41:13.504468500 ERROR: pthread_create failed
2010-04-11 15:48:50.609500500 ERROR: pthread_create failed
2010-04-11 15:52:16.869427500 No stats for Database check - forcing
reload
2010-04-11 15:52:16.934556500 Reading databases from /var/clamav
2010-04-11 15:52:17.176787500 LibClamAV Error: mpool_malloc(): Can't
allocate memory (262144 bytes).
2010-04-11 15:52:17.176937500 ERROR: reload db failed: Can't allocate
memory
2010-04-11 15:52:17.256648500 Terminating because of a fatal error.
2010-04-11 16:03:33.383156500 Limits: Global size limit set to
104857600 bytes.
2010-04-11 16:03:33.496973500 Limits: File size limit set to 15728640
bytes.
2010-04-11 16:03:33.496979500 Limits: Recursion level limit set to 8.
2010-04-11 16:03:33.496983500 Limits: Files limit set to 1500.
2010-04-11 16:03:33.497035500 Limits: Core-dump limit is 0.
2010-04-11 16:03:33.497040500 Archive support enabled.
2010-04-11 16:03:33.497044500 Algorithmic detection enabled.
2010-04-11 16:03:33.497049500 Portable Executable support enabled.
2010-04-11 16:03:33.497053500 ELF support enabled.
2010-04-11 16:03:33.497057500 Mail files support enabled.
2010-04-11 16:03:33.497074500 OLE2 support enabled.
2010-04-11 16:03:33.497077500 PDF support enabled.
2010-04-11 16:03:33.497081500 HTML support enabled.
2010-04-11 16:03:33.497084500 Self checking every 1800 seconds.
2010-04-11 16:03:33.497088500 Listening daemon: PID: 7526
2010-04-11 16:03:33.497091500 MaxQueue set to: 100
2010-04-11 16:04:11.007597500 ERROR: pthread_create failed
2010-04-11 16:04:16.165933500 ERROR: pthread_create failed
2010-04-11 16:04:36.256695500 ERROR: pthread_create failed
2010-04-11 16:04:53.839830500 ERROR: pthread_create failed
2010-04-11 16:05:16.908391500 ERROR: pthread_create failed
2010-04-11 16:05:22.547841500 ERROR: pthread_create failed
2010-04-11 16:05:22.820238500 ERROR: pthread_create failed
2010-04-11 16:05:57.784392500 ERROR: pthread_create failed
2010-04-11 16:06:13.539456500 ERROR: pthread_create failed
2010-04-11 16:07:24.893596500 ERROR: pthread_create failed
2010-04-11 16:08:40.039578500 ERROR: pthread_create failed
2010-04-11 16:09:31.582162500 ERROR: pthread_create failed
2010-04-11 16:11:08.660064500 ERROR: pthread_create failed
2010-04-11 16:11:23.351026500 ERROR: pthread_create failed
2010-04-11 16:11:25.054794500 ERROR: pthread_create failed
2010-04-11 16:12:22.030101500 ERROR: pthread_create failed
2010-04-11 16:12:25.696370500 ERROR: pthread_create failed
2010-04-11 16:14:49.036664500 ERROR: pthread_create failed
2010-04-11 16:15:47.639555500 ERROR: pthread_create failed
2010-04-11 16:15:59.054460500 ERROR: pthread_create failed
2010-04-11 16:16:06.145787500 ERROR: pthread_create failed
2010-04-11 16:16:21.882377500 ERROR: pthread_create failed
2010-04-11 16:20:12.234370500 ERROR: pthread_create failed
2010-04-11 16:20:55.311296500 ERROR: pthread_create failed
2010-04-11 16:21:29.269509500 ERROR: pthread_create failed
2010-04-11 16:22:51.100431500 ERROR: pthread_create failed
2010-04-11 16:23:04.090729500 ERROR: pthread_create failed
2010-04-11 16:23:54.250965500 ERROR: pthread_create failed
2010-04-11 16:23:58.053699500 ERROR: pthread_create failed
2010-04-11 16:25:12.438296500 ERROR: pthread_create failed
2010-04-11 16:25:45.463158500 ERROR: pthread_create failed
2010-04-11 16:25:59.184715500 ERROR: pthread_create failed
2010-04-11 16:28:57.264350500 ERROR: pthread_create failed
2010-04-11 16:29:15.391370500 ERROR: pthread_create failed
2010-04-11 16:30:14.055489500 ERROR: pthread_create failed
2010-04-11 16:30:14.198245500 ERROR: pthread_create failed
2010-04-11 16:30:20.469910500 ERROR: pthread_create failed
2010-04-11 16:30:21.595181500 ERROR: pthread_create failed
2010-04-11 16:32:40.913836500 ERROR: pthread_create failed
2010-04-11 16:32:55.730019500 ERROR: pthread_create failed
2010-04-11 16:53:16.233350500 Waiting for all threads to finish
2010-04-11 16:53:16.265303500 Shutting down the main socket.
2010-04-11 16:53:16.314526500 --- Stopped at Sun Apr 11 16:53:16 2010
2010-04-11 16:53:16.314558500 Closing the main socket.
2010-04-11 16:53:16.339641500 Socket file removed.
2010-04-11 17:06:15.942506500 Limits: Global size limit set to
104857600 bytes.
2010-04-11 17:06:16.037793500 Limits: File size limit set to 15728640
bytes.
2010-04-11 17:06:16.037797500 Limits: Recursion level limit set to 8.
2010-04-11 17:06:16.037801500 Limits: Files limit set to 1500.
2010-04-11 17:06:16.037804500 Limits: Core-dump limit is 0.
2010-04-11 17:06:16.037808500 Archive support enabled.
2010-04-11 17:06:16.037811500 Algorithmic detection enabled.
2010-04-11 17:06:16.037814500 Portable Executable support enabled.
2010-04-11 17:06:16.037818500 ELF support enabled.
2010-04-11 17:06:16.037821500 Mail files support enabled.
2010-04-11 17:06:16.037833500 OLE2 support enabled.
2010-04-11 17:06:16.037837500 PDF support enabled.
2010-04-11 17:06:16.037840500 HTML support enabled.
2010-04-11 17:06:16.037844500 Self checking every 1800 seconds.
2010-04-11 17:06:16.037847500 Listening daemon: PID: 7962
2010-04-11 17:06:16.037851500 MaxQueue set to: 100
2010-04-11 17:07:02.122847500 ERROR: pthread_create failed
2010-04-11 17:08:03.183527500 ERROR: pthread_create failed
2010-04-11 17:15:58.556119500 ERROR: pthread_create failed
2010-04-11 17:16:44.555495500 ERROR: pthread_create failed
2010-04-11 17:17:21.447127500 ERROR: pthread_create failed
2010-04-11 17:22:18.587685500 ERROR: pthread_create failed
2010-04-11 17:22:37.443121500 ERROR: pthread_create failed
2010-04-11 17:22:56.990307500 ERROR: pthread_create failed
2010-04-11 17:23:07.763123500 ERROR: pthread_create failed
2010-04-11 17:24:58.346304500 ERROR: pthread_create failed
2010-04-11 17:28:10.051742500 ERROR: pthread_create failed
2010-04-11 17:28:44.896268500 ERROR: pthread_create failed
2010-04-11 17:30:17.055885500 ERROR: pthread_create failed
2010-04-11 17:30:17.130612500 ERROR: pthread_create failed
2010-04-11 17:30:19.974232500 ERROR: pthread_create failed
2010-04-11 17:30:39.322522500 ERROR: pthread_create failed
2010-04-11 17:30:42.565994500 ERROR: pthread_create failed
2010-04-11 17:31:23.631026500 ERROR: pthread_create failed
2010-04-11 17:32:39.417868500 ERROR: pthread_create failed
2010-04-11 17:33:26.267444500 ERROR: pthread_create failed
2010-04-11 17:34:29.184990500 ERROR: pthread_create failed
--------------------------------------------------------------------------

Er der nogen der har en ide til hvordan jeg løser problemet.??

På forhånd tak

Mvh Michael

 
 
Christian Laursen (11-04-2010)
Kommentar
Fra : Christian Laursen


Dato : 11-04-10 16:58

On 04/11/10 17:49, Kragh wrote:

> Jeg har hele dage bøvlet med en mail server som ikke vil hverken
> modtage eller sende emails

[snip]

> 451 451 4.1.8 Domain of sender address
> XXXXX@XXXX.com does not resolve (state 14).

Prøv at kigge på om DNS virker som det skal lokalt på serveren.

--
Christian Laursen

PF (11-04-2010)
Kommentar
Fra : PF


Dato : 11-04-10 21:21

On Sun, 11 Apr 2010 17:58:23 +0200, Christian Laursen
<xi@borderworlds.dk> wrote:
> > Jeg har hele dage bøvlet med en mail server som ikke vil hverken
> > modtage eller sende emails

Det kan også være en Go' Ting at emulere en SMTP client med telnet
ala:

telnet mybox.example.com smtp

og så fyre relevante commands af i roen på SMTP serveren.

Men som det nævnes: DNS skal virke før ret meget andet virker ...

--
PF

--
--
Mvh
PF

Cykelsmeden (12-04-2010)
Kommentar
Fra : Cykelsmeden


Dato : 12-04-10 16:28

Kragh wrote:

> Jeg har hele dage bøvlet med en mail server som ikke vil hverken
> modtage eller sende emails
>
> Der er tale om en SME-Server 7.5 rc1 bag en firewall men på DMZ.
>
> Jeg kan sagtens tilgå den udefra og fra LAN, men får ikke lov at sende
> eller modtage mails. Emails hænger tilsyneladende ikke på serveren,
> men bliver direkte afvist af serveren.
>
> Man får denne besked når man sender noget til serveren udefra

Ud fra givne, er der et væld af muligheder.
Har det kørt før?

Jeg ville i modsat fald, først slå ClamAV fra, da det kan involvere
noget portredirektion.
Er du sikker på at port 25, kan tilgås dit net, og at din ISP ikke har
blokeret for udgående til port 25?
giver Telnet <serverIP> 25 responce? både internt og udefra

finn

Søg
Reklame
Statistik
Spørgsmål : 177558
Tips : 31968
Nyheder : 719565
Indlæg : 6408914
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste