The Perfect Setup Suse 9.3 - Postfix problems

Discussion in 'HOWTO-Related Questions' started by new_bee05, Nov 22, 2005.

  1. new_bee05

    new_bee05 New Member

    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.
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. new_bee05

    new_bee05 New Member

    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 ([email protected]). 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.
     
    Last edited: Nov 23, 2005
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in the mail log in /var/log/?

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

    new_bee05 New Member

    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.
     
    Last edited: Nov 23, 2005
  6. falko

    falko Super Moderator Howtoforge Staff

    Are there errors/warnings in /var/log/mail?

    Please post the content of your /etc/resolv.conf.
     
  7. new_bee05

    new_bee05 New Member

    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
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  9. new_bee05

    new_bee05 New Member

    ok I have created the file now what?
     
  10. falko

    falko Super Moderator Howtoforge Staff

  11. new_bee05

    new_bee05 New Member

    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
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you get any error messages when you send to external domains?
    Have you enabled SMTP authentication in your email client?
     
  13. new_bee05

    new_bee05 New Member

    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=<[email protected]>, 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=<[email protected]>, orig_to=<[email protected]>, 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=<[email protected]>, 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=<[email protected]>, size=1379, nrcpt=1 (queue active)
    Nov 24 09:36:47 SERVER postfix/smtp[7095]: 36B0B1E493: to=<[email protected]>, 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
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

  15. new_bee05

    new_bee05 New Member

    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
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  17. falko

    falko Super Moderator Howtoforge Staff

    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...
     
  18. new_bee05

    new_bee05 New Member

    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.
     
  19. new_bee05

    new_bee05 New Member

    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.
     
  20. falko

    falko Super Moderator Howtoforge Staff

    Yes, you cannot send emails from the internet to non-existant domains.

    At least we can try, of course there's no warranty.
     

Share This Page