Results 1 to 8 of 8

Thread: SMTP/Sendmail /var/spool/mqueue on NFS

  1. #1
    Join Date
    Mar 2013
    Beans
    16

    SMTP/Sendmail /var/spool/mqueue on NFS

    Expert,

    I am newbie on smtp/sendmail and on Ubuntu.
    I have two servers, Server A and Server B and configured smtp/sendmail on it.
    These two are configured in HA mode or active/standby mode.

    Could you please let me know what is the best way to use mail queue on NFS mount?
    Also can I use single NFS mount to be use on both the Server A and B (mount point /var/spool/queue) or is there any impact on performance?

    If NFS mount is not possible could you please let me know what is the best way for mail queue.

    Thanks
    Last edited by hash4all; March 22nd, 2013 at 11:28 AM.

  2. #2
    Join Date
    Mar 2013
    Beans
    16

    Re: SMTP/Sendmail /var/spool/mqueue on NFS

    Expert,

    any suggestion?

    Waiting for the reply.

  3. #3
    Join Date
    Oct 2006
    Location
    Ayrshire.
    Beans
    42,415
    Distro
    Ubuntu Development Release

    Re: SMTP/Sendmail /var/spool/mqueue on NFS

    Thread moved to the "Server Platforms" forum.

  4. #4
    Join Date
    Mar 2013
    Beans
    16

    Re: SMTP/Sendmail /var/spool/mqueue on NFS

    expert,

    any feedback on this?

  5. #5
    Join Date
    Mar 2013
    Beans
    16

    Re: SMTP/Sendmail /var/spool/mqueue on NFS

    Expert,

    any one to suggest or help here?

    Thanks
    Hash

  6. #6
    Join Date
    Nov 2005
    Location
    Lincolnshire, UK
    Beans
    1,461
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: SMTP/Sendmail /var/spool/mqueue on NFS

    hash4all: Firstly, I am not an "expert", nor do I run a SMTP or Sendmail server but I do use NFS.

    I do not fully understand your question but my understanding is that any NFS mount just becomes a part of the root file system for a particular machine. I would guess that this means you can, if you wish, keep your mail queue on such a mount as it will appear to be on the "local" file system. IMHO, the only significant performance hit will be the delay in transferring data over your LAN to the NFS server.

    I suggest you create a test system (populated with some dummy data) to test this on and then, if you hit any problems, post back with actual terminal output to show exactly what is happening.

    HTH.

  7. #7
    Join Date
    Nov 2008
    Location
    Metro Boston
    Beans
    10,255
    Distro
    Kubuntu 14.04 Trusty Tahr

    Re: SMTP/Sendmail /var/spool/mqueue on NFS

    As long as "no_root_squash" is used on the server, so that root can mount /var/spool/mqueue without losing privileges, then yes, you can have an NFS-mounted queue. However I would discourage you from having both machines despool the messages because of possible contention over file locks. Let one machine handle the sending, with the other waiting in reserve.

    If sendmail starts with "-bd -q15m" or something similar, remove the "-q15m" from one of the servers.
    If you ask for help, please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  8. #8
    Join Date
    Mar 2013
    Beans
    16

    Re: SMTP/Sendmail /var/spool/mqueue on NFS

    Thanks for reply.

    Thanks
    Hash

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •