[EMAIL PROTECTED] wrote:
How to configure qpsmtpd so that completely external domains (like
yahoo.ca, hotmail.com...) can be relayed?
Without knowing more about how your system is configured, I'm kind of
shooting in the dark, but basically, there are two ways to configure
relaying:
1) config/relayclients - this should contain all of the IP addresses
under your direct control (internal and public) that can relay without
authorization;
2) SMTP AUTH - any IP address not listed in the above file can relay if
they have a successful login. You are strongly urged to run the plugin
tls (which will mean that plaintext passwords can be used over an
encrypted connection).
Then you use one of the local queues (e.g. queue/qmail-queue,
postfix-queue, or exim-bsmtp) which will handle all mail delivery (local
and remote). You need to set your internal domains as having a forced
route to the actual final delivery server (for example a line in qmail's
/var/qmail/control/smtproutes). All domains not forced to go to some
other server will be relayed to the appropriate external server using
the normal MX resolution.
Does this help?
John