1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Any way to disable mail entirely?

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by TimU, Apr 20, 2012.

  1. TimU

    TimU New Pleskian

    15
    85%
    Joined:
    May 11, 2010
    Messages:
    5
    Likes Received:
    0
    We want our customers to be able to use external email servers not on Plesk 10. For single domains, this can be accomplished by:

    /usr/local/psa/bin/domain -u exampledomain.com -mail_service false

    Is there a way to accomplish that ^ but on a level such that all domains provisioned will be that way by default? Is there a way outside of manually entering domains one at a time to to resolve this for existing domains?

    Thanks,
     
  2. coolcap

    coolcap Basic Pleskian

    23
    23%
    Joined:
    Jan 14, 2009
    Messages:
    34
    Likes Received:
    0
    Might be you can try :-

    /usr/local/psa/bin/domain -u * -mail_service false

    And then change the domain template to use external mx record and webmail ip

    I am uncertain if that will work.
     
  3. TimU

    TimU New Pleskian

    15
    85%
    Joined:
    May 11, 2010
    Messages:
    5
    Likes Received:
    0
    I had tried /usr/local/psa/bin/domain -u * -mail_service false

    and received the following:

    Cannot recognize option 'ai_prefs'
     
Loading...