PDA

View Full Version : The Perfect Setup Suse 9.3 - Postfix problems


new_bee05
22nd November 2005, 12:01
I have just completed the Suse 9.3 perfect setup. I am interested in setting up my mail server. However i am having trouble sending email. I don't think the maildir is set up properly if at all. I have tried to set up a email account in outlook express and kmail without success.What is the very first step after completing the suse setup 9.3 for mail, be as specific for a newbie as possible. Thanks.

falko
22nd November 2005, 15:26
Did you install ISPConfig as well, or do you set up your email accounts manually? In the latter case have a look here: http://www.howtoforge.com/forums/showthread.php?t=2

new_bee05
23rd November 2005, 00:06
falco, i did not have any files named "local-host-names" or "virtusertable" so I created them and added the appropriate data. I have created a Maildir account in KMail and I can send an email to myself (admin@ecomputer.com.it). I can't receive an email from a real domain account or send to a real domain account. Also emails just seem to be comming back to the account that they were sent from.

falko
23rd November 2005, 01:59
What's in the mail log in /var/log/?

Do you have proper DNS records for your domain(s)?

new_bee05
23rd November 2005, 02:14
Falco, i only have done what's in the Perfect Setup in regards to DNS.

/var/log/mail (this is a text file) - i don't have a /var/log/mail.log

I can now send email from within the domain to members of my local network. However I can't send to my FQDN ecomp.com.au. I get Name server errors (Name server: ecomputer.com.it: host not found)

Is what i am doing possible as this is only a figtitious domain name that i am working with.

falko
23rd November 2005, 10:04
/var/log/mail (this is a text file) - i don't have a /var/log/mail.log
Are there errors/warnings in /var/log/mail?

I can now send email from within the domain to members of my local network. However I can't send to my FQDN ecomp.com.au. I get Name server errors (Name server: ecomputer.com.it: host not found)
Please post the content of your /etc/resolv.conf.

new_bee05
23rd November 2005, 12:25
falco,error messages in mail log:

Nov 22 15:37:33 SERVER postfix/master[6284]: warning: process /usr/lib/postfix/pickup pid 6970 exit status 1
Nov 22 15:37:33 SERVER postfix/master[6284]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
Nov 22 15:37:33 SERVER postfix/master[6284]: warning: process /usr/lib/postfix/qmgr pid 6971 exit status 1
Nov 22 15:37:33 SERVER postfix/master[6284]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
Nov 22 15:38:17 SERVER postfix/smtpd[6972]: fatal: match_list_parse: open file /etc/postfix/local-host-names: No such file or directory

/etc/resolve.conf
nameserver 192.168.1.5
nameserver 203.0.178.191
nameserver 203.2.75.12
search site

till
23rd November 2005, 12:37
The file /etc/postfix/local-host-names is missing.
You can create it with the command:

touch /etc/postfix/local-host-names

Have you installed ISPConfig on the server? Then create a new site and ISPConfig creates the local-host-names file for you.

new_bee05
23rd November 2005, 15:11
ok I have created the file now what?

falko
23rd November 2005, 18:47
http://www.howtoforge.com/forums/showthread.php?t=2

new_bee05
23rd November 2005, 23:29
ok guys that has been done. I still can only send and receive email internally. Is it possible that I will be able to send and receive email externally ie to proper domains. If so what needs to be done. thanks

till
23rd November 2005, 23:33
Did you get any error messages when you send to external domains?
Have you enabled SMTP authentication in your email client?

new_bee05
23rd November 2005, 23:46
Here are the errors in my mail log:

Nov 22 16:14:11 SERVER postfix/master[6284]: warning: process /usr/lib/postfix/pickup pid 7873 exit status 1
Nov 22 16:14:11 SERVER postfix/master[6284]: warning: /usr/lib/postfix/pickup: bad command startup -- throttling
Nov 22 16:14:11 SERVER postfix/master[6284]: warning: process /usr/lib/postfix/qmgr pid 7874 exit status 1
Nov 22 16:14:11 SERVER postfix/master[6284]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
Nov 22 16:14:53 SERVER postfix/smtpd[7875]: fatal: match_list_parse: open file /etc/postfix/local-host-names: No such file or directory

Here is where the problem is I think:

Nov 25 09:17:31 SERVER postfix/scache[7059]: statistics: domain lookup hits=2 miss=1 success=66%
Nov 25 09:17:31 SERVER postfix/scache[7059]: statistics: address lookup hits=1 miss=3 success=25%
Nov 25 09:17:31 SERVER postfix/scache[7059]: statistics: max simultaneous domains=1 addresses=2 connection=3
Nov 25 09:23:11 SERVER postfix/smtpd[7090]: warning: connect to private/tlsmgr: No such file or directory
Nov 25 09:23:12 SERVER postfix/smtpd[7090]: warning: connect to private/tlsmgr: No such file or directory
Nov 25 09:23:12 SERVER postfix/smtpd[7090]: warning: problem talking to server private/tlsmgr: No such file or directory
Nov 25 09:23:12 SERVER postfix/smtpd[7090]: warning: no entropy for TLS key generation: disabling TLS support
Nov 25 09:23:12 SERVER postfix/smtpd[7090]: connect from unknown[192.168.1.2]
Nov 25 09:23:13 SERVER postfix/smtpd[7090]: 71D1D1BD40: client=unknown[192.168.1.2]
Nov 25 09:23:13 SERVER postfix/smtpd[7090]: CF55D1BD40: client=unknown[192.168.1.2]
Nov 25 09:23:13 SERVER postfix/cleanup[7093]: CF55D1BD40: message-id=<000601c5f07c$a281e580$0201a8c0@powerbait>
Nov 25 09:23:14 SERVER postfix/qmgr[7036]: CF55D1BD40: from=<root@ecomputer.com.it>, size=1395, nrcpt=2 (queue active)
Nov 25 09:23:14 SERVER postfix/smtp[7095]: warning: connect to private/tlsmgr: No such file or directory
Nov 25 09:23:14 SERVER postfix/local[7094]: CF55D1BD40: to=<root@server.ecomputer.com.it>, orig_to=<administrator@ecomputer.com.it>, relay=local, delay=1, status=sent (delivered to maildir)
Nov 25 09:23:15 SERVER postfix/smtp[7095]: warning: connect to private/tlsmgr: No such file or directory
Nov 25 09:23:15 SERVER postfix/smtp[7095]: warning: problem talking to server private/tlsmgr: No such file or directory
Nov 25 09:23:15 SERVER postfix/smtp[7095]: warning: no entropy for TLS key generation: disabling TLS support
Nov 25 09:23:15 SERVER postfix/smtpd[7090]: disconnect from unknown[192.168.1.2]
Nov 25 09:23:22 SERVER postfix/smtp[7095]: CF55D1BD40: to=<ecomputer_store69@hotmail.com>, relay=mx2.hotmail.com[65.54.252.230], delay=9, status=sent (250 <000601c5f07c$a281e580$0201a8c0@powerbait> Queued mail for delivery)
Nov 25 09:23:22 SERVER postfix/qmgr[7036]: CF55D1BD40: removed
Nov 24 09:30:59 SERVER pop3d: Connection, ip=[::ffff:192.168.1.2]
Nov 24 09:31:01 SERVER pop3d: LOGIN, user=root, ip=[::ffff:192.168.1.2]
Nov 24 09:31:01 SERVER pop3d: LOGOUT, user=root, ip=[::ffff:192.168.1.2], top=0, retr=0, time=0
Nov 24 09:31:03 SERVER pop3d: Connection, ip=[::ffff:192.168.1.2]
Nov 24 09:31:04 SERVER pop3d: LOGIN, user=root, ip=[::ffff:192.168.1.2]
Nov 24 09:31:04 SERVER pop3d: LOGOUT, user=root, ip=[::ffff:192.168.1.2], top=0, retr=0, time=0
Nov 24 09:36:45 SERVER postfix/smtpd[7090]: connect from unknown[192.168.1.2]
Nov 24 09:36:45 SERVER postfix/smtpd[7090]: CD69C1E493: client=unknown[192.168.1.2]
Nov 24 09:36:46 SERVER postfix/smtpd[7090]: 36B0B1E493: client=unknown[192.168.1.2]
Nov 24 09:36:46 SERVER postfix/cleanup[7093]: 36B0B1E493: message-id=<000f01c5f07e$9bb8eb20$0201a8c0@powerbait>
Nov 24 09:36:46 SERVER postfix/qmgr[7036]: warning: backward time jump detected -- slewing clock
Nov 24 09:36:46 SERVER postfix/qmgr[7036]: 36B0B1E493: from=<root@ecomputer.com.it>, size=1379, nrcpt=1 (queue active)
Nov 24 09:36:47 SERVER postfix/smtp[7095]: 36B0B1E493: to=<ecomputer_store69@hotmail.com>, relay=mx4.hotmail.com[65.54.244.40], delay=1, status=sent (250 <000f01c5f07e$9bb8eb20$0201a8c0@powerbait> Queued mail for delivery)
Nov 24 09:36:47 SERVER postfix/qmgr[7036]: 36B0B1E493: removed
Nov 24 09:36:48 SERVER postfix/smtpd[7090]: disconnect from unknown[192.168.1.2]
Nov 24 09:37:09 SERVER pop3d: Connection, ip=[::ffff:192.168.1.2]
Nov 24 09:37:09 SERVER pop3d: LOGIN, user=root, ip=[::ffff:192.168.1.2]
Nov 24 09:37:09 SERVER pop3d: LOGOUT, user=root, ip=[::ffff:192.168.1.2], top=0, retr=0, time=0


Thanks

till
23rd November 2005, 23:50
Please have a look here:

http://www.howtoforge.com/forums/showthread.php?t=781

new_bee05
24th November 2005, 00:07
Okay, I can now send mail to an external account (hotmail) only from the box that has the mail server on it. I can not recive mail from any external source. I have forwarded the ports on my router. Where do we go from here. Thanks

till
24th November 2005, 00:10
Have you thaought about installing ISPConfig on your server. Its easier to configure the email accounts with ISPConfig then doing everything manually in the config files.

falko
24th November 2005, 00:39
Okay, I can now send mail to an external account (hotmail) only from the box that has the mail server on it. I can not recive mail from any external source. I have forwarded the ports on my router. Where do we go from here. Thanks
I think you're talking about non-existing domains that you use for your email addresses? The emails won't arrive on your mail server because the domain doesn't exist...

new_bee05
24th November 2005, 06:12
hey guys, i am still trying to install ISPConfig will let you know how it goes. Thanks for all your help, judging by my lack of linux knowledge i may need some more.

new_bee05
24th November 2005, 22:53
falco, so i have gone as far as I can go. It has nothing to do with DNS? It is because I have not got a real domain name. If I registered a domain name do you think you guys could help me get it going.

falko
24th November 2005, 23:19
It is because I have not got a real domain name.
Yes, you cannot send emails from the internet to non-existant domains.

If I registered a domain name do you think you guys could help me get it going.
At least we can try, of course there's no warranty.

new_bee05
25th November 2005, 02:30
Thankyou guys for all your help. I have learned alot during this and hope to learn more and keep you guys busy with my questions.