My Community Dashboard

Toggle Sidebar
News Feed
  • Can anyone help me with configuring DNS I am trying to create a virtual network in virtualbox can't connect the windows seven VM I created because it cannot resolve the DNS.
  • Tony Ellis
    Tony Ellis replied to a discussion, Interesting ethernet problem

    Possibly PS - but think unlikely...

    https://www.sraellis.tk/frame-34-voltages.html shows the average for the two voltages monitored has remained stable - but that of course would not pick up any instantaneous peaks or dips or problems on other voltage rails...

    Haven't looked in the machine. It is still running with the 'broken' NICs inside it and wasn't powered off, just added the usb ethernet dongles. It went straight back into operation and hasn't missed a beat since.

    We will see what happens when the replacement arrives (coming from overseas - replacements for dual NIC PCI 32-bit gigabyte adaptors are not available here... being Mini-ITX have only one PCI slot).

  • Robert Moskowitz
    Robert Moskowitz's reply was accepted as an answer

    Re: Postfix not forwarding loqwatch report

    Yeah, telnet is like that; so easy to forget you have to provide a port. Been there, done that too often.

    z9m9z is only as complex as it needs to be. I run a number of virtual hosts from it. The challenge here is what has been done to the default Centos postfix configuration by ClearOS.

    I took a quick look at /etc/postfix/main.cf and saw that I had set the domain to htt-consult.com. That would convince postfix to do a local delivery. So I changed it to home.htt and ran a test with:

    sendmail -i rgm@htt-consult.com < xfce.lst

    and that was properly relayed through z9m9z. So the problem was mine in ClearOS in improper configuration of the Mail Settings dialog.

    One for your tips and tricks for those that use an external (to ClearOS) mail service. The ClearOS mail domain MUST be different from your external mail service domain.

    Oh, and if you want help developing a rich featured email service, I am available.

  • In my set up, ClearOS is not a gateway. It is just a server. And servers have processes that generate mail reports to forward to the admin.

    On a more 'normal' server setup, the server may well be in the same domain as all of the other systems, thus this problem. home.htt domain is just a hold over from my setup some 7 - 8 years back.

    I think a regular admin, would fall into the same setup I did.

    Say Google is hosting your mail service. And you have a Sonicwall gateway (my brother-in-law has a number of clients like this). Then you setup ClearOS as your file/print server and maybe another function or two (local Cloud?). I might think the common thought would be to use your domain name in the mail setup, just as I did. Should be some subzone like smb.foobar.com

    Anyway, one more little change. Now all I have to do is either buy one of the cheap OEM copies of Win7 and install it on an old box here, or buy a reconditioned box with Win7 installed. Then I can start testing out an actual client.

  • Robert Moskowitz wrote:
    One for your tips and tricks for those that use an external (to ClearOS) mail service. The ClearOS mail domain MUST be different from your external mail service domain.
    Yes that is known where your gateway is ClearOS and you are using its postfix to relay to another server internally. I made too many initial assumptions about your set up so my thinking did not take me there! :(

  • Yeah, telnet is like that; so easy to forget you have to provide a port. Been there, done that too often.

    z9m9z is only as complex as it needs to be. I run a number of virtual hosts from it. The challenge here is what has been done to the default Centos postfix configuration by ClearOS.

    I took a quick look at /etc/postfix/main.cf and saw that I had set the domain to htt-consult.com. That would convince postfix to do a local delivery. So I changed it to home.htt and ran a test with:

    sendmail -i rgm@htt-consult.com < xfce.lst

    and that was properly relayed through z9m9z. So the problem was mine in ClearOS in improper configuration of the Mail Settings dialog.

    One for your tips and tricks for those that use an external (to ClearOS) mail service. The ClearOS mail domain MUST be different from your external mail service domain.

    Oh, and if you want help developing a rich featured email service, I am available.

  • Sorry. I forgot to add the port when telnetting. It is open.

    You have a far more complex set up than a basic ClearOS set up. Can you change the mail server to something which directly resolves to your mail server internally, or even specify an IP address. I'm sure in the past I've tried specifying an external mail server (my ISP) in the mail server and it has worked, so it is not locked to localhost.

  • Philippe Eveleigh

    Could be the power supply?

  • z9m9z.htt-consult.com is my mail server and receives emails from all over the world to port 25. Check that you are resolving to 50.253.254.3, as there once was a DNS secondary with old records from an old ISP, but I removed that server from the authoritative list a number of years ago...

    z9m9z is running Redsleave6 on a CubieTruck using Postfix etal. It replacement CubieTruck with Centos7-armv7hl is 'almost' ready (see http://www.htt-consult.com/Centos7-mailserver.html for the setup; I am having SELinux issues). It handles 7-8K emails per day. it is accessed both externally and internally (by IMAP clients and SMTP from internal servers).

    But if you look at the /var/log/maillog messages, Postfix did not even TRY to deliver the message to z9m9z. It made a decision that the mail was local, ignoring the domain in the TO: and dropped the mail into /var/spool/mail/rgm. So the challenge is on ClearOS to get it to recognize that it has to ship the mail out.

    1) Do you mean the smtp server inside of ClearOS (my hostname is homebase.home.htt).
    2) I do not want to run mail on homebase. It only is to deliver mail services like logwatch and cron generate ot z9m9z.
    3) It is open. I recieve too much spam from all over the world for it not to be open :)

  • Does z9m9z.htt-consult.com resolve internally or externally? I have a feeling it resolves externally but perhaps the port is not open externally? I cannot telnet to it. I am also not sure if you can access ClearOS using a WAN IP - so effectively loopback. I know you can't browse your own webserver using its WAN IP.

    Possible solutions are:
    1 - Change the smtp server to loopback or 127.0.0.1 or your ClearOS LAN IP
    2 - Add a DNS record to z9m9z.htt-consult.com to point to your ClearOS LAN IP
    3 - Possibly open up the external port tcp:25 but I am not sure it will work