In my company we're using Postfix as a relay for Google Apps SMTP server in a Debian server. Legacy machines like scanners forward messages to our relay server.
How can i allow the scanner to only send mails through the relay only to certain domains (e.g. our .com)?
I'm pretty sure there's something here but I haven't found something working.