Hi, On Tue, Jan 20, 2015 at 08:35:00PM +0100, Benedikt Nie??en wrote: > > > Am 20.01.2015 um 20:23 schrieb Seth <[email protected]>: > > > > On Tue, 20 Jan 2015 10:35:14 -0800, Benedikt Nie??en > > <[email protected]> wrote: > >> This is not what I have and what I need. I don???t have local users who > >> receive emails. All email arriving to the server is forwarded to 2 or 3 > >> addresses which are not hosted on this server. > > > > If that's the case, then I think this the simplest, most concise way to > > achieve your objective. No user accounts are required on the system. > > > > /etc/mail/vdoms > > --------------- > > domain1.tld > > domain2.tld > > > > /etc/mail/smtpd.conf > > -------------------- > > table vdoms "/etc/mail/vdoms" > > accept from any for domain <vdoms> relay via tls://main.mailserver.tld > > verify # relay to main mail server > > > > -- > > You received this mail because you are subscribed to [email protected] > > To unsubscribe, send a mail to: [email protected] > > > > > > !DSPAM:1,54beab7f50657219684844! > > > > > > The problem is that I don???t have control over the target Email server. I > need to redirect all email aliases to three addresses (not at the same time). > > [email protected] => [email protected] > [email protected] => [email protected] > ??? > > I just would like to know if I can use a syntax which lets me skip the > maintenance of the supported domains. > > Thanks for your help. >
Well, why not simply: /etc/mail/vdoms --------------- abc.com cba.com /etc/mail/vusers ---------------- [email protected] [email protected] [email protected] [email protected] /etc/mail/smtpd.conf -------------------- table vdoms "/etc/mail/vdoms" table vusers "/etc/mail/vusers" accept from any for domain <vdoms> virtual <vusers> accept from local for any relay with this you accept mail for your two domains, you go through virtual expansion and [email protected] becomes [email protected] which matches the last rule from smtpd.conf am I missing something ? -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
