Hi Wietse, as i stated in the first message this is why postfix is rejecting, right? I mean, i've setted reject_unauth_destination and here i'm trying to send an email to someone who's mail isn't managed by me and so my postfix mta isn't the final destination, is it right?
So if i'm right i'm not looking for an error in postfix configuration but the best appropriate way to setup an autoreply/vacation service. As far as i know the ideal would be to use as from address the recipient of the genuine email was sent to but as i'm forced to authenticate to send an email and i can't use the user's email address password i have to think about another way to go. I was thinking on creating a specific email address for autoreply messages but i don't feel it's that nice because the from would be something like autore...@example.com. Could you give me your point of view about what would be the proper way to go? Thanks, On Tue, Mar 8, 2016 at 12:25 PM, Wietse Venema <wie...@porcupine.org> wrote: > Pau Peris: >> Hi Wietse, >> >> thank again for your help. Here goes the info, it looks good but >> obviously it isn't as long as vacation.pl keeps getting (554 5.7.1 : >> Relay access denied). >> >> postconf mynetworks smtpd_recipient_restrictions smtpd_relay_restrictions >> mynetworks = 127.0.0.1/32 91.121.120.208/32 [::1]/128 >> [2001:41d0:1:afd0::1]/128 [fe80::4e72:b9ff:feb1:a60e]/128 >> smtpd_recipient_restrictions = reject_unauth_pipelining, >> reject_non_fqdn_recipient, reject_unknown_recipient_domain, >> permit_sasl_authenticated, check_policy_service >> unix:private/policy-spf, reject_unauth_destination, >> check_policy_service inet:127.0.0.1:10023, ,permit > > You have reject_unauth_destination but nothing that permits mail > from localhost. > > Wietse -- Pau Peris Rodriguez Chief Executive Officer (CEO) Tel: 669650292 C/Balmes 211, Principal Segunda Barcelona 08006 http://www.webeloping.es Aquest correu electrònic conté informació de caràcter confidencial dirigida exclusivament al seu/s destinatari/s en còpia present. Tant mateix, queda prohibida la seva divulgació, copia o distribució a tercers sense prèvia autorització escrita per part de Pau Peris Rodriguez. En cas d'haver rebut aquesta informació per error, es demana que es notifiqui immediatament d'aquesta circumstancia mitjançant la direcció electrònica del emissor.