Virtual Domains and Aliases

2014-01-27 Thread Johannes von Rotz
Hi, I have a few questions regarding redirection of mail with aliases and virtual domains. Sometimes there are incoming messages which have the actual FQDN of the machine as recipient, although they were sent to a virtual domain. I have the following setup: - The machine has the FQDN foo.ext.bar

Re: virtual domains and aliases

2013-11-21 Thread Pol Hallen
Thanks! Very cool! Pol > On Tue, Nov 19, 2013 at 05:33:30PM -0500, Wietse Venema wrote: > >> --8<-snip-here--8<-- >> #!/bin/sh >> >> case $# in >> 0) echo usage: $0 example.com ... 1>&2; exit 1;; >> esac >> >> VIRTUAL_MAP=/etc/postfix/virtual >> VIRTUAL_DOMAINS=/etc/postfix/virtual_domains >> >>

Re: virtual domains and aliases

2013-11-20 Thread John
Or, install postfixadmin and change the associated tables to SQL. Which makes life considerably simpler.

Re: virtual domains and aliases

2013-11-20 Thread Benny Pedersen
Pol Hallen skrev den 2013-11-19 22:54: Instead, use a script that generates explicit postmas...@example.com entries etc. when you host a new domain. thanks for reply. Is there an example of that script? Need I create a virtual domain or only something that redirect (i.e. postmas...@example.org)

Re: virtual domains and aliases

2013-11-20 Thread Benny Pedersen
Pol Hallen skrev den 2013-11-19 22:39: Hi all :-) I've several virtual domains and I looking for how create the aliases for each domains (aliases like postmaster, root, etc.) I found this http://serverfault.com/questions/171616/postfix-how-to-make-aliases-work-for-virtual-domains link is for

Re: virtual domains and aliases

2013-11-19 Thread Viktor Dukhovni
On Tue, Nov 19, 2013 at 05:33:30PM -0500, Wietse Venema wrote: > --8<-snip-here--8<-- > #!/bin/sh > > case $# in > 0) echo usage: $0 example.com ... 1>&2; exit 1;; > esac > > VIRTUAL_MAP=/etc/postfix/virtual > VIRTUAL_DOMAINS=/etc/postfix/virtual_domains > > for domainname > do > echo po

Re: virtual domains and aliases

2013-11-19 Thread Wietse Venema
Pol Hallen: > > Instead, use a script that generates explicit postmas...@example.com > > entries etc. when you host a new domain. > > thanks for reply. Is there an example of that script? Need I create a > virtual domain or only something that redirect (i.e. > postmas...@example.org) to virtual do

Re: virtual domains and aliases

2013-11-19 Thread Pol Hallen
> Instead, use a script that generates explicit postmas...@example.com > entries etc. when you host a new domain. thanks for reply. Is there an example of that script? Need I create a virtual domain or only something that redirect (i.e. postmas...@example.org) to virtual domain? Thanks! Pol

Re: virtual domains and aliases

2013-11-19 Thread Wietse Venema
Pol Hallen: > Hi all :-) I've several virtual domains and I looking for how create the > aliases for each domains (aliases like postmaster, root, etc.) > > I found this > http://serverfault.com/questions/171616/postfix-how-to-make-aliases-work-for-virtual-domains > > that says something like this

virtual domains and aliases

2013-11-19 Thread Pol Hallen
Hi all :-) I've several virtual domains and I looking for how create the aliases for each domains (aliases like postmaster, root, etc.) I found this http://serverfault.com/questions/171616/postfix-how-to-make-aliases-work-for-virtual-domains that says something like this: "putting postmaster, roo