Hi Wietse, thanks a lot for the list of ways to go.
I'm worried about the security risks of adding adding permit_mynetworks to smtpd_recipient_restrictions What do you think about this? Would you see it as a security flaw? I could easily modify de perl script to provide authentication against Postfix but this way would force me to create a user/password for managing autoreply emails. If i'd go by the third option, sending through sendmail instead of SMTP, i would loose the headers automatically set by Postfix. I'm about to take option 2, what do you think between options 1 and 2? Thanks agian! On Tue, Mar 8, 2016 at 3:18 PM, Wietse Venema <wie...@porcupine.org> wrote: > Pau Peris: >> Hi Wietse, >> >> as i stated in the first message this is why postfix is rejecting, >> right? > > Yes. I suppose this is not what you want. The choices are > - add permit_mynetworks in smtpd_recipient_restrictions > - add SASL authentication to the Perl script (which is outside > the help that I can provide). > - submit autoreplies with /usr/sbin/sendmail instead of SMTP. > - something else. > > Wietse