Email's from local users - with no accounts.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Email's from local users - with no accounts.

Philip

I think I've config issue.

I have some accounts:
[hidden email]
[hidden email]

I have noticed in the logs that spam is getting though as:

[hidden email] sent to -> [hidden email]

May 27 22:00:05 server amavis[12839]: (12839-13) Passed CLEAN {RelayedInbound}, [127.0.0.1] [X.X.X.X] [hidden email] -> [hidden email], Message-ID: [hidden email], mail_id: aUZXib5w4tLp, Hits: -0.028, size: 1675, queued_as: 56B11204D5, 822 ms

[hidden email] shouldn't be able to send to a local user because that account or forwarder does not exist. Any suggestions welcomed.

main.cf:

smtpd_client_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    check_client_access hash:/etc/postfix/client_checks.cf,
    permit

smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    check_client_access hash:/etc/postfix/client_checks.cf,
    reject_unauth_pipelining,
    reject_unauth_destination,
    reject_rbl_client bl.spamcop.net,
    reject_rbl_client b.barracudacentral.org,
    check_policy_service unix:private/policyd-spf,
    permit

smtpd_helo_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    regexp:/etc/postfix/helo.regex,
    permit


Reply | Threaded
Open this post in threaded view
|

Re: Email's from local users - with no accounts.

Matus UHLAR - fantomas
On 27.05.18 22:49, Philip wrote:

>I think I've config issue.
>
>I have some accounts:
>[hidden email]
>[hidden email]
>
>I have noticed in the logs that spam is getting though as:
>
>*[hidden email]* sent to -> [hidden email]
>
>May 27 22:00:05 server amavis[12839]: (12839-13) Passed CLEAN
>{RelayedInbound}, [127.0.0.1] [X.X.X.X] <[hidden email]>
>-> <[hidden email]>, Message-ID:
><[hidden email]>,
>mail_id: aUZXib5w4tLp, Hits: -0.028, size: 1675, queued_as:
>56B11204D5, 822 ms
>
>*[hidden email]* shouldn't be able to send to a local
>user because that account or forwarder does not exist. Any
>suggestions welcomed.

put "reject_unlisted_sender" into smtpd_sender_restrictions

>main.cf:
>
>smtpd_client_restrictions =
>    permit_mynetworks,
>    permit_sasl_authenticated,
>    check_client_access hash:/etc/postfix/client_checks.cf,
>    permit
>
>smtpd_recipient_restrictions =
>    permit_mynetworks,
>    permit_sasl_authenticated,
>    check_client_access hash:/etc/postfix/client_checks.cf,
>    reject_unauth_pipelining,
>    reject_unauth_destination,
>    reject_rbl_client bl.spamcop.net,
>    reject_rbl_client b.barracudacentral.org,
>    check_policy_service unix:private/policyd-spf,
>    permit
>
>smtpd_helo_restrictions =
>    permit_mynetworks,
>    permit_sasl_authenticated,
>    regexp:/etc/postfix/helo.regex,
>    permit
>
>

--
Matus UHLAR - fantomas, [hidden email] ; 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.
WinError #99999: Out of error messages.