On 28.07.21 06:21, Jean-François Bachelet wrote:
I have some problems with my postfix install, will report one by one :
I have activated the 'soft_bounce = yes' option in main.cf to see what
happens.
1 / Mail sent by some daemons running as 'root' (here it's Pflogsumm,
per example) with 'r...@server.mydomain.com'
for 'r...@server.domain.com' are bounced/rejected, as reported in
'/var/spool/postfix/defer/' :
----------------------------------------------------------------------------------------------------------------------
<r...@server.mydomain.com>: mail for server.mydomain.com loops back to
myself
recipient=r...@server.mydomain.com
offset=780
dsn_orig_rcpt=rfc822;r...@server.mydomain.com
status=4.4.6
action=delayed
reason=mail for server.mydomain.com loops back to myself
this mean that your server is going to send mail to "server.mydomain.com"
and your postfix sees it should deliver domain to itself, but postfix does
not know how to handle mail for server.mydomain.com
- you have to put "server.mydomain.com" to mydestinations if you want to
handle the mail locally
Note that you should use example.com, as mydomain.com is real and owned by
someone
I don't understand as in the 'aliases' file I have set 'root:
me@my_email.fr' so mail sent to 'root' should end in my personal
mailbox...
the same problem as above. the destination address is not taken as local so
it's not aliases.
postconf: warning: /etc/postfix/main.cf, line 705: overriding earlier
entry: smtpd_recipient_restrictions=permit_mynetworks,
permit_auth_destination, permit_sasl_authenticated, reject
and what's exactly in 'main.cf' around that problematic 705 line :
699 smtpd_recipient_restrictions = permit_mynetworks,
permit_auth_destination, permit_sasl_authenticated, reject
- here you devine smtpd_recipient_restrictions
704 # SMTP Restrictions Defaults + Anti-Spam
705 smtpd_recipient_restrictions = reject_invalid_hostname,
706 reject_unknown_recipient_domain,
707 reject_unauth_destination,
708 reject_rbl_client sbl.spamhaus.org,
709 permit
- here you define smtpd_recipient_restrictions again
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Despite the cost of living, have you noticed how popular it remains?