Results 1 to 4 of 4

Thread: /etc/aliases > script = unknown user

  1. #1
    Join Date
    Aug 2007
    Posts
    3
    Rep Power
    8

    Default /etc/aliases > script = unknown user

    There is a lot of material on the subject of using /etc/aliases...I think I've read all of it. But I haven't been able to find a solution to my problem.

    I'm trying to setup mlmmj for mailing list handling.

    The relevant line in my /etc/aliases looks like:
    Code:
    mlmmj-test: "|/usr/local/bin/mlmmj-recieve -L /var/spool/mlmmj/mlmmj-test/"
    Whenever I send an email to it I get back:
    This is the Postfix program at host HOSTNAME.DOMAIN.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to <postmaster>

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The Postfix program

    <"|/usr/local/bin/mlmmj-recieve -L
    /var/spool/mlmmj/mlmmj-test/"@HOSTNAME.DOMAIN>: unknown user:
    "|/usr/local/bin/mlmmj-recieve -l /var/spool/mlmmj/mlmmj-test/"
    (I've replaced my hostname/domain to protect my ignorance. )

    Just to cover the bases, here are some of my settings:
    Code:
    zmlocalconfig:
    postfix_mydestination = HOSTNAME.DOMAIN localhost lists.DOMAIN
    postfix_alias_maps = hash:/etc/aliases
    postfix_virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf,hash:/etc/aliases
    
    zmprof gacf:
    zimbraMtaMyDestination: lists.DOMAIN HOSTNAME.DOMAIN
    What am I missing?

    TIA

  2. #2
    Join Date
    Aug 2007
    Posts
    3
    Rep Power
    8

    Default

    As a side note, I cannot append an email to a file either. That entry in my /etc/aliases is:

    tester: /tmp/emailtest

    I did touch emailtest with 666 perms beforehand so it's not permissions. The error is the same as above...

    </tmp/emailtest@HOSTNAME.DOMAIN>: unknown user: "/tmp/emailtest"

  3. #3
    Join Date
    Aug 2007
    Posts
    3
    Rep Power
    8

    Default

    To anyone who is having this same problem, I've decided to sandbox Zimbra behind an instance of Exim which will route my mail either to mlmmj zimbra. Bummer that I gotta do it this way but I gotta make it work.

    The community seems pretty active here, I just have a talent for asking hard questions.

  4. #4
    Join Date
    Feb 2008
    Posts
    4
    Rep Power
    7

    Default MLMMJ integration with Zimbra

    Hi, would you please tell how you configured zimbra and mlmmj to work together. I just installed mlmmj successfully and initiated a new mail list under /var/spool/. I have added the appropriate command to /etc/aliases and I can recieve automatic mails from test mail list. But when I tried to send a mail to mail list, the mail bounces back to myself and eventually get returned to the sender.

    What could be the problem here?

    Feb 13 15:17:31 47D7A30002: client=localhost.localdomain[127.0.0.1]
    Feb 13 15:17:31 47D7A30002: message-id=<47B3089A.1020505@yyy.com>
    Feb 13 15:17:31 47D7A30002: from=<xxx@yyy.com>, size=1328, nrcpt=1 (queue active)
    Feb 13 15:17:31 disconnect from localhost.localdomain[127.0.0.1]
    Feb 13 15:17:31 63A3E30001: to=<mlmmj-test@yyy.com>, relay=127.0.0.1[127.0.0.1], delay=5, status=sent (250 Ok: queued as 47D7A30002)
    Feb 13 15:17:31 63A3E30001: removed
    Feb 13 15:17:31 47D7A30002: to=<mlmmj-test@yyy.com>, relay=none, delay=0, status=bounced (yyy.com)
    Feb 13 15:17:31 570C030001: message-id=<20080213151731.570C030001@hostname.yyy.com>
    Feb 13 15:17:31 570C030001: from=<>, size=3199, nrcpt=1 (queue active)
    Feb 13 15:17:31 47D7A30002: removed
    Feb 13 15:17:31 570C030001: to=<xxx@yyy.com>, relay=hostname.yyy.com[192.168.34.1], delay=0, status=sent (250 2.1.5 OK)
    Feb 13 15:17:31 570C030001: removed

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM
  3. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 12:01 PM

Posting Permissions

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