alias problems

2 posts / 0 new
Last post
#1 Mon, 05/10/2010 - 22:07
zombiitv

alias problems

I have a significant number of aliased websites setup and I've been fighting email alias for quite some time now. I have created a user for each website for email only, I want the email that is sent to these accounts to drop the mail into a local accounts on the server and also to forward it to a central account. So my command line setup is like this:

virtualmin create-domain --domain example.com --pass password --alias parent.com --default-features

This creates the aliased site - example.com. Then I run:

virtualmin create-user --domain example.com --user dan --pass password

this creates two users: dan@example.com and dan-example.com

I then run this command

virtualmin create-simple-alias --domain example.com --from dan --forward dump@example.com --local dan-example.com

This creates functionality that I want - i.e. I have two aliases - one to dump the email to the local box, one to forward it to dump@example.com -

Here's the problem:

This alias doesn't show up in virtualmin when I click on "edit mail aliases" - if I click on edit manually I get this warning: "1 aliases were not displayed below, as their destinations are too complex to edit manually," so it's in the system but not accessible via virtualmin.

When I click on "webmin/servers/postfix mail server/mail aliases" I can see the two aliases. Since they are not showing up in the virtualmin window, it does not look like I can access this alias via the command line interface. Is this a bug? or is this how it is designed? I need to be able to manage these aliases via command line (actually through PHP but using the command line interface). when I make a list-alias call - I get an empty set (I have deleted the catch all forwarder).

Is there a better way to set up the system to deliver mail locally? or I'm I stuck with this?

Also - I cannot use the username of dan@example.com with thunderbird - I have to use dan-example.com. From what I have read this should not be occurring.

Thanks

Dan

Thu, 05/13/2010 - 11:39
Topic locked