The reason why my first patch didn't work with aliases that expanded
into a non-existant local user was because the right-hand side of the
alias didn't have a host name.

t1: alainx                                      => not OK, no hostname
t2: [email protected]         => ok
t3: [email protected]                        => also ok


The new version of the patch now works in all cases:
1. If a local domain name is attached to the recipient, that one is used, so 
servers with multiple names in class w preserve the correct name
2. If a local domain name is not attached to the recipient, $j ("canonical" 
local host name) is used instead.


** Patch added: "preserve_luser_host.diff"
   
https://bugs.launchpad.net/ubuntu/+source/sendmail/+bug/1031803/+attachment/3246639/+files/preserve_luser_host.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1031803

Title:
  preserve_luser_host does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sendmail/+bug/1031803/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to