OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Postfix Archives: interaction of relocated table and early loca

interaction of relocated table and early local user detection


Subject: interaction of relocated table and early local user detection
From: Drew Derbyshire (ahdkew.com)
Date: Sun Jan 02 2000 - 10:36:18 CST


It would appear use of the line:

     local_recipient_maps = $alias_maps, unix:passwd.byname

Disables use of the relocated table support for those users no longer in
/etc/passwd, as the users don't pass this first. I presume this could be
corrected by adding hash:/etc/postfix/relocated to the above list, which
would effectively pass the users to the internal component which does the
bounce. If so, please point this out in the documentation.

In my case, I chose to use documented alternative, the
smtpd_recipient_restrictions with hand tuned error messages. This prevents
the mail from ever being accepted on the local system, which I prefer (and
also lets the bounce messages go to banned hosts, which keeps them from
beating on the door further.)

Also, am I correct that the relocated table does not require a trailing at
sign () on local users such as 'ed' but that the
smtpd_recipient_restrictions table does? I had to append the at-sign when
I migrated the entries over:

     ed 550 User has moved, and no new address is available. Report problems to kew.com operations <hostmasterkew.com> (telephone 1-781-279-9812)
     ki-info 550 Service no longer supported. Please try <aikido-llists.psu.edu>. Report problems to kew.com operations <hostmasterkew.com> (telephone 1-781-279-9812)
     listserv 550 Service has been replaced; please try <majordomokew.com>. Report problems to kew.com operations <hostmasterkew.com> (telephone 1-781-279-9812)
     register 550 User has moved. Please try <ahd+registerkew.com>

If so, this could also be highlighted in the docs a little better. It may
be desirable to require the at-sign in the relocated table to make it
consistent, as missed keys are a tricky thing. (I also had to update the
error messages and add the 550 return code. I mention it only lest someone
think I had them in the original relocated table -- and no, I don't think
they should change in the relocated table.)

One final comment is that you can see from my sample table I tend to add a
boiler plate suffix with contact information to the error messages. If
this could be done via variable substitution into the various error
responses in a future release it would be useful. ($contact_information?)

-ahd-

p.s. Nice work with the new release, of course.

--
Drew Derbyshire                                Internet: ahd+sigkew.com
Kendra Electronic Wonderworks                  Voice:     1-781-279-9812

You sound reasonable . . . Time to up my medication.



This archive was generated by hypermail 2b27 : Sun Jan 02 2000 - 10:39:06 CST