Hi,

I'm a bit stumped. I'm hosting a webserver with various domains and I
am using an external mailservice for one of them (let's say
domain1.tld). I'd like to catch all mails to the other ones
(domain2.tld, domain3.tld etc.) and forward it to my externally hosted
address [email protected]. So my idea was:

/etc/smtpd.conf:
listen on all
table domains file:/etc/mail/domains
table lists   file:/etc/mail/lists
accept from any for domain <domains> virtual <lists> forward-only


/etc/mail/aliases:
@ [email protected]

/etc/mail/domains:
domain2.tld
domain3.tld

Now, while I think that this should work, it doesn't work:

"RCPT TO:<[email protected]>" => 550 Invalid recipient

And I do not have the faintest idea why. Can someone poke me in the
right direction?

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to