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?
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=<[email protected]> Nov 15 22:56:24 server1 postfix/qmgr[6049]: 2901C65004C: from=<[email protected]>, size=1152, nrcpt=1 (queue active) Nov 15 22:56:25 server1 postfix/local[6129]: 2901C65004C: to=<[email protected]>, 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]
more info. Is the certificate needed for e-mail? How would I redo my certificate? I do infact have /etc/postfix/main.cf I followed the Ubuntu 5.10 Perfect Setup tutorial. I did http not https when I installed.. does that make a difforence here?
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 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. No, that doesn't matter.
more info.. Yes I used putty as soon as It was enabled . 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?
The IP address that the command Code: ifconfig shows for eth0 (or whatever interface you use, might also be eth1, etc.). Possible, but I don't think so. Which DNS records?
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)
Ok, this was a misunderstanding. If you want to use your domain also outside your network, you must use your router's public IP address for the DNS records, and forward all needed ports (e.g. 25) from your router to your ISPConfig server.