LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-25-2011, 11:55 AM   #1
lqlt
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
postfix virtual_mailbox and virtual_alias together


On my Ubuntu server, I have configured postfix to use virtual mailboxes
and virtual aliases.

Mails addressed to
vmbx1@my.vdomain and
vmbx2@my.vdomain
get delivered to their local virtual filesystem-mailbox correctly.

Similarly, mails addressed to
vali1@my.vdomain and
vali2@my.vdomain
get delivered (forwarded) to their remote alias target.


I'd like to use both deliveries mixed.
vmix@my.vdomain
I'd like to keep the mail in the local virtual mailbox
AND
to deliver (forward) to the remote alias target as well.

I couldn't configure this.
Any help will be greatly appreciated. Thank you.
 
Old 01-27-2011, 02:42 AM   #2
tva
Member
 
Registered: Jul 2010
Location: Finland
Distribution: Open SUSE 13.1
Posts: 83

Rep: Reputation: 8
I have my aliases and mailboxes set up in mysql so I'm not sure how it goes if your conf is done traditional way but this is how I did it.

I set up an alias which delivers posts to other alias and desired mailbox
like

Code:
 vmix@domain ---> alias@domain
              \-> mbox@domain

Last edited by tva; 01-27-2011 at 02:43 AM. Reason: formatting
 
Old 02-14-2011, 09:42 AM   #3
lqlt
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, tva,
with MySQL it may work. However, this is the traditional way I found:

A virtual aliases file entry may define multiples aliases.
One of them may be the local virtual mailbox entry,
with the same left-side key.

- Create an entry in the virtual aliases file 'virtual'
Code:
vmix@my.vdomain    vmix@my.vdomain, vmixforwarded@other.domain, ...

- And create the same entry in the virtual mailboxes file 'vmailbox'
Code:
vmix@my.vdomain    /vboxes/subdir1/vmix/

Last edited by lqlt; 02-14-2011 at 09:48 AM.
 
  


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 send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
how to make postfix send email to another postfix in local network (LAN)? h4k33m Linux - Server 9 06-04-2015 04:33 PM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM
Postfix error: /usr/lib/postfix/smtpd pid 7529 exit status 1 Chiragrs Linux - Networking 7 05-16-2008 12:42 AM
Postfix Configuration Question: Postfix server as a catch-all on office LAN enso491 Linux - Server 5 04-14-2008 04:35 PM

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

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