Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-04-2010, 05:48 AM
New Member
 
Posts: 4
Default [SOLVED] Add an alias file

Hello,

I have installed Zimbra Release 6.0.1_GA_1816.DEBIAN5_64 DEBIAN5_64 FOSS edition. I need to add an extra alias file to the postfix configuration. I modified the /opt/zimbra/postfix/conf/main.cf file with this:

alias_maps = hash:/etc/aliases,hash:/etc/mail/sympa_aliases

And after that I run the command:

# /opt/zimbra/postfix/sbin/newaliases

But, now the mail service is not working because of:

Jan 4 14:34:43 estafeta1 postfix/smtpd[16471]: fatal: open database /etc/mail/sympa_aliases.db: No such file or directory

The .db file is not created by the newaliases command. How can I create the .db file?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-04-2010, 06:04 AM
Special Member
 
Posts: 113
Default

Run
Quote:
/opt/zimbra/postfix/sbin/postmap /etc/mail/sympa_aliases
as root.
Reply With Quote
  #3 (permalink)  
Old 01-07-2010, 01:24 AM
New Member
 
Posts: 4
Default

I run this command and I generate the sympa_aliases.db file. But I get warnings. For example, in the sympa_aliases file there is a line with the following text:

sympa: "| /home/sympa/bin/queue sympa@ivie.es"

and the previous command gives this warning:

postmap: warning: /etc/mail/sympa_aliases, line 1: record is in "key: value" format; is this an alias file?

The problem is when I send a mail to sympa@ivie.es, that is the domain of this server, or sympa@estafeta1.ivie.es, that is the server's name, I receive an automatic response message that says that the user doesn't exist.

What am I doing wrong?

Thanks.
Reply With Quote
  #4 (permalink)  
Old 01-07-2010, 03:56 AM
Special Member
 
Posts: 113
Default

Sorry, you have to use postalias instead of postmap
Reply With Quote
  #5 (permalink)  
Old 01-07-2010, 05:13 AM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by jummo View Post
Sorry, you have to use postalias instead of postmap
Ok, this solves the problem of the warning, but it cotinues failing because of it doesn't recognize the user. I get the automatic response message saying that the user doesn't exist.

Thanks.
Reply With Quote
  #6 (permalink)  
Old 01-07-2010, 07:04 AM
Moderator
 
Posts: 7,928
Default

Add Alias To Script - Zimbra :: Wiki
__________________
Reply With Quote
  #7 (permalink)  
Old 01-08-2010, 05:00 AM
New Member
 
Posts: 4
Default

Finally, I solved the problem using the advices in this page that it's accesible from the above link.

Thanks all.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.