On Sun, Jul 07, 2013 at 09:54:53PM +0200, Stephan Schulz wrote:
> Hi everyone,
>

Hi,


> I think I found a problem (or I have a misunderstanding) with how
> opensmtpd determines if mail is local or not. I'm currently running
> opensmtpd-201306271531p1 and have a basic configuration (almost the
> default one) with the following lines:
> 
> accept for local alias <aliases> deliver to mbox
> accept for any relay
> 
> This matches for mail sent from root@localhost to stephan@t23 and to
> [email protected] as t23 is the hostname and home.all the local domain.
>

ok.


> However, sending it from root@t23 to the same addresses produces a loop
> because the relay line at the end of the configuration file matches.
> Sending it from [email protected] it does NOT produces a loop. The file
> /etc/mailname contains t23.home.all which according to the docs should be
> used as the local hostname for checking if a mail is local. What's strange
> here is that the not fully qualified hostname "t23" is determined as local
> if found in the recipient but it is NOT determined as local if found in
> the sender, which seems like a bug to me.
> 
> Any thoughts?
>

yes.
you found a bug ;-)


-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

-- 
You received this email because you are subscribed to mailing list: 
[email protected]
To unsubscribe, send mail with subject:
        [[email protected]] unregister

Reply via email to