Results 1 to 10 of 10

Thread: mail going to /var/spool/mail

  1. #1
    preston is offline Intermediate Member
    Join Date
    May 2006
    Location
    Philadelphia
    Posts
    18
    Rep Power
    9

    Default mail going to /var/spool/mail

    I installed zimbra on Cent OS, disabled sendmail,

    I can send out, although I do actually recieve it puts it in /var/spool/mail, which isn't seen by the webgui.

    Any ideas most appretiated

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Make sure you have the psotfix on your OS stopped.

  3. #3
    preston is offline Intermediate Member
    Join Date
    May 2006
    Location
    Philadelphia
    Posts
    18
    Rep Power
    9

    Default

    Pretty sure, I have, I stopped zimbra, telneted to ip on port 25, and didn't get anything.

    Then I start zimbra, do the same thing and I get the prompt.

    That would mean zimbra is in charge of postfix I would think.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,579
    Rep Power
    57

    Default

    Have you also disabled the firewall and SElinux? When you did a telnet was it in the machine that zimbra is on or from another PC?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    hiya

    I can send out, although I do actually recieve it puts it in /var/spool/mail, which isn't seen by the webgui.
    this is a little ambiguous. what are you using to send? if it's something local it might be talking straight to /usr/lib/sendmail for instance which might deliver it using another mechanism, for instance on rhel4 this points to sendmail.sendmail delivery which might have a cron process fire up sendmail to clear the queue periodically.

  6. #6
    preston is offline Intermediate Member
    Join Date
    May 2006
    Location
    Philadelphia
    Posts
    18
    Rep Power
    9

    Default /var/spool

    Let me be more specific, I send fine.

    New mail comes in, but it puts it in /var/spool/mail

    If I stop zimbra and, telnet my.zimbrabox.com 25 I get connection refused,
    When I start zimbra and telnet my.zimbrabox.com 25 I get the mailserver

    I am pretty sure that no other program is listening to mail,

  7. #7
    preston is offline Intermediate Member
    Join Date
    May 2006
    Location
    Philadelphia
    Posts
    18
    Rep Power
    9

    Default /var/spool

    Ok I think I figured some of it out, if I set up an account on linux the regular way, in /etc/passwd that mail goes into /var/spool/mail/

    If the account only exist in zimbra it gets there. Although I still have another issue. I am running 2 mail servers, one is sendmail up and running, the other is zimbra where I will move users over to.

    All mail essentially hits my sendmailserver first, mail.mydomain.com, I then put a forward in sendmail to send to zimbra.mydomain.com.

    When I set up zimbra, I listed 2 domains, mydomain.com and zimbra.mydomain.com.

    How do I make it so that all accounts can accept mail for both domains, but when sending, it looks as though its from just mydomain.com

  8. #8
    anand is offline Zimbra Employee
    Join Date
    Sep 2005
    Posts
    274
    Rep Power
    9

    Default

    you can set canonical addresses on accounts:

    Code:
    zmprov ma acct@sub.example.com zimbraMailCanonicalAddress acct@example.com
    Or you can set catch all canonical addresses on the domain to do them all:

    Code:
    zmprov md sub.example.com zimbraMailCatchAllAddress @sub.example.com zimbraMailCatchAllCanonicalAddress @example.com
    Bugzilla - Wiki - Downloads - Before posting... Search!

  9. #9
    preston is offline Intermediate Member
    Join Date
    May 2006
    Location
    Philadelphia
    Posts
    18
    Rep Power
    9

    Default /var/spool

    I hope I am not being reduntant here but just so I am clear.

    My primary Mail Server (sendmail) is mail.mydomain.com
    The zimbra box is zimbra.mydomain.com

    My default domain in zimbra is mydomain.com

    If an email comes in for user@zimbra.mydomain.com everything works, although all my users are set up under the default of mydomain.com. SO I need to change all of those users to the domain of zimbra.mydomain.com

    THe line you listed will fix that.

    Second question, when they send out an email, it looks like it came from zimbra.mydomain.com can I make it look like mydomain.com?

  10. #10
    preston is offline Intermediate Member
    Join Date
    May 2006
    Location
    Philadelphia
    Posts
    18
    Rep Power
    9

    Default /var/spool

    actually let me make this question much easier,

    can all my accounts belong to two domains, and how?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  3. DynDNS and Zimbra
    By afterwego in forum Installation
    Replies: 30
    Last Post: 04-01-2007, 03:34 PM
  4. Tomcat broken after upgrade to 4
    By dotslashroot in forum Migration
    Replies: 13
    Last Post: 01-31-2007, 06:05 PM
  5. Mail not getting to mail boxes
    By ehults in forum Installation
    Replies: 5
    Last Post: 10-31-2005, 09:24 AM

Posting Permissions

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