
18th November 2005, 18:58
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

18th November 2005, 19:06
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
What's in your mail log (under /var/log)?
|

19th November 2005, 03:53
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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]
|

19th November 2005, 09:40
|
|
Senior Member
|
|
Join Date: Sep 2005
Location: UK, East Midlands
Posts: 517
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
I might be wrong but from the looks of the log file you need to re-create your certificates again.
|

19th November 2005, 12:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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?
|

19th November 2005, 15:43
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 15:57.
|

19th November 2005, 16:52
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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.
|

19th November 2005, 21:00
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 21:04.
|

20th November 2005, 02:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by Geoinline
what IP should I use? 
|
The IP address that the command 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?
|

20th November 2005, 16:42
|
|
Member
|
|
Join Date: Nov 2005
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
more info
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)
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 11:42.
|
|
Recent comments
11 hours 49 min ago
11 hours 54 min ago
16 hours 52 min ago
23 hours 33 min ago
1 day 22 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 18 hours ago