LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-31-2004, 01:00 AM   #1
twk
Member
 
Registered: Feb 2002
Location: Canada
Distribution: Fedora/RHEL
Posts: 152

Rep: Reputation: 31
postfix question


Currently I have two domains pointing to my server. For example maindomain.com and otherdomain.com

I've setup virtual domain with postfix and email to somalias@maindomain.com is working but no on otherdomain.com

My config - (the only lines I changed/added from default debian sarge config)

Code:
In main.cf
virtual_alias_domains = maindomain.com, otherdomain.com
virtual_alias_maps = hash:/etc/postfix/virtual

In /etc/postfix/virtual
somealias@maindomain.com userA
alias2@otherdomain.com userB
but otherdomain.com is not recieveing outside email (eg. gmail.com), however it's recieving internal email fine. Eg. when I am logged as root and send an email via mutt to alias2@otherdomain.com and it arrives to userB's inbox properly. Same test from gmail will fail, no error message...

Is this something wrong with my postfix config? or something else (DNS, server config...etc)

Thank you.
 
Old 11-01-2004, 01:52 PM   #2
rpg
Member
 
Registered: Dec 2002
Distribution: OpenSUSE
Posts: 58

Rep: Reputation: 15
configuring virtual domains

I don't have access to my full documentation right now, but I'm pretty sure the problem is that you must indicate what domains you will receive mail for in main.cf.

I believe that you need to set the configuration variable
Code:
mydestination
in order to make this work properly.

Alternatively, perhaps
Code:
virtual_alias_domains
is the right configuration variable.

These are both pretty well documented in the documentation that comes with postfix. Alternatively, see Postfix Virtual Domain hosting web page
 
  


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
Postfix question ncp Debian 1 11-29-2005 01:45 AM
[question]postfix shogun1234 Linux - Software 2 06-19-2005 11:48 PM
Postfix Question timnew Linux - Newbie 14 05-11-2003 09:18 AM
Postfix Question capkapak Linux - Software 3 01-20-2003 02:22 AM
Postfix question DavidPhillips Linux - General 1 02-18-2002 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:26 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