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

CLI to discard mail to nonexistent user?

Discussion in 'Plesk for Windows - 8.x and Older' started by astanley, Oct 14, 2005.

  1. astanley

    astanley Guest

    0
     
    I am using Plesk 7.5.4 on Windows 2003. If I view the Mail preferences for a domain on my server, I can choose one of 3 default actions for nonexistent user email: bounce, catch-all, or discard. I also know that in a domain template I can set one of the same 3 as the default action. My question revolves around the use of the CLI to select this "Discard" option. domain_pref.exe --help, and the online CLI documentation seem to indicate that the -no_usr argument only accepts two values: "bounce:txt" or an email address. Is the documentation just outdated or is it really not possible to "Discard" via the CLI? I don't know if this is relevant, but I am using the SmarterMail mail server.
     
  2. verdehosting

    verdehosting Guest

    0
     
    SOLVED

    ./domain_pref.sh -u domain.com -no_usr 'reject'
     
  3. Soulhuntre

    Soulhuntre Guest

    0
     
    Re: SOLVED

    FYI - this option doesn;t seem to work in 7.6 / Windows. The utility rejects the syntax.

    Ken
     
  4. verdehosting

    verdehosting Guest

    0
     
    Of course youll have to adjust the linux format for windows, just run the program and see how it wants them.
     
  5. Soulhuntre

    Soulhuntre Guest

    0
     
    I did. It does not accept 'reject' as an option for -no_usr. Nor is 'discard' an option. Further, the -no_usr option is marked as "obsolete" however there is no mention of what replaced it.

    Just FYI.
     
Loading...