[Workaround.org] Check existing user

Fabrizio Regalli fabreg at gmail.com
Sun May 25 15:36:59 CEST 2008


.....

smtpd_sasl_type=dovecot
smtpd_sasl_path=private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks,
    permit_sasl_authenticated,
    check_client_access hash:/etc/postfix/whitelist,
    reject_unauth_destination,
    reject_rhsbl_client blackhole.securitysage.com,
    reject_rhsbl_sender blackhole.securitysage.com,
    reject_rbl_client bl.spamcop.net,
    reject_rbl_client sbl.spamhaus.org,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client dnsbl.njabl.org,
    reject_rbl_client cbl.abuseat.org,
    reject_invalid_hostname,
    reject_non_fqdn_hostname,
    reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining,
    check_policy_service inet:127.0.0.1:60000
smtpd_helo_required = yes
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/address_banned
disable_vrfy_command = yes
...

As you can see, I've alredy "reject_unauth_destination" rule, but
sometime the e-mail is processed by postgrey if there is an non-exist
user also.
I try to add "reject_unlisted_recipient" but I don't think this solve
the problem.

Thanks.
Fabrizio


2008/5/25 Martin Simovic <martinsimovic at gmail.com>:
> reject non existing recipients early:
>
> .......
> smtpd_recipient_restrictions =
>        reject_unlisted_recipient
>        permit_mynetworks
>        permit_sasl_authenticated
>        reject_unauth_destination
>
> ....
>
> Martin.
>
> On Sat, May 24, 2008 at 1:46 PM, Fabrizio Regalli <fabreg at gmail.com> wrote:
>> Hi list.
>> I have a strange problem when a spammer try to send e-mail to a
>> non-exist user: sometime it's rejected immediately, with message: user
>> does not exist but sometime is processed by postgrey as you can see in
>> my log
>>
>> May 22 08:12:56 server postgrey: action=greylist, reason=new,
>> client_name=unknown, client_address=77.110.114.151,
>> sender=pierrette212_49 at bestselected.com, recipient=nospam at fabreg.it
>> May 22 08:12:56 server postfix/smtpd[25072]: NOQUEUE: reject: RCPT
>> from unknown[77.110.114.151]: 450 4.2.0 <nospam at fabreg.it>: Recipient
>> address rejected: Check for spam messages...;
>> from=<pierrette212_49 at bestselected.com> to=<nospam at fabreg.it>
>> proto=ESMTP helo=<77-110-114-151.zajoulnet.com>
>> May 22 08:12:57 server postfix/smtpd[25072]: disconnect from
>> unknown[77.110.114.151]
>> May 22 08:13:17 server postfix/smtpd[25072]: connect from
>> unknown[77.110.114.151]
>> May 22 08:13:21 server postgrey: action=greylist, reason=new,
>> client_name=unknown, client_address=77.110.114.151,
>> sender=editor at teflbus.com, recipient=nospam at fabreg.it
>> May 22 08:13:21 server postfix/smtpd[25072]: NOQUEUE: reject: RCPT
>> from unknown[77.110.114.151]: 450 4.2.0 <nospam at fabreg.it>: Recipient
>> address rejected: Check for spam messages...;
>> from=<editor at teflbus.com> to=<nospam at fabreg.it> proto=ESMTP
>> helo=<77-110-114-151.zajoulnet.com>
>> May 22 08:13:21 server postfix/smtpd[25072]: disconnect from
>> unknown[77.110.114.151]
>> May 22 08:13:38 server postfix/smtpd[25072]: connect from
>> unknown[77.110.114.151]
>> May 22 08:13:41 server postgrey: action=greylist, reason=new,
>> client_name=unknown, client_address=77.110.114.151,
>> sender=khicks at fooksy.net, recipient=nospam at fabreg.it
>> May 22 08:13:41 server postfix/smtpd[25072]: NOQUEUE: reject: RCPT
>> from unknown[77.110.114.151]: 450 4.2.0 <nospam at fabreg.it>: Recipient
>> address rejected: Check for spam messages...; from=<khicks at fooksy.net>
>> to=<nospam at fabreg.it> proto=ESMTP helo=<77-110-114-151.zajoulnet.com>
>> May 22 08:13:41 server postfix/smtpd[25072]: disconnect from
>> unknown[77.110.114.151]
>>
>> But the user "nospam" doesn't exist.
>>
>> Could someone please explain me why this happends?
>>
>> Many thanks.
>> Fab
>> _______________________________________________
>> Workaround-chitchat mailing list
>> Workaround-chitchat at workaround.org
>> http://workaround.org/cgi-bin/mailman/listinfo/workaround-chitchat
>>
> _______________________________________________
> Workaround-chitchat mailing list
> Workaround-chitchat at workaround.org
> http://workaround.org/cgi-bin/mailman/listinfo/workaround-chitchat
>


More information about the Workaround-chitchat mailing list