Re: Various questions about Postfix

2021-10-15 Thread Tyler Montney
I'll give that book a try and return to this thread with any remaining questions. On Fri, Oct 15, 2021, 1:13 AM Viktor Dukhovni wrote: > On Fri, Oct 15, 2021 at 12:53:03AM -0500, Tyler Montney wrote: > > > Perfect, all of that makes sense. Here's 3 more: > > You might try the book by Patrick and

misleading warning: symlink leaves directory

2021-10-15 Thread Michael
hey, i am playing around with various configurations in several 'main.cf.*' files, which i symlink to main.cf. if i do # ln -s ./main.cf.test ./main.cf i get the warning Oct 15 09:46:23 mail postfix/postfix-script[13603]: warning: symlink leaves directory: /etc/postfix/./main.cf if i do

Re: misleading warning: symlink leaves directory

2021-10-15 Thread Karl Auer
On Fri, 2021-10-15 at 10:15 +0200, Michael wrote: > everything seems to be fine. but since i don't like warnings and i > like my './' in front of filenames, i dared to investigate, and > looking at '/etc/postfix/postfix-script' i see: > > find $todo -type l | while read f; do \ > readlink "$f" |

Re: About "transport_maps" : when this paraméter is set smtp does not deliver mail localy

2021-10-15 Thread Claude
I solved my problem. We are using the Postfix "directory routing" functionality  . The problem was on the Ldap request filter.  I adjusted it. So the discussion thread on this problem can be closed. Bests Regards. --    Claude Chéret Le 07/10/2021 à 19:36, Claude a écrit : Tank you for

Re: misleading warning: symlink leaves directory

2021-10-15 Thread Karl Auer
On Fri, 2021-10-15 at 20:00 +1100, Karl Auer wrote: > Alternatively, maybe change the check to something like: > >X=`readlink "$f"` >echo "$X" | \ > grep "SYMLINK_OK" || \ > echo "$X" grep -q / && $WARN [...] Needs a "-q" in the firs

Re: misleading warning: symlink leaves directory

2021-10-15 Thread Michael
On Friday, 15 October 2021 11:00:24 CEST, Karl Auer wrote: On Fri, 2021-10-15 at 10:15 +0200, Michael wrote: Wholesale suppression of warnings is generally a bad idea. Especially when they are security-related. full ack. but if the warning says: 'symlink leaves directory', and it just doesn

Re: misleading warning: symlink leaves directory

2021-10-15 Thread Wietse Venema
Michael: > Oct 15 09:46:23 mail postfix/postfix-script[13603]: warning: symlink leaves There is no 'leaves' warning in postfix.org Postfix. I suspect that it was added by a downstream maintainer. Complain there, please. Woeyse

Re: misleading warning: symlink leaves directory

2021-10-15 Thread Michael
On Friday, 15 October 2021 13:18:42 CEST, Wietse Venema wrote: There is no 'leaves' warning in postfix.org Postfix. I suspect that it was added by a downstream maintainer. Complain there, please. indeed, i just downloaded the latest tarbal and didn't find anything in postfix-script. sorry fo

Re: Various questions about Postfix

2021-10-15 Thread Tyler Montney
One other thing while I wait... Once I'm done researching (in a week or two), I'd like someone to provide a sanity check on my Postfix config by posting it here. Is that allowed? On Fri, Oct 15, 2021 at 1:13 AM Viktor Dukhovni wrote: > On Fri, Oct 15, 2021 at 12:53:03AM -0500, Tyler Montney wro