LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-28-2010, 05:19 AM   #1
kongi123
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
How to set virtual_alias_domains for all domains and addresses??


Hello,

I am looking for a code for setting virtual alias for all domains and addresses. The scenario is that when I send an email from anywhere to my server, it will send to only one address but not send to the orginal recipient.

This is my code: I think the problem may be from the regular expression (.*) for any domains/email addresses

/etc/postfix/main.cf:
virtual_alias_domains = (.*) <-----
virtual_alias_maps = hash:/etc/postfix/virtual

/etc/postfix/virtual
(.*) admin@myserver.com <----

Thank you very much.
 
Old 04-28-2010, 01:43 PM   #2
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
Go here: http://www.xenocafe.com/tutorials/li...rver/index.php
Great Detailed Virtual Host Instructions.

Also check here:

http://httpd.apache.org/docs/1.3/vhosts/name-based.html

Last edited by NightSky; 04-28-2010 at 02:00 PM. Reason: Added 2nd link
 
Old 07-21-2010, 07:53 AM   #3
stevanbt
LQ Newbie
 
Registered: Dec 2004
Location: uk
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
Hi,
Old-ish thread I know, but I wondered if you found a solution to your problem?

Thanks, Steve.
 
  


Reply



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
Blacklisting domains & email addresses toshx Linux - Server 1 12-01-2009 10:15 AM
Blocking mails from specific email addresses/domains in postfix jomy Linux - Networking 1 07-15-2008 08:32 PM
how-to set up two diferent domains? alc@pone Slackware 3 12-06-2005 10:33 AM
Multiple email addresses with qmail (same prefix, different domains) Shaolyen Linux - General 1 11-16-2003 11:50 PM
mutliple email addresses (domains) lenlutz Linux - Networking 2 10-15-2003 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration