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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th November 2005, 19:58
Geoinline Geoinline is offline
Member
 
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't send or recieve mail either..

My ports are open correctly and I can log into webmail. Webmail says it sends the mail but it never arrives. I can't recieve mail either.

What should my DNS records look for mail to work?
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2005, 20:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's in your mail log (under /var/log)?
__________________
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
  #3  
Old 19th November 2005, 04:53
Geoinline Geoinline is offline
Member
 
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default my log

Nov 15 22:49:03 server1 postfix/sendmail[6909]: fatal: open /etc/postfix/main.cf: No such file or directory
Nov 15 22:49:11 server1 postfix/master[7156]: daemon started -- version 2.2.4, configuration /etc/postfix
Nov 15 22:50:28 server1 postfix/master[7156]: terminating on signal 15
Nov 15 22:51:24 server1 postfix/master[7759]: daemon started -- version 2.2.4, configuration /etc/postfix
Nov 15 22:56:23 server1 postfix/master[6045]: daemon started -- version 2.2.4, configuration /etc/postfix
Nov 15 22:56:24 server1 postfix/pickup[6048]: 2901C65004C: uid=0 from=<root>
Nov 15 22:56:24 server1 postfix/cleanup[6051]: 2901C65004C: message-id=<20051116035622.2901C65004C@server1.domain.com>
Nov 15 22:56:24 server1 postfix/qmgr[6049]: 2901C65004C: from=<root@domain.com>, size=1152, nrcpt=1 (queue active)
Nov 15 22:56:25 server1 postfix/local[6129]: 2901C65004C: to=<admin@domain.com>, orig_to=<root>, relay=local, delay=3, status=sent (delivered to command: procmail -a "$EXTENSION")
Nov 15 22:56:25 server1 postfix/qmgr[6049]: 2901C65004C: removed
Nov 15 23:03:01 server1 postfix/master[6043]: daemon started -- version 2.2.4, configuration /etc/postfix
Nov 15 23:08:50 server1 postfix/master[6043]: terminating on signal 15
Nov 15 23:08:50 server1 postfix/master[6257]: daemon started -- version 2.2.4, configuration /etc/postfix
Nov 15 23:11:03 server1 postfix/smtpd[6275]: warning: cannot get certificate from file /etc/postfix/ssl/smtpd.crt
Nov 15 23:11:03 server1 postfix/smtpd[6275]: warning: TLS library problem: 6275:error:02001002:system library:fopen:No such file or directory:bss_file.c:278:fopen('/etc/postfix/ssl/smtpd.crt','r'):
Nov 15 23:11:03 server1 postfix/smtpd[6275]: warning: TLS library problem: 6275:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
Nov 15 23:11:03 server1 postfix/smtpd[6275]: warning: TLS library problem: 6275:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:760:
Nov 15 23:11:03 server1 postfix/smtpd[6275]: cannot load RSA certificate and key data
Nov 15 23:11:03 server1 postfix/smtpd[6275]: connect from localhost.localdomain[127.0.0.1]
Nov 15 23:11:21 server1 postfix/smtpd[6275]: disconnect from localhost.localdomain[127.0.0.1]
Nov 15 23:12:21 server1 authdaemond.plain: modules="authpam", daemons=5
Nov 15 23:12:39 server1 postfix/master[6257]: terminating on signal 15
Nov 15 23:12:39 server1 postfix/master[6768]: daemon started -- version 2.2.4, configuration /etc/postfix
Nov 15 23:44:11 server1 postfix/master[6768]: terminating on signal 15
Nov 15 23:44:11 server1 postfix/master[361]: daemon started -- version 2.2.4, configuration /etc/postfix
Nov 15 23:44:19 server1 postfix/master[361]: terminating on signal 15
Nov 15 23:44:19 server1 postfix/master[531]: daemon started -- version 2.2.4, configuration /etc/postfix
Nov 15 23:45:16 server1 courierpop3login: Connection, ip=[::ffff:127.0.0.1]
Nov 15 23:45:16 server1 postfix/smtpd[706]: warning: cannot get certificate from file /etc/postfix/ssl/smtpd.crt
Nov 15 23:45:16 server1 postfix/smtpd[706]: warning: TLS library problem: 706:error:02001002:system library:fopen:No such file or directory:bss_file.c:278:fopen('/etc/postfix/ssl/smtpd.crt','r'):
Nov 15 23:45:16 server1 postfix/smtpd[706]: warning: TLS library problem: 706:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:280:
Nov 15 23:45:16 server1 postfix/smtpd[706]: warning: TLS library problem: 706:error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib:ssl_rsa.c:760:
Nov 15 23:45:16 server1 postfix/smtpd[706]: cannot load RSA certificate and key data
Nov 15 23:45:16 server1 postfix/smtpd[706]: connect from localhost.localdomain[127.0.0.1]
Nov 15 23:45:16 server1 postfix/smtpd[706]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Nov 15 23:45:16 server1 postfix/smtpd[706]: disconnect from localhost.localdomain[127.0.0.1]
Reply With Quote
  #4  
Old 19th November 2005, 10:40
mphayesuk mphayesuk is offline
Senior Member
 
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 3 Times in 3 Posts
Send a message via MSN to mphayesuk
Default

I might be wrong but from the looks of the log file you need to re-create your certificates again.
Reply With Quote
  #5  
Old 19th November 2005, 13:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Geoinline
Nov 15 22:49:03 server1 postfix/sendmail[6909]: fatal: open /etc/postfix/main.cf: No such file or directory
You don't have /etc/postfix/main.cf???
Did you follow any of the "Perfect Setup" tutorials?
__________________
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
  #6  
Old 19th November 2005, 16:43
Geoinline Geoinline is offline
Member
 
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default more info.

Quote:
mphayesuk: I might be wrong but from the looks of the log file you need to re-create your certificates again
Is the certificate needed for e-mail? How would I redo my certificate?

Quote:
falko: You don't have /etc/postfix/main.cf???
I do infact have /etc/postfix/main.cf
Quote:
falko: Did you follow any of the "Perfect Setup" tutorials?
I followed the Ubuntu 5.10 Perfect Setup tutorial.

I did http not https when I installed.. does that make a difforence here?

Last edited by Geoinline; 19th November 2005 at 16:57.
Reply With Quote
  #7  
Old 19th November 2005, 17:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Geoinline
Is the certificate needed for e-mail? How would I redo my certificate?
It's described in the Ubuntu tutorial:
Code:
mkdir /etc/postfix/ssl
cd /etc/postfix/ssl/
openssl genrsa -des3 -rand /etc/hosts -out smtpd.key 1024
chmod 600 smtpd.key
openssl req -new -key smtpd.key -out smtpd.csr
openssl x509 -req -days 3650 -in smtpd.csr -signkey smtpd.key -out smtpd.crt
openssl rsa -in smtpd.key -out smtpd.key.unencrypted
mv -f smtpd.key.unencrypted smtpd.key
openssl req -new -x509 -extensions v3_ca -keyout cakey.pem -out cacert.pem -days 3650

Quote:
Originally Posted by Geoinline
I followed the Ubuntu 5.10 Perfect Setup tutorial.
Did you follow it to the letter? The best way is to open PuTTY on your windows machine and simply copy and paste the commands from the tutorial so that you cannot make typos etc. You only have to replace the IP addresses and hostnames in the tutorial with your own information.

Quote:
Originally Posted by Geoinline
I did http not https when I installed.. does that make a difforence here?
No, that doesn't matter.
__________________
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
  #8  
Old 19th November 2005, 22:00
Geoinline Geoinline is offline
Member
 
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default more info..

Quote:
Did you follow it to the letter? The best way is to open PuTTY on your windows machine and simply copy and paste the commands from the tutorial so that you cannot make typos etc.
Yes I used putty as soon as It was enabled .

Quote:
You only have to replace the IP addresses and hostnames in the tutorial with your own information.
It's possible I messed this part up.

What should my DNS records look like? what IP should I use?

Could it be gmail filtering out my e-mails?

Last edited by Geoinline; 19th November 2005 at 22:04.
Reply With Quote
  #9  
Old 20th November 2005, 03:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by Geoinline
what IP should I use?
The IP address that the command
Code:
ifconfig
shows for eth0 (or whatever interface you use, might also be eth1, etc.).

Quote:
Originally Posted by Geoinline
Could it be gmail filtering out my e-mails?
Possible, but I don't think so.

Quote:
What should my DNS records look like?
Which DNS records?
__________________
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
  #10  
Old 20th November 2005, 17:42
Geoinline Geoinline is offline
Member
 
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default more info

Quote:
Which DNS records?
The DNS record for the domain I'm trying to send mail from.

This is how I have my DNS record setup (DNS Manager>domain.com>Records)

IP-Adresse Hostname
192.168.15.100 www
192.168.15.100 mail
192.168.15.100 ftp

Mailserver Hostname
192.168.15.100 mail

where 192.168.15.100 is eth0's inet addr in ifconfig.

I can send mail inside my network. Outlook works correctly (inside the network aswell)
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
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
Read but not send mail briggers HOWTO-Related Questions 24 7th April 2006 20:22
I can't seem to send or receive mail indicator72 Installation/Configuration 21 19th November 2005 21:46
internal domain error with mail matehortua Installation/Configuration 5 16th October 2005 19:31
E-mail send and recieve problem thebigfing Installation/Configuration 14 25th August 2005 16:58


All times are GMT +2. The time now is 12:47.


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