I'd run nmtui

# nmtui

and put IPv6 on automatic and add 8.8.4.4 to my IPv4 dns settings. Then restart the network.

check if the new dns settings went into /etc/resolv.conf:

nameserver 8.8.8.8

nameserver 8.8.4.4




On 11/27/2016 11:10 PM, David Overman wrote:
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE='eth0'
TYPE=Ethernet
BOOTPROTO=none
ONBOOT='yes'
HWADDR=62:ed:ca:6d:25:73
IPADDR=162.243.70.109
NETMASK=255.255.255.0
GATEWAY=162.243.70.1
NM_CONTROLLED='yes'
IPADDR2=10.13.0.5
PREFIX2=16
IPV6INIT=yes
IPV6ADDR=2604:A880:0000:1010:0000:0000:12D2:F001/64
IPV6_DEFAULTGW=2604:A880:0000:1010:0000:0000:0000:0001
IPV6_AUTOCONF=no
DNS1=2001:4860:4860::8844
DNS2=2001:4860:4860::8888
DNS3=8.8.8.8
[root@mail network-scripts]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE='eth0'
TYPE=Ethernet
BOOTPROTO=none
ONBOOT='yes'
HWADDR=62:ed:ca:6d:25:73
IPADDR=162.243.70.109
NETMASK=255.255.255.0
GATEWAY=162.243.70.1
NM_CONTROLLED='yes'
IPADDR2=10.13.0.5
PREFIX2=16
IPV6INIT=yes
IPV6ADDR=2604:A880:0000:1010:0000:0000:12D2:F001/64
IPV6_DEFAULTGW=2604:A880:0000:1010:0000:0000:0000:0001
IPV6_AUTOCONF=no
DNS1=2001:4860:4860::8844
DNS2=2001:4860:4860::8888
DNS3=8.8.8.8


root@mail network-scripts]# cat /etc/resolv.conf
nameserver 2001:4860:4860::8844
nameserver 2001:4860:4860::8888


On Nov 28, 2016, at 12:01 AM, Eric Broch <ebr...@whitehorsetc.com> wrote:

Now dump your  /etc/sysconfig/network-scripts/ifcfg-eth0 file?

# cat /etc/sysconfig/network-scripts/ifcfg-eth0

and

# cat /etc/resolv.conf

and post them to the list.

I don't think these issues with DNS that you're experiencing have anything to do with qmail.

We'll get to the spamassassin issue later.


On 11/27/2016 9:30 PM, David Overman wrote:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 162.243.70.109 netmask 255.255.255.0 broadcast 162.243.70.255
inet6 2604:a880:0:1010::12d2:f001 prefixlen 64 scopeid 0x0<global>
inet6 fe80::60ed:caff:fe6d:2573 prefixlen 64 scopeid 0x20<link>
ether 62:ed:ca:6d:25:73 txqueuelen 1000 (Ethernet)
RX packets 275111 bytes 377153866 (359.6 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 119044 bytes 10979851 (10.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 1898 bytes 203728 (198.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1898 bytes 203728 (198.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

On Nov 27, 2016, at 06:48 PM, Eric Broch <ebr...@whitehorsetc.com> wrote:

At the command line type

# ifconfig

or

# ip addr

and post your output



On 11/27/2016 5:26 PM, David Overman wrote:
Thanks,
It is 7.2 I made the changes, but this did not resolve the error.
I'm not sure how to configure

spamassassin

and which interface, usually for Centos 7.2?
Sorry, I am a newby at qmail. I have reinstalled twice, after wiping whole os clean.

David

On Nov 27, 2016, at 05:27 PM, Eric Broch <ebr...@whitehorsetc.com> wrote:

can you change /etc/resolv.conf to what Jamie posted, do the spamassassin config change and restart httpd? Also, on CentOS 7, not sure about 6, merely changing resolv.conf will not keep nameserver changes on restart. They have to be made in the /etc/sysconfig/network-scripts/ifcfg-your-active-interface.


On 11/27/2016 3:01 PM, David Overman wrote:
cat /etc/resolv.conf
nameserver 2001:4860:4860::8844
nameserver 2001:4860:4860::8888

On Nov 27, 2016, at 02:13 PM, Jaime Lerner <jaimeler...@geekgoddess.com> wrote:

Looks to me like he has an ipv6 version of the Google IPs in his resolve.conf file...

I think that's why he got the "unparsable nameserver" error originally....

He should change the IPs to ipv4....

[root@mail ~]# cat /etc/resolv.conf

search [whatever his mailserver is, i.e. mail.example.com]

nameserver 127.0.0.1

nameserver 8.8.8.8

nameserver 8.8.4.4


From: David Overman <davesp...@me.com <mailto:davesp...@me.com>>
Reply-To: <qmailtoaster-list@qmailtoaster.com <mailto:qmailtoaster-list@qmailtoaster.com>>
Date: Sunday, November 27, 2016 at 3:05 PM
To: <qmailtoaster-list@qmailtoaster.com <mailto:qmailtoaster-list@qmailtoaster.com>> Subject: Re: [qmailtoaster] error after changing squirrelmail conf new-install

I found this in the archive, and I made the changes to squirrelmail like it said.
Now I am getting a different error.
AH00526: Syntax error on line 8 of /etc/httpd/conf/squirrelmail.conf:
ErrorDocument takes two arguments, Change responses for HTTP errors


----- Original Message ----- From: "Maxwell Smart" <c...@yother.com <mailto:c...@yother.com>> To: <qmailtoaster-list@qmailtoaster.com <mailto:qmailtoaster-list@qmailtoaster.com>>
Sent: Thursday, June 03, 2010 12:46 PM
Subject: Re: [qmailtoaster] Re: Webmail SSL


    It appears as though you have a default configuration.
    Replace this in your squirrelmail.conf file.

    <Directory /usr/share/squirrelmail>
        Options None
        Order allow,deny
        allow from all
    </Directory>

    with this

    <Directory "/usr/share/squirrelmail">
    RewriteEngine on
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*/webmail*)$https://%{SERVER_NAME}$1 
<https://%25%7Bserver_name%7D%241/>  [L,R]
    allow from all
    Options
    SSLRequireSSL
    ErrorDocument 403 "https://your.server.com/webmail/";
    <https://your.server.com/webmail/%22>;
    </Directory>

    You will need to change the your.server.com to your server name.


On Nov 27, 2016, at 01:55 PM, ebr...@whitehorsetc.com <mailto:ebr...@whitehorsetc.com> wrote:


What changes did you make to what File? Or, what documentation were you following?




On Sun, Nov 27, 2016 at 11:05 AM -0700, "David Overman" <davesp...@me.com <mailto:davesp...@me.com>> wrote:

    Greetings,
    I just got this server up Centos 6.2
    I updated squirrelmail.conf to activate squirellmail, but
    when I tried to restart httpd, I received these errors.

    Unregistered Authentication Agent for
    unix-process:12902:1473656 (system bus nam
    Nov 27 17:32:36 mail.mydomain.com spamdyke[12929]: ERROR:
    invalid/unparsable nameserver found: 2001:4860:4860::8844
    Nov 27 17:32:36 mail.mydomain.com spamdyke[12929]: ERROR:
    invalid/unparsable nameserver found: 2001:4860:4860::8888
    Nov 27 17:32:37 mail.mydomaincom vpopmail[12933]:
    vchkpw-smtp: vpopmail user not found em...@mydomain.com
    <mailto:em...@mydomain.com>:80.82.64.109
    After changing back to the default conf for squirrelmail,
    httpd restarted without complaint.

    thanks in advance,
    David





Reply via email to