How to disable ipv6 mail in Server?

I'm not doing ipv6 addressing on my server, and I'd prefer not to get the "No route to host" messages in the mail log for the v6 attempts.  I've turned off ipv6 addressing altogether with the "networksetup" command, and did the "usual" thing of setting inet_interfaces to ipv4 in the postfix config file, /Library/Server/Mail/Config/postfix/main.cf.  However, when I restart the mail service through the server control panel (or, presumably, on system restart), some part of server is clobbering my change, setting the value of inet_interfaces back to all, thus re-enabling ipv6.  You'd think that Server would notice that ipv6 is turned off and adjust itself accordingly, but no such luck, it seems.  Or have I missed something?  Is there any way to do this?  Thanks!

What i would do is trace back the launch daemons. Usually these are under "/Library/LauchDaemons" or "/System/Library/LaunchDaemons".
These plist files tell launchd how to launch certain applications. Usually they trigger shell scripts or a deamon directly. I don't have access to my server at the moment so i cannot look to see which daemon is causing this. Anyways i would search all of the files relating to the server functions and find which one is resetting your network interfaces.
Now there is a possibilty that OS X uses ipv6 internally, and if so turning it off may cause problems. This is similar to how OS X requires good DNS resolution, because OS X uses it's own hostname to communicate with itself. If you have bad DNS resoltution it will slow to a crawl. Keep in mind Apple designed the new server app so that anyone could start a server, and not know anything about ipv6 or ipv4.

Similar Messages

  • How to disable easy print in server 2012 r2

    how to disable easy print in server 2012 r2

    Hi,
    To disable RD Easy Print on server 2012 r2, we need to disable the policy setting “Use Remote Desktop Easy Print printer driver first” under following path. 
    Computer Configuration\Administrative templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Printer Redirection
    Please check below article for checking RD Easy print.
    http://blogs.msdn.com/b/rds/archive/2009/09/28/using-remote-desktop-easy-print-in-windows-7-and-windows-server-2008-r2.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to disable IPv6 for loopback adapter (lo0)

    I was wondering if anyone knows how to disable IPv6 for the loopback (lo0) adpater. I know how to do it for other adapters using the Network preferences pane, but lo0 doesn't appear there...
    Thanks,
    - alan

    I need to temporary disable ipv6 address of lo0 (which by the way is not 127.0.0.1 but ::1) for testing development purpose..

  • How to disable IPV6 on localhost

    Someone known how to disable ipv6 on the lo0 interface ?

    I need to temporary disable ipv6 address of lo0 (which by the way is not 127.0.0.1 but ::1) for testing development purpose..

  • [SOLVED] How to disable "No mail." message upon login?

    This one's really stumping me. I disable the mail message a few months ago by creating a .hushlogin file in my home directory. That did the trick. Now, I am seeing the message again, and I don't know why. .hushlogin still exists in my home directory. Here's my /etc/login.defs:
    # /etc/login.defs - Configuration control definitions for the login package.
    # Three items must be defined: MAIL_DIR, ENV_SUPATH, and ENV_PATH.
    # If unspecified, some arbitrary (and possibly incorrect) value will
    # be assumed. All other items are optional - if not specified then
    # the described action or option will be inhibited.
    # Comment lines (lines beginning with "#") and blank lines are ignored.
    # Modified for Linux. --marekm
    # Delay in seconds before being allowed another attempt after a login failure
    FAIL_DELAY 3
    # Enable display of unknown usernames when login failures are recorded.
    LOG_UNKFAIL_ENAB no
    # Enable logging of successful logins
    LOG_OK_LOGINS no
    # Enable "syslog" logging of su activity - in addition to sulog file logging.
    # SYSLOG_SG_ENAB does the same for newgrp and sg.
    SYSLOG_SU_ENAB yes
    SYSLOG_SG_ENAB yes
    # If defined, either full pathname of a file containing device names or
    # a ":" delimited list of device names. Root logins will be allowed only
    # upon these devices.
    CONSOLE /etc/securetty
    #CONSOLE console:tty01:tty02:tty03:tty04
    # If defined, all su activity is logged to this file.
    #SULOG_FILE /var/log/sulog
    # If defined, file which maps tty line to TERM environment parameter.
    # Each line of the file is in a format something like "vt100 tty01".
    #TTYTYPE_FILE /etc/ttytype
    # If defined, the command name to display when running "su -". For
    # example, if this is defined as "su" then a "ps" will display the
    # command is "-su". If not defined, then "ps" would display the
    # name of the shell actually being run, e.g. something like "-sh".
    SU_NAME su
    # *REQUIRED*
    # Directory where mailboxes reside, _or_ name of file, relative to the
    # home directory. If you _do_ define both, MAIL_DIR takes precedence.
    # QMAIL_DIR is for Qmail
    #QMAIL_DIR Maildir
    MAIL_DIR /var/spool/mail
    # If defined, file which inhibits all the usual chatter during the login
    # sequence. If a full pathname, then hushed mode will be enabled if the
    # user's name or shell are found in the file. If not a full pathname, then
    # hushed mode will be enabled if the file exists in the user's home directory.
    HUSHLOGIN_FILE .hushlogin
    #HUSHLOGIN_FILE /etc/hushlogins
    # *REQUIRED* The default PATH settings, for superuser and normal users.
    # (they are minimal, add the rest in the shell startup files)
    ENV_SUPATH PATH=/sbin:/bin:/usr/sbin:/usr/bin
    ENV_PATH PATH=/bin:/usr/bin
    # Terminal permissions
    # TTYGROUP Login tty will be assigned this group ownership.
    # TTYPERM Login tty will be set to this permission.
    # If you have a "write" program which is "setgid" to a special group
    # which owns the terminals, define TTYGROUP to the group number and
    # TTYPERM to 0620. Otherwise leave TTYGROUP commented out and assign
    # TTYPERM to either 622 or 600.
    TTYGROUP tty
    TTYPERM 0600
    # Login configuration initializations:
    # ERASECHAR Terminal ERASE character ('\010' = backspace).
    # KILLCHAR Terminal KILL character ('\025' = CTRL/U).
    # UMASK Default "umask" value.
    # The ERASECHAR and KILLCHAR are used only on System V machines.
    # The ULIMIT is used only if the system supports it.
    # (now it works with setrlimit too; ulimit is in 512-byte units)
    # Prefix these values with "0" to get octal, "0x" to get hexadecimal.
    ERASECHAR 0177
    KILLCHAR 025
    UMASK 077
    # Password aging controls:
    # PASS_MAX_DAYS Maximum number of days a password may be used.
    # PASS_MIN_DAYS Minimum number of days allowed between password changes.
    # PASS_WARN_AGE Number of days warning given before a password expires.
    PASS_MAX_DAYS 99999
    PASS_MIN_DAYS 0
    PASS_WARN_AGE 7
    # Min/max values for automatic uid selection in useradd
    UID_MIN 1000
    UID_MAX 60000
    # System accounts
    SYS_UID_MIN 500
    SYS_UID_MAX 999
    # Min/max values for automatic gid selection in groupadd
    GID_MIN 1000
    GID_MAX 60000
    # System accounts
    SYS_GID_MIN 500
    SYS_GID_MAX 999
    # Max number of login retries if password is bad
    LOGIN_RETRIES 5
    # Max time in seconds for login
    LOGIN_TIMEOUT 60
    # Which fields may be changed by regular users using chfn - use
    # any combination of letters "frwh" (full name, room number, work
    # phone, home phone). If not defined, no changes are allowed.
    # For backward compatibility, "yes" = "rwh" and "no" = "frwh".
    CHFN_RESTRICT rwh
    # List of groups to add to the user's supplementary group set
    # when logging in on the console (as determined by the CONSOLE
    # setting). Default is none.
    # Use with caution - it is possible for users to gain permanent
    # access to these groups, even when not logged in on the console.
    # How to do it is left as an exercise for the reader...
    #CONSOLE_GROUPS floppy:audio:cdrom
    # Should login be allowed if we can't cd to the home directory?
    # Default in no.
    DEFAULT_HOME yes
    # If defined, this command is run when removing a user.
    # It should remove any at/cron/print jobs etc. owned by
    # the user to be removed (passed as the first argument).
    #USERDEL_CMD /usr/sbin/userdel_local
    # Enable setting of the umask group bits to be the same as owner bits
    # (examples: 022 -> 002, 077 -> 007) for non-root users, if the uid is
    # the same as gid, and username is the same as the primary group name.
    # This also enables userdel to remove user groups if no members exist.
    USERGROUPS_ENAB yes
    Please help.
    Last edited by nbtrap (2012-07-14 21:59:46)

    orbisvicis wrote:see "pam_mail.so" in /etc/pam.d/* and "man pam_mail". You most likely need the nopen argument.
    Thank you. I fixed it by changing a line in /etc/pam.d/system-login. Specifically, I changed
    session optional pam_mail.so dir=/var/spool/mail standard
    to
    session optional pam_mail.so dir=/var/spool/mail nopen

  • HT4667 How to disable IPv6 on MAC OS X Lion?

    Hi everyone,
    I am using Macbook Air OS X Lion. I have been facing slow internet browsing problem from quite a while now. I checked the forums and found that lot of people are facing the same problem. Also found that disabling IPv6 or setting it to manual mode will help fixing the issue. But another big challenge is how to do it. I tried setting it to manual which would need router address, IPv6 address and prefix length which is supposed to be collected from your ISP. Unfortunately Comcast hasnt implemented IPv6 yet so couldnt find that information. Also couldnt find the disable option as mentioned in one of the Apple article.
    So I am stuck with Macbook air with slow internet speed. If anybody could help, it would be much apprecaited.
    Thanks,
    SJ

    robughblah wrote:
    see https://answers.syr.edu/display/network/Disable+IPv6+on+Mac+Lion+and+Mountain+Li on
    This solved my problem.  Thanks

  • EA3500 Smart Wi Fi - How to disable IPV6 to address Parental Control Issue

    Hi
    I've been reading that parental controls does not work with IPV6.
    I would like to disable IPV6.
    How would I do that?
    P.S.: I noticed responses for EA4500 that there is a check box to disable the IPV6.  Very straight forward but my interface
    does not have the same layout of the GUI.  
    Thanks

    Hi petroski1,  the process of disabling IPv6 in your router depends if you’re using the Classic user interface or the Linksys Smart Wi-Fi. You may refer to this link, for instructions: http://kb.linksys.com/Linksys/ukp.aspx?pid=80&app=vw&vw=1&login=1&json=1&docid=bd520bcb07a6474596169...
    If you’re using the Classic one, select IPv6 under the Setup tab and just disable it. And if you’re also using the Linksys Smart WI-Fi, go to Connectivity, select Internet settings, click on IPv6 click edit and make sure to uncheck the enable box.

  • How to disable ipv6 address autoconfiguration ???

    I am trying to disable ipv6 stateless address autoconfiguration to implement what this document describes:
    http://docs.sun.com/app/docs/doc/816-4554/6maoq01o3?a=view
    There are several problems though:
    1)The manual says that something must be put inside the hostname6.xxx file but then goes on to give the command as it should be given from the command line instead of the content of the file. The manual should provide some form of exapmle content for the file.
    2)I go to /etc/inet/ndpd.conf and put "ifdefault StatelessAddrConf false" inside, then I pkill -HUP in.ndpd and finally I issue ifconfig eri0 inet6 token fe80::c/10. However nothing happens. The interface address remains the one generated through autoconfiguration.
    Could someone that has knowledge of this subject provide any help?
    Thanks very much,
    Thanasis

    Hi,
    I have a same problem, and think we didn't understand the documentation.
    Here is the link of the ndpd.conf configuration page:
    http://docs.sun.com/app/docs/doc/816-4554/6maoq01qt?a=view#ipv6-ref-10
    I think this is the right sintax:
    if
    Sets per-interface parameters. Use the following syntax:
    if interface [variable-value]
    Table 11�3 /etc/inet/ndpd.conf Interface Configuration Variables
    StatelessAddrConf
    True
    Controls whether the node configures its IPv6 address through stateless address autoconfiguration. If False is declared in ndpd.conf, then the address must be manually configured. For more information, refer to How to Configure a User-Specified IPv6 Token.
    I think the variable is this: StatelessAddrConf
    if-variable-name StatelessAddrConf false
    I think: if StatelessAddrConf false
    But I found the 'false' parameter with uppercase and lowercase letter.
    (It is not working for me!)
    And I found another configuration file, what is include the rules of the address (/usr/sbin/ipaddrsel ).
    Here is the link:
    http://docs.sun.com/app/docs/doc/816-5166/6mbb1kq56?a=view
    Maybe, I found the solution.
    http://docs.sun.com/app/docs/doc/816-4554/6maoq01qt?a=view#ipv6-ref-10
    You can creat a logical interface, and you can set the IP address of this interface.
    Example 11�6 Adding a Logical IPv6 Interface With the -addif Option of the ifconfig Command
    The following form of the ifconfig command creates the hme0:3 logical interface:
    // this is teh example, and it is not perfect on Sol10
    # ifconfig hme0 inet6 addif up
    Created new logical interface hme0:3
    This form of ifconfig verifies the creation of the new interface:
    # ifconfig hme0:3 inet6
    hme0:3: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
              inet6 inet6 fe80::203:baff:fe11:b321/10
    Here is my solution:
    ifconfig e1000g0 inet6 addif 1234:0000:0000:0000:0200:50FF:FE09:B980/10
    ifconfig e1000g0:1 inet6 up
    # ifconfig -a6
    lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
    inet6 ::1/128
    e1000g0: flags=2000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 2
    inet6 fe80::20d:60ff:feee:aba8/10
    ether 0:d:60:ee:ab:a8
    e1000g0:1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
    inet6 1234::200:50ff:fe09:b980/10
    I have special IP address, but I don't know that it is working or not.
    If you have any idea, please write!
    Br,
    Sanyi

  • How to disable sslv2 on windows server 2008 r2

    we are getting alerts from our third party application regarding the vulnerability error in our doamin.they mentiojn the following  vulnerability message
    Abp

    https://www.sslshopper.com/article-how-to-disable-ssl-2.0-in-iis-7.html
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • How to disable login mail checking?

    I would like to disable the mail checking on each login: I am not interested in seeing "No new mail" or else each time I login in a console. In other distributions, there was a specific setting in /etc/login.defs:
    MAIL_CHECK_ENAB = no
    I do not find this option in the arch /etc/login.defs, nor it is mentioned in man login or man login.defs; trying to set it anyway results in login complianing about badformed configuration file.
    I also tried to comment out both MAIL_DIR and QMAIL_DIR, but without success.
    Is there an other method to get this result? Thanks in advance for your help.

    I have finally solved this issue, after only 4 months (it was my first issue using archlinux). Since the most part of shadow functionality is managed by pam, /etc/login.defs is not used at all. I had to edit /etc/pam.d/login. I had to comment out this line in that file:
    # session optional pam_mail.so dir=/var/spool/mail standard
    I am very satisfied, I hated those unuseful "No new mail"

  • How to disable (his`de) Web Server Version Information

    Running sjsws 7.0u4 (and sjsws6.1) on SPARC Solaris 10 (10/08)
    How can I disable text that returns web server version information from sites such as Netcraft, etc.. on both these systems
    Thanks

    [http://wikis.sun.com/display/WebServer/faq_configuration#faq_configuration-17.HowtodisableWebServerfromdisplayingserverinformationwithintheresponseheader%3F|http://wikis.sun.com/display/WebServer/faq_configuration#faq_configuration-17.HowtodisableWebServerfromdisplayingserverinformationwithintheresponseheader%3F]

  • How to Disable Apple Mail?

    I do not want to use or set up Apple Mail, but it continues to pop up asking me to set it up. I have no intentions of doing that. How can I disable it? I have tried the following:
    1. Setting it up and disabling it --> it screwed up my system
    2. I tried to remove only the mail ---> It messed up my system and asks where the mail is in pop ups.
    3. I've tried Google notifier and setting that as my default --> Doesn't work
    4. I've checked the preferences, accounts, login items ----> Mail is not listed
    HELP!
    <Edited by Host>

    I finally figured out why the mail kep't on popping up. The mail does not normally behave this way. However, my calendar was inheriting from my Google calendar and they had alerts. These alerts kept pushing their messages to Apple Mail and thus it kept popping up. After I disabled that it has stopped annoying me. I tried every other imaginable thing. I hope this helps those who have a similar malady with their Apple Mail.

  • SharePoint 2010 How to Disable alerts on one server

    We have a farm with about 8 web front ends and 6 Web application servers.  The network is run by a different team, when they did an update to the domain somehow one of my web application servers became blocked from accessing the email server. So alerts
    on that server no longer work.  Immediate alerts are constantly hanging. 
    I was wondering if there is a command to disable or remove immediate alerts from processing on that one server until things get corrected by the network team.
    When I look in central admin and look at the services on the server, I don't see one specifically for immediate alerts.
    [email protected]

    Ok, I think I have come up with a temporary solution for this.  So hopefully this helps others.
    I set the preferred server in every content database to any other server except the one that can't communicate with the SMTP server.
    To do this:
    Open Central Administration
    Under Application Management, under the databases section, click on the Manage content databases link
    For each database select it.
    At the bottom of the manage content database setting page select a preferred sever.
    [email protected]

  • How to disable authentication for weblogic server

    Hi expert,
    I have a web application deployed on weblogic server 12c. And I have a client which connects to the web application.  The client will authenticate with server with digest authentication (challenge\response). We use the default authentication in weblogic server and the authentication is done by weblogic server. And it works fine.
    However, I want to run a performance testing to replay all client requests including the requests for authentication. Since it's challenge/response authentication mechanism, the original requests can not pass authentication and weblogic server replies 401. I want to know is there any way to disable weblogic authentication so that the authentication passes when I replay my original request?
    Thanks very much!
    Regards,
    Yan

    You can disable the security of the application in the web.xml. Here there is a security-constraint configured that tells WebLogic what to do, for example,
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>All</web-resource-name>
    <url-pattern>/faces/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>MANAGER</role-name>
    <role-name>EMPLOYEE</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    If you put the security-constraint in comments, you can access the application, without authentication (note that the application itself probably uses the authentication in order to set certain things, so I do not if this is going to work).

  • How to disable Apple Mail Copy message

    After an unsuccessful search for an Apple Mail forum, I will post this here (I miss the old forums--so easy to use):
    I am almost always accidently using "Copy Message" when trying to move a message from my Inbox to a folder. This function is completely useless to me. Is there a way to disable it or remove it from the Message menu?

    No.
    Why don't you simply drag the message to the folder?

Maybe you are looking for

  • Error reading when trying to make in app purchase

    I have the "isingworship" app and it will not let me purchase songs within the app... I made sure my in app purchase is turned on. 2 error messages come up when I try to purchase a song 1. We cannot connect to the iTunes store, and 2. please contact

  • Disk Utility won't finish creating a 30Gb encrypted disk image

    How long should it take Disk Utility to create a 30Gb encrypted read/write disk image on a 32Gb Kingston USB 2.0 flash drive? Once I started the process the dialog box said "Creating Image 'backup.dmg' [thermometer bar] Creating...". The bar took abo

  • Why are my photo events scattered in iPhoto?

    I just got am iPad 2.  When I did my synch to move from my iPad, I noticed all of my events broke apart so I now I have several of the same events with different pictures in them.  Any idea what is going on?

  • How to generate doc/lit/wrapped services from existing wsdl?

    Hello, I am using workshop 10.1 to generate webservices from existing wsdl files from workshop 8.1. The existings webservices are based on an xmlbean utility project. When I generate the webservice from the existing wsdl file it generates automatical

  • Smart mailbox acts weird

    Since Mountain Lion, Mail.app is acting quite weird. - Smart Mailbox doesn't always load on start of Mail.app, - Smart Mailbox superimposes messages over one another in the message-list, - Strange characters appear after attached ZIP files in sent me