Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd November 2006, 18:34
LeoLinux LeoLinux is offline
Senior Member
 
Join Date: Jul 2006
Location: Ellwangen
Posts: 119
Thanks: 16
Thanked 0 Times in 0 Posts
Send a message via ICQ to LeoLinux
Default Mail doesn't work anymore :-(

Hi there,

sorry but my mail system doesn't work anymore ;-/ I don't know what happend to it?

here are some logs:

Code:
root@server1:~# cat /var/log/mail.warn
Nov 19 21:05:53 server1 postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 19 21:16:43 server1 postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 19 21:38:28 server1 imaplogin: DISCONNECTED, ip=[::ffff:127.0.0.1], time=0
Nov 20 00:44:24 server1 postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 20 00:45:34 server1 postfix/postfix-script: fatal: the Postfix mail system is not running
Nov 21 06:25:00 server1 postfix/smtpd[7337]: warning: 201.136.159.129: address not listed for hostname dsl-201-136-159-129.prod-empresarial.com.mx
Nov 22 00:39:29 server1 imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Nov 22 00:39:29 server1 imaplogin: DISCONNECTED, ip=[::ffff:127.0.0.1], time=5
Nov 22 21:38:26 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:84.164.208.199]
Nov 23 18:22:26 server1 imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Nov 23 18:22:26 server1 imaplogin: DISCONNECTED, ip=[::ffff:127.0.0.1], time=5

Code:
root@server1:~# cat /var/log/mail.err
Nov 19 21:05:53 server1 postfix/postfix-script: fatal: the Postfix mail system i                                                                             s not running
Nov 19 21:16:43 server1 postfix/postfix-script: fatal: the Postfix mail system i                                                                             s not running
Nov 19 21:38:28 server1 imaplogin: DISCONNECTED, ip=[::ffff:127.0.0.1], time=0
Nov 20 00:44:24 server1 postfix/postfix-script: fatal: the Postfix mail system i                                                                             s not running
Nov 20 00:45:34 server1 postfix/postfix-script: fatal: the Postfix mail system i                                                                             s not running
Nov 22 00:39:29 server1 imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Nov 22 00:39:29 server1 imaplogin: DISCONNECTED, ip=[::ffff:127.0.0.1], time=5
Nov 22 21:38:26 server1 courierpop3login: LOGIN FAILED, ip=[::ffff:84.164.208.19                                                                             9]
Nov 23 18:22:26 server1 imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1]
Nov 23 18:22:26 server1 imaplogin: DISCONNECTED, ip=[::ffff:127.0.0.1], time=5
Code:
Nov 23 18:18:32 server1 courierpop3login: LOGIN, user=web1_admin, ip=[::ffff:84.164.241.171]
Nov 23 18:18:33 server1 courierpop3login: LOGOUT, user=web1_admin, ip=[::ffff:84.164.241.171], top=0, retr=0, time=1
Nov 23 18:19:02 server1 postfix/smtp[1155]: connect to mx0.gmx.net[213.165.64.100]: server dropped connection without sending the initial SMTP greeting (port
 25)
Nov 23 18:19:02 server1 postfix/smtp[1155]: connect to mx0.gmx.de[213.165.64.100]: server dropped connection without sending the initial SMTP greeting (port
25)
Nov 23 18:19:02 server1 postfix/smtp[1155]: D035A18058: to=<leander.schaefer@gmx.net>, relay=none, delay=150120, status=deferred (connect to mx0.gmx.de[213.1
65.64.100]: server dropped connection without sending the initial SMTP greeting)
Nov 23 18:19:02 server1 postfix/smtpd[1157]: connect from mail.gmx.de[213.165.64.20]
Nov 23 18:19:02 server1 postfix/smtpd[1157]: DDF6918078: client=mail.gmx.de[213.165.64.20]
Nov 23 18:19:02 server1 postfix/cleanup[1161]: DDF6918078: message-id=<002601c70f23$74a91ae0$620a010a@leo>
Nov 23 18:19:02 server1 postfix/local[1162]: DDF6918078: to=<admin@www.leolinux.de>, relay=local, delay=0, status=sent (delivered to maildir)
I don't know, but I'm still able to login via mailclient (moziall & outlook and each webinterface such as roundcube ... )
it seems that all mails will be still delivered to each but they don't arrive ... so it's like sending mails to /dev/null ;-)

does anybody have an idea what's the matter with it?

Thanks to all!

Leo

P.S. the ISP is showing me running mailservers ( I had a watchin the ISPconfig webinterface - services...)

Last edited by LeoLinux; 23rd November 2006 at 18:41.
Reply With Quote
Sponsored Links
  #2  
Old 23rd November 2006, 19:40
LeoLinux LeoLinux is offline
Senior Member
 
Join Date: Jul 2006
Location: Ellwangen
Posts: 119
Thanks: 16
Thanked 0 Times in 0 Posts
Send a message via ICQ to LeoLinux
Default

Ok - it seems to work now except one small thing ;-)

when I try to send mails from my ISPconfig accounts to gmx or web.de they won't be deliverd .... I don't get any error mail back like maildelivery faild or something like that ... and no mail in any spam folder .... it seems that they don't accept mails from me?! is that possible?

what else and how else could I test that?!

thx Leo
Reply With Quote
  #3  
Old 23rd November 2006, 19:44
edge edge is online now
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 153 Times in 133 Posts
Default

Do you have a SPF record set for the MX record / domain?

If not, set one! Lots of providers/servers do not exept mail if the SPF is set wrong, or if it does not exist!

Also.. A not set revers DNS could also be the problem!

Last edited by edge; 23rd November 2006 at 19:47.
Reply With Quote
  #4  
Old 24th November 2006, 16:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Also check if your server is blacklisted: http://www.mxtoolbox.com/blacklists.aspx
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 28th November 2006, 21:43
LeoLinux LeoLinux is offline
Senior Member
 
Join Date: Jul 2006
Location: Ellwangen
Posts: 119
Thanks: 16
Thanked 0 Times in 0 Posts
Send a message via ICQ to LeoLinux
Default

hmmm I have a DynDNS account - I don't know what exactly to tell the MX option in my account.



^^ that's how it looks at the moment. I don't have a static IP address.

thanks for this clue- I'm not at the MX-Tools blacklist.

another question is - where are all this undeliverd mails stored now?

##########################

To Edge:
Do you have a SPF record set for the MX record / domain?

I'm not sure but I think I didn't ;-). Can you tell me how such a thing has to look like?!

here are the options for a costumer Domain like leolinux.de which is forwarded to pc1mail.de which is also forwardet to pc1service.gotdns.com ;-) :





Thank you!

Leander

Last edited by LeoLinux; 28th November 2006 at 21:47.
Reply With Quote
  #6  
Old 28th November 2006, 22:09
edge edge is online now
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 153 Times in 133 Posts
Default

LeoLinux,

You will have to create the SPF record as a TXT

I'm using the ISPconfig SPF option (as I'm using my own DNS server)

So, select the TXT and add v=spf1 a mx ?all in the box to the right.
(I think)..

More info about creating a SPF here

A nice way to see if the SPF record is okay, is by sending an email to a gmail account.

Looking at the headers of the email you will see:

a good SPF record example: Received-SPF: pass (google.com: domain of your@emailaddress.tld designates ip_from_your_server as permitted sender)

a bad SPF record example: Received-SPF: pass (google.com: best guess record for domain of your@emailaddress.tld designates ip_from_your_server as permitted sender)
(note the: "best guess record for" part!)

The your@emailaddress.tld and ip_from_your_server, should be yours!

Last edited by edge; 28th November 2006 at 22:18.
Reply With Quote
  #7  
Old 28th November 2006, 23:23
LeoLinux LeoLinux is offline
Senior Member
 
Join Date: Jul 2006
Location: Ellwangen
Posts: 119
Thanks: 16
Thanked 0 Times in 0 Posts
Send a message via ICQ to LeoLinux
Default

Hi Edge,

thx for your professional response ;-)

here is what I got back as email in my mail client:

Code:
... This is the Postfix program at host server1.pc1mail.de.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

			The Postfix program

<leander.schaefer@gmx.net>: connect to mx0.gmx.net[213.165.64.100]: server
    dropped connection without sending the initial SMTP greeting



Reporting-MTA: dns; server1.pc1mail.de
X-Postfix-Queue-ID: 53FD118085
X-Postfix-Sender: rfc822; admin@leolinux.de
Arrival-Date: Thu, 23 Nov 2006 19:32:23 +0100 (CET)
Content-Type: text/plain

Final-Recipient: rfc822; leander.schaefer@gmx.net
Action: failed
Status: 4.0.0
Diagnostic-Code: X-Postfix; connect to mx0.gmx.net[213.165.64.100]: server
    dropped connection without sending the initial SMTP greeting

[... old mail attached ...]



OK I changed it to that:








I'm using my own nameserver also:




This are the only SPF options which I could find in ISP.





I hope I don't have to change anything there or do I?



########

and another question ... I tested this account a few days before ... and now 3 days later I got the informaiton back, that it wasn't possible to deliver those test mails .... why is it that slow?? and does anybody know where to change the text of an undelivered mail ... so thtat I can translate that for my german costumers? that would be cool.

Thx a lot ;-)

Leander

Last edited by LeoLinux; 28th November 2006 at 23:42.
Reply With Quote
  #8  
Old 29th November 2006, 16:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by LeoLinux
I'm using my own nameserver also:
The nameservers for leolinux.de are ns.kunde24.de and ns2.kunde24.de, so there's no need to create records for it on your ISPConfig system:

Code:
dig ns leolinux.de

; <<>> DiG 9.2.1 <<>> ns leolinux.de
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24343
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;leolinux.de.                   IN      NS

;; ANSWER SECTION:
leolinux.de.            86400   IN      NS      ns.kunde24.de.
leolinux.de.            86400   IN      NS      ns2.kunde24.de.

;; Query time: 25 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Wed Nov 29 16:46:58 2006
;; MSG SIZE  rcvd: 72
Quote:
and another question ... I tested this account a few days before ... and now 3 days later I got the informaiton back, that it wasn't possible to deliver those test mails .... why is it that slow??
Email servers try to deliver emails for 4 days until they give up. You can change it in your Postfix configuration.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 29th November 2006, 22:22
LeoLinux LeoLinux is offline
Senior Member
 
Join Date: Jul 2006
Location: Ellwangen
Posts: 119
Thanks: 16
Thanked 0 Times in 0 Posts
Send a message via ICQ to LeoLinux
Default

ok thx the thing with the delivery time is good to know - do you exactly know in which conf I should look for? if not - that's not really important for the first time ...

is it necessary to change that in ISP? because I remember that I installed an bind9 on my system - isn't it possible to tell them (my domain reseller) to use my bind9 instead of their ns24nameserver stuff? I mean the option to change that is given from my provider - the only thing where I'm not really sure is if I think correct or if that's not possible because I only use ,one, normal Dynamic DSL connection and one nameserver (the ISPconfig one)?

btw .. I changed the NS in the conf ... lets wait a few minutes and have a look what happens ..


THX

Leander
;-)
Reply With Quote
  #10  
Old 30th November 2006, 16:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Quote:
Originally Posted by LeoLinux
ok thx the thing with the delivery time is good to know - do you exactly know in which conf I should look for? if not - that's not really important for the first time ...
Have a look at the maximal_queue_lifetime setting in /etc/postfix/main.cf: http://www.postfix.org/postconf.5.html

Quote:
Originally Posted by LeoLinux
isn't it possible to tell them (my domain reseller) to use my bind9 instead of their ns24nameserver stuff?
Yes. Have a look here: http://www.howtoforge.com/ispconfig_dns_godaddy
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not receiving any incoming mail. Jcorrea920 General 11 3rd April 2010 13:08
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs mholownych HOWTO-Related Questions 10 29th May 2006 03:39
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47
Can't get MX for external mail server to work semmelbroesel Installation/Configuration 4 25th November 2005 17:48


All times are GMT +2. The time now is 20:58.


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