swilting wrote:
Can I send mail via fakessh.eu but I can not be the sender of the mail

and I must be able to send mail to any address if the sender is me

You still haven't shown postfix logs.


[r...@r13151 ~]# postconf -n
mydomain = fakessh.eu

OK, mail to fakessh.eu will be accepted and delivered locally.

mynetworks = 192.168.0.0/24, 127.0.0.0/8 ,87.98.186.232

The above IPs are authorized to relay.

relay_domains =

Good.

smtpd_client_restrictions = permit_mynetworks

This doesn't do anything, better to remove it. Remove the smtpd_client_restrictions completely from your main.cf, or comment it out.

smtpd_recipient_restrictions = permit_mynetworks check_relay_domains
reject_unauth_destination permit_inet_interfaces
permit_sasl_authenticated permit_mx_backup

Adding random parameters to smtpd_recipient_restrictions is unlikely to help. Try:
smtpd_recipient_restrictions =
  permit_mynetworks
  permit_sasl_authenticated
  reject_unauth_destination
  (... optional anti-spam controls go here ...)

If you are trying to use SASL authentication, the above settings might correct your error. Where are the logs I've asked for?

smtpd_sasl_auth_enable = yes
unknown_local_recipient_reject_code = 550
virtual_alias_domains = fakessh.eu

No, do not list the same domain in multiple address classes.
Either remove the above line, or remove fakessh.eu from mydestination. (likely you want to remove the above line).

--
Noel Jones

Reply via email to