[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stuck trying to config sendmail for virtual domains
On Thu, 6 Feb 2003, Michael wrote:
> I've been trying (for days now) to configure sendmail to support multiple
> domain names as per the "Virtual Hosting with Sendmail" page at:
>
> <http://sendmail.org/virtual-hosting.html>
>
> I think i have BIND configured correctly, complete with an MX record for
> my domain, and everything appears to resolve correctly using nslookup,
> dnsquery and ping.
>
> I suspect my problem might be that sendmail isn't listening correctly for
> (or accepting?) the virtual domain, but i could be wrong. When i try
> sending mail to this virtual domain, nothing happens immediately, but
> eventually i get a "Warning: could not send message for past 4 hours"
> eMail, which contains this line: "Deferred: Connection refused by
> mail.yourdomain.com"
>
> Does "refused" mean sendmail is configured for and listening on behalf of
> "yourdomain.com", but is rejecting (or ignoring) everything for it? Is
> this a relaying issue of some kind? Any insight would be greatly
> appreciated. Here are the specifics of what i've tried...
You didn't mention which version of OpenBSD you were using ;-(
Recent versions now default to only accepting connections sourced
from localhost. i.e.:
sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
you probably need something like:
sendmail_flags="-L sm-mta -bd -q30m"
which then defaults to using the /etc/mail/sendmail.cf config, presumably
containing normal stuff for listening on all interfaces.
Hope this helps,
Chris