Hello.

One more i just had forgotten.  I tried to enable easy

  </dev/null mail -:/ -s test BLA

from the box(es) which then only relay via VPN to the postfix on
my server.  So thanks to this list this is now even waved through
by buggy spam software due to the specific cleanup rule

  192.0.2.1:submission inet n -   n       -       -       smtpd
          -o syslog_name=vpnsub
          -o smtpd_sasl_auth_enable=no
          -o 
smtpd_relay_restrictions=permit_mynetworks,reject_unauth_destination
          -o cleanup_service_name=vpnsub_cleanup
  vpnsub_cleanup   unix  n       -       n       -       0       cleanup
          -o {header_checks=regexp:{{/^Received:/ IGNORE}}}

but so far the above did not work out because it would have been
entered the email system as BOX.domain.  (It did not hurt because
i does plain not happen, except by accident.)
But now i though this is a grotesque situation and looked into the
address-rewriting thing.  (Truth is, i tried that DKIM test thing
and always forgot to set "set norecord" so the test mails entered
my "sent" folder.  Easier it would have been as above.)
Thanks to the README i got it going with

  masquerade_domains = $mydomain
  local_header_rewrite_clients = permit_mynetworks,permit_tls_clientcerts

However, i first tried to add these via -o to the above submission
entry in master.cf, and that did not work out, if i recall
correctly (it was late last night).  It worked immediately after
placing these directives in main.cf.
So i wondered -- what i was doing wrong?

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to