HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   Email server stopt working after power failure (http://www.howtoforge.com/forums/showthread.php?t=19032)

DaRKNeSS666NL 5th January 2008 12:09

Email server stopt working after power failure
 
Oke,

After a great year with a working server, we had a power failure over here.

Now I can't receive any mails no more! So something went wrong with the server configuration. I honestly don't know whereto look for it. Its has something to do with the smtp config. If I send an email with gmail to the server I am getting this mail:
Code:

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 13): 550 Relaying denied

  ----- Original message -----

Received: by 10.115.58.1 with SMTP id l1mr17750318wak.110.1199530664873;
      Sat, 05 Jan 2008 02:57:44 -0800 (PST)
Received: by 10.114.179.4 with HTTP; Sat, 5 Jan 2008 02:57:44 -0800 (PST)
Message-ID: <9f2294380801050257r4e615bdes96ab280b29a93883@mail.gmail.com>
Date: Sat, 5 Jan 2008 11:57:44 +0100
From: "DaRK NeSS" <darkness666nl@gmail.com>
To: "Appie - Domestic Violence" <appie@domestic-violence.nl>
Subject: Re: email test uitwendig
In-Reply-To: <000501c84f89$67affdc0$370ff940$@nl>
MIME-Version: 1.0
Content-Type: multipart/alternative;
      boundary="----=_Part_22102_12366948.1199530664865"
References: <000501c84f89$67affdc0$370ff940$@nl>

------=_Part_22102_12366948.1199530664865
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


Is there an command to test the server? Does anybody can offer me an hand?

TIA

till 5th January 2008 18:12

Please have a look in the mail log file and post the errors you got there.

DaRKNeSS666NL 6th January 2008 11:32

My mail log does have as far I can see no email errors only from the virus scanner

/var/log/mail.log
Code:

Jan  6 12:17:40 dcs-server freshclam[4366]: Received signal: wake up
Jan  6 12:17:40 dcs-server freshclam[4366]: ClamAV update process started at Sun Jan  6 12:17:40 2008
Jan  6 12:17:40 dcs-server freshclam[4366]: SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
Jan  6 12:17:40 dcs-server freshclam[4366]: See the FAQ at http://www.clamav.net/support/faq for an explanation.
Jan  6 12:17:40 dcs-server freshclam[4366]: Can't query current.cvd.clamav.net
Jan  6 12:17:40 dcs-server freshclam[4366]: Invalid DNS reply. Falling back to HTTP mode.
Jan  6 12:17:40 dcs-server freshclam[4366]: Reading CVD header (main.cvd):
Jan  6 12:17:45 dcs-server freshclam[4366]: Can't get information about database.clamav.net: Temporary DNS error
Jan  6 12:17:45 dcs-server freshclam[4366]: Can't read main.cvd header from database.clamav.net (IP: )
Jan  6 12:17:45 dcs-server freshclam[4366]: Trying again in 5 secs...
Jan  6 12:17:50 dcs-server freshclam[4366]: ClamAV update process started at Sun Jan  6 12:17:50 2008
Jan  6 12:17:50 dcs-server freshclam[4366]: SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
Jan  6 12:17:50 dcs-server freshclam[4366]: See the FAQ at http://www.clamav.net/support/faq for an explanation.
Jan  6 12:17:50 dcs-server freshclam[4366]: Can't query current.cvd.clamav.net
Jan  6 12:17:50 dcs-server freshclam[4366]: Invalid DNS reply. Falling back to HTTP mode.
Jan  6 12:17:50 dcs-server freshclam[4366]: Reading CVD header (main.cvd):
Jan  6 12:18:00 dcs-server freshclam[4366]: Can't get information about database.clamav.net: Temporary DNS error
Jan  6 12:18:00 dcs-server freshclam[4366]: Can't read main.cvd header from database.clamav.net (IP: )
Jan  6 12:18:00 dcs-server freshclam[4366]: Trying again in 5 secs...
Jan  6 12:18:05 dcs-server freshclam[4366]: ClamAV update process started at Sun Jan  6 12:18:05 2008
Jan  6 12:18:05 dcs-server freshclam[4366]: SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
Jan  6 12:18:05 dcs-server freshclam[4366]: See the FAQ at http://www.clamav.net/support/faq for an explanation.
Jan  6 12:18:05 dcs-server freshclam[4366]: Can't query current.cvd.clamav.net
Jan  6 12:18:05 dcs-server freshclam[4366]: Invalid DNS reply. Falling back to HTTP mode.
Jan  6 12:18:05 dcs-server freshclam[4366]: Reading CVD header (main.cvd):
Jan  6 12:18:10 dcs-server freshclam[4366]: Can't get information about database.clamav.net: Temporary DNS error
Jan  6 12:18:10 dcs-server freshclam[4366]: Can't read main.cvd header from database.clamav.net (IP: )
Jan  6 12:18:10 dcs-server freshclam[4366]: Giving up on database.clamav.net...
Jan  6 12:18:10 dcs-server freshclam[4366]: Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working. Check http://www.clamav.net/support/mirror-problem for possible reasons.
Jan  6 12:18:10 dcs-server freshclam[4366]: --------------------------------------
Jan  6 12:40:29 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  6 12:40:29 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_admin, ip=[::ffff:192.168.1.1]
Jan  6 12:40:29 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_admin, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  6 12:40:29 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  6 12:40:29 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_appie, ip=[::ffff:192.168.1.1]
Jan  6 12:40:30 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_appie, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=1
Jan  6 12:40:30 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  6 12:40:30 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_info, ip=[::ffff:192.168.1.1]
Jan  6 12:40:30 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_info, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  6 13:10:39 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  6 13:10:39 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_admin, ip=[::ffff:192.168.1.1]
Jan  6 13:10:39 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_admin, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  6 13:10:39 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  6 13:10:39 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_appie, ip=[::ffff:192.168.1.1]
Jan  6 13:10:39 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_appie, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  6 13:10:39 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  6 13:10:39 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_info, ip=[::ffff:192.168.1.1]
Jan  6 13:10:39 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_info, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  6 13:16:52 dcs-server postfix/master[18012]: terminating on signal 15
Jan  6 13:16:53 dcs-server postfix/master[30790]: daemon started -- version 2.3.3, configuration /etc/postfix


falko 6th January 2008 13:23

Do you have network connectivity? Can you resolve DNS names? What's in /etc/resolv.conf?

DaRKNeSS666NL 6th January 2008 13:34

In my /etc/resolv.conf
Code:

nameserver 192.168.1.1
Its the routers IP adress

falko 7th January 2008 14:07

Please try this instead:
Code:

nameserver 145.253.2.75
nameserver 193.174.32.18


DaRKNeSS666NL 8th January 2008 21:33

Done that now and no go.

But they are just name servers right?
So I can put more of my own in then? Like 213.51.129.37 for example that one is from my isp.

DaRKNeSS666NL 8th January 2008 22:04

Okee, Its little bit better now but I can't see any emails.

I know that the mail is deliverd to my server I can see that in my rollernet logs

Code:

Message from mail.rollernet.us accepted by 84.31.***.** (www.***-online.nl) after 3 seconds.
        From: Queue F4060582F79D
To: info@d******-violence.nl
Date: 2008-01-08 21:48:58        sent (250 2.0.0 Ok: queued as 8CBF97F4041)

Also in my webmail (roundcube) no email is ariving

till 9th January 2008 09:10

Which messages do you get in the mail log of the receiving mailserver?

DaRKNeSS666NL 9th January 2008 21:01

Here it is I Have noticed 2 warnings One from clamav that its outdated and needs to update.

And the most related one I think are the last few lines. If I read correctly the mail server sees all the email as dangerous or unknown and removes them.

Code:

Jan  9 19:27:27 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  9 19:27:27 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_admin, ip=[::ffff:192.168.1.1]
Jan  9 19:27:27 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_admin, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  9 19:27:27 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  9 19:27:27 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_appie, ip=[::ffff:192.168.1.1]
Jan  9 19:27:27 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_appie, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  9 19:27:27 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  9 19:27:27 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_info, ip=[::ffff:192.168.1.1]
Jan  9 19:27:27 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_info, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  9 21:24:23 dcs-server courierpop3login: Connection, ip=[::ffff:84.198.59.205]
Jan  9 21:24:23 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_toon, ip=[::ffff:84.198.59.205]
Jan  9 21:24:23 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_toon, ip=[::ffff:84.198.59.205], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  9 21:39:05 dcs-server freshclam[4376]: Received signal: wake up
Jan  9 21:39:05 dcs-server freshclam[4376]: ClamAV update process started at Wed Jan  9 21:39:05 2008
Jan  9 21:39:05 dcs-server freshclam[4376]: SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
Jan  9 21:39:05 dcs-server freshclam[4376]: See the FAQ at http://www.clamav.net/support/faq for an explanation.
Jan  9 21:39:05 dcs-server freshclam[4376]: Your ClamAV installation is OUTDATED!
Jan  9 21:39:05 dcs-server freshclam[4376]: Local version: 0.91.2 Recommended version: 0.92
Jan  9 21:39:05 dcs-server freshclam[4376]: DON'T PANIC! Read http://www.clamav.net/support/faq
Jan  9 21:39:05 dcs-server freshclam[4376]: main.inc is up to date (version: 45, sigs: 169676, f-level: 21, builder: sven)
Jan  9 21:39:05 dcs-server freshclam[4376]: daily.inc is up to date (version: 5459, sigs: 21320, f-level: 21, builder: ccordes)
Jan  9 21:39:05 dcs-server freshclam[4376]: --------------------------------------
Jan  9 22:01:15 dcs-server courierpop3login: Connection, ip=[::ffff:90.128.161.215]
Jan  9 22:01:15 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_johan, ip=[::ffff:90.128.161.215]
Jan  9 22:01:15 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_johan, ip=[::ffff:90.128.161.215], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  9 22:31:21 dcs-server courierpop3login: Connection, ip=[::ffff:90.128.161.215]
Jan  9 22:31:21 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_johan, ip=[::ffff:90.128.161.215]
Jan  9 22:31:21 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_johan, ip=[::ffff:90.128.161.215], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  9 22:34:19 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  9 22:34:19 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_admin, ip=[::ffff:192.168.1.1]
Jan  9 22:34:19 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_admin, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  9 22:34:19 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  9 22:34:19 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_appie, ip=[::ffff:192.168.1.1]
Jan  9 22:34:19 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_appie, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  9 22:34:19 dcs-server courierpop3login: Connection, ip=[::ffff:192.168.1.1]
Jan  9 22:34:19 dcs-server courierpop3login: LOGIN, user=domestic-violence.nl_info, ip=[::ffff:192.168.1.1]
Jan  9 22:34:19 dcs-server courierpop3login: LOGOUT, user=domestic-violence.nl_info, ip=[::ffff:192.168.1.1], top=0, retr=0, rcvd=12, sent=39, time=0
Jan  9 22:46:37 dcs-server postfix/smtpd[13672]: connect from unknown[208.11.75.2]
Jan  9 22:46:38 dcs-server postfix/smtpd[13672]: setting up TLS connection from unknown[208.11.75.2]
Jan  9 22:46:38 dcs-server postfix/smtpd[13672]: TLS connection established from unknown[208.11.75.2]: TLSv1 with cipher ADH-AES256-SHA (256/256 bits)
Jan  9 22:46:38 dcs-server postfix/smtpd[13672]: F095C7F4041: client=unknown[208.11.75.2]
Jan  9 22:46:39 dcs-server postfix/cleanup[13676]: F095C7F4041: message-id=<f07c7c440801091150n53b9a144t4ddbe8188422bcb8@mail.gmail.com>
Jan  9 22:46:39 dcs-server postfix/qmgr[23609]: F095C7F4041: from=<domesticviolence.nl@gmail.com>, size=3075, nrcpt=1 (queue active)
Jan  9 22:46:39 dcs-server postfix/smtpd[13672]: disconnect from unknown[208.11.75.2]
Jan  9 22:46:39 dcs-server procmail[13678]: Suspicious rcfile "/var/www/web5/user/domestic-violence.nl_info/.procmailrc"
Jan  9 22:46:39 dcs-server postfix/local[13677]: F095C7F4041: to=<domestic-violence.nl_info@dcs-server.dcs-online.nl>, orig_to=<info@domestic-violence.nl>, relay=local, delay=0.3, delays=0.26/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Jan  9 22:46:39 dcs-server postfix/qmgr[23609]: F095C7F4041: removed

This is the /var/www/web5/user/domestic-violence.nl_info/.procmailrc
Code:

MAILDIR=$HOME/Maildir/
DEFAULT=$MAILDIR
ORGMAIL=$MAILDIR

INCLUDERC=/var/www/web5/user/domestic-violence.nl_info/.mailsize.rc
## INCLUDERC=/var/www/web5/user/domestic-violence.nl_info/.quota.rc
INCLUDERC=/var/www/web5/user/domestic-violence.nl_info/.antivirus.rc
## INCLUDERC=/var/www/web5/user/domestic-violence.nl_info/.local-rules.rc
## INCLUDERC=/var/www/web5/user/domestic-violence.nl_info/.html-trap.rc
INCLUDERC=/var/www/web5/user/domestic-violence.nl_info/.spamassassin.rc
## INCLUDERC=/var/www/web5/user/domestic-violence.nl_info/.autoresponder.rc

I am currently running the update to version.....19. Mabey that will help.


All times are GMT +2. The time now is 01:52.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.