postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Backscatter problem

Re: Backscatter problem

From: Martin Kruse Jensen <mk_at_nospam>
Date: Thu Oct 28 2010 - 08:53:23 GMT
To: postfix-users@postfix.org

Den 28-10-2010 10:36, Ralf Hildebrandt skrev:
> * Martin Kruse Jensen<mk@iktp.dk>:
>> Hi.
>>
>> I'm having quite some trouble trying to prevent backscatter on my
>> postfix server. Mail queue is filled with undeliverable mailer daemon
>> messages. Yesterday I added local_recipient_maps but it dosn't seem
>> to have helped...
> WHAT exactly is bouncing? Check the bounces!
>
I've got 934 of the following kind in mailq:

F0A257BA2AB 7374 Sun Oct 24 14:42:40 MAILER-DAEMON
(delivery temporarily suspended: connect to
mailfrom.com[82.98.86.167]:25: Operation timed out)
                                          error@mailfrom.com

F30747BA21A 6184 Sun Oct 24 23:45:48 MAILER-DAEMON
(delivery temporarily suspended: connect to
embarqhsd.net[64.45.201.2]:25: Operation timed out)
                                          obirema1889@embarqhsd.net

F065D7BA424 4933 Mon Oct 25 12:07:57 MAILER-DAEMON
(delivery temporarily suspended: connect to
danskeanalyser.dk[195.41.131.57]:25: Connection refused)
                                          bounce@danskeanalyser.dk

F3EAF7BA455 3586 Mon Oct 25 17:03:10 MAILER-DAEMON
(Host or domain name not found. Name service error for
name=djbhhijbb.kolobok666.com type=MX: Host not found, try again)
                                          Winston@djbhhijbb.kolobok666.com

F3DF27BA749 4407 Wed Oct 27 15:43:35 MAILER-DAEMON
(Host or domain name not found. Name service error for
name=bbgdghfeih.kolobok666.com type=MX: Host not found, try again)
                                          Jacob@bbgdghfeih.kolobok666.com

F073D7BA1C3 4112 Tue Oct 26 15:02:07 MAILER-DAEMON
(Host or domain name not found. Name service error for
name=bhdeabijad.kolobok666.com type=MX: Host not found, try again)
                                          Roxie@bhdeabijad.kolobok666.com

F26107BA3D8 5432 Mon Oct 25 08:30:54 MAILER-DAEMON
        (connect to livecamflatrate.com[74.117.221.11]:25: Operation
timed out)
                                          
vinnie.felicitas_yr@livecamflatrate.com

Hope that answers your question... I'm quite a newbie :(
>> local_recipient_maps = proxy:pgsql:/usr/local/etc/postfix/local_recipient_maps
>> mydestination =
> You have nothing in mydestination, thus local_recipient_maps is never
> being used!
That explains quite a lot... I'll look into that.
>> relay_domains = proxy:pgsql:/usr/local/etc/postfix/relaydomainmap
>> relay_recipient_maps = proxy:pgsql:/usr/local/etc/postfix/relayaliasmap
> What's in here?
>
/usr/local/etc/postfix/relaydomainmap:
hosts = main
user = mail
password = *REMOVED*
dbname = mail
table = relaydomainmap
select_field = domain
where_field = domain

In the relaydomainmaptable there's only one field - "domain" and one
record: mx.iktp.dk

/usr/local/etc/postfix/relayaliasmap:
hosts = main
user = mail
password = *REMOVED*
dbname = mail
table = relayaliasmap
select_field = address
where_field = address

In the relayaliasmap table there's only one field - "address" and no records

>> virtual_alias_maps = proxy:pgsql:/usr/local/etc/postfix/aliasmap
>> virtual_mailbox_domains = proxy:pgsql:/usr/local/etc/postfix/domainmap
> What's in here?
>
/usr/local/etc/postfix/aliasmap:
hosts = main
user = mail
password = *REMOVED*
dbname = mail
table = aliasmap
select_field = destination
where_field = alias

Aliasmap table sample:
destination alias id
600006@pixelpoint.dk mk@iktp.dk 600006@pixelpoint.dk
600006@pixelpoint.dk 600006@pixelpoint.dk 600006@pixelpoint.dk

/usr/local/etc/postfix/domainmap:
hosts = main
user = mail
password = *REMOVED*
dbname = mail
table = domainmap
select_field = domain
where_field = domain
additional_conditions = AND has_mail = 'y'