LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-23-2004, 01:22 AM   #1
riotpunk
LQ Newbie
 
Registered: May 2003
Posts: 9

Rep: Reputation: 0
Postfix aliases


I'm trying to add aliases to a postfix server that runs multiple domains and I need to add the same aliases for multiple domains.

ie:
webmaster@domain.com: user1
webmaster@otherdomain.com: user2

It seems that the format above is incorrect, and I get the message:
postalias: warning: /etc/aliases, line 8: name must be local

How can I add those aliases?

TIA,
Pat
 
Old 07-23-2004, 03:39 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,747

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Edit /etc/postfix/recipients (or recipients-canonical, whatever it's called) to identify local recipients.

Example:
webmaster@domain.com user1
webmaster@otherdomain.com user2

Then edit /etc/postfix/main.cf. Look for the line which reads:

local_recipient_maps = hash:/etc/postfix/recipients. If it does not exist, add it.
When done, execute the command 'postfix reload' to pick up the config changes.

Source of info: Postfix FAQ
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Aliases & Active Directory paul_mat Linux - Networking 0 11-16-2005 11:09 PM
How to setup aliases in postfix? (Debian) Jeozp Linux - Software 1 02-03-2005 12:52 PM
postfix and mysql aliases problem paintcheck200 Linux - Networking 0 01-06-2005 09:22 PM
postfix aliases\users help nidputerguy Linux - Networking 11 02-08-2004 08:18 PM
Postfix and the aliases file MasterC Linux - General 5 01-16-2003 03:40 PM


All times are GMT -5. The time now is 08:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration