Re: [exim] Cannot send mail to gmail.com after reconfigure E…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Face
Data:  
Para: exim-users
Asunto: Re: [exim] Cannot send mail to gmail.com after reconfigure Exim 4.76?
On Sat, Sep 3, 2011 at 7:45 AM, Face <falazemi@???> wrote:
> Hello all,
>
> I had someone  send spam using my SMTP, therefore i had to change my
> configure to stop this. Now I cannot send to gmail.com and i keep
> getting this
>
> This message was created automatically by mail delivery software.
>
> A message that you sent could not be delivered to one or more of its
> recipients. This is a permanent error. The following address(es) failed:
>
>  falazemi@???
>    SMTP error from remote mail server after end of data:
>    host gmail-smtp-in.l.google.com [74.125.91.27]:
>    550-5.7.1 [173.214.173.77       1] Our system has detected an
> unusual rate of
>    550-5.7.1 unsolicited mail originating from your IP address. To protect our
>    550-5.7.1 users from spam, mail sent from your IP address has been blocked.
>    550-5.7.1 Please visit
> http://www.google.com/mail/help/bulk_mail.html to review
>    550 5.7.1 our Bulk Email Senders Guidelines. s9si64275qcy.51
>
> ------ This is a copy of the message, including all the headers. ------
>
> Return-path: <admin@???>
> Received: from [10.0.1.9]
>        by smtp.aldimna.com with esmtp (Exim 4.76)
>        (envelope-from <admin@???>)
>        id 1QzRQp-0003RX-QE
>        for falazemi@???; Fri, 02 Sep 2011 13:57:07 +0300
> Message-ID: <4E60B683.8030109@???>
> Date: Fri, 02 Sep 2011 13:57:07 +0300
> From: admin <admin@???>
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110628
> Thunderbird/5.0
> MIME-Version: 1.0
> To: Face <falazemi@???>
> Subject: Re: ssssss
> References: <CAKPwB8Kt7EazaA7uROVshxKTPuygrXLx0Z0ZV1nu_aFc2JQ2jA@???>
> <CAKPwB8L_FcCh9TdEsTfFCiekiP_SGwMkFxhgpL6fRkwtAP-2gQ@???>
> <CAKPwB8+waYs71SVzZNUBpONASSxpaKC7gaNibYJMvqJFRWHp5g@???>
> In-Reply-To: <CAKPwB8+waYs71SVzZNUBpONASSxpaKC7gaNibYJMvqJFRWHp5g@???>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
>
>
> I also checked spamhaus.org and it seem my ip address is not listed.
>
> Any help would be much appreciated.
>
> here is a link to my configuration:
> http://goq8.info/Test/exim.conf.html
>
> $exim -bt -d falazemi@???
> Exim version 4.76 uid=0 gid=0 pid=11474 D=fbb95cfd
> Berkeley DB: Berkeley DB 5.2.28: (June 10, 2011)
> Support for: crypteq iconv() PAM OpenSSL move_frozen_messages
> Content_Scanning DKIM
> Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm
> dbmnz mysql sqlite
> Authenticators: cram_md5 dovecot plaintext spa
> Routers: accept dnslookup ipliteral manualroute queryprogram redirect
> Transports: appendfile/maildir autoreply pipe smtp
> Fixed never_users: 0
> Size of off_t: 4
> Compiler: GCC [4.6.1 20110819 (prerelease)]
> Library version: OpenSSL: Compile: OpenSSL 1.0.0d 8 Feb 2011
>                          Runtime: OpenSSL 1.0.0d 8 Feb 2011
> Library version: PCRE: Compile: 8.13
>                       Runtime: 8.13 2011-08-16
> Total 8 lookups
> Library version: MySQL: Compile: 5.5.15 [Source distribution]
>                        Runtime: 5.5.15
> Library version: SQLite: Compile: 3.7.7.1
>                         Runtime: 3.7.7.1
> WHITELIST_D_MACROS unset
> TRUSTED_CONFIG_LIST unset
> changed uid/gid: forcing real = effective
>  uid=0 gid=0 pid=11474
>  auxiliary group list: <none>
> seeking password data for user "root": cache not available
> getpwnam() succeeded uid=0 gid=0
> configuration file is /etc/mail.d/exim.d/exim.conf
> log selectors = 00000ffc 00612001
> trusted user
> admin user
> seeking password data for user "mail": cache not available
> getpwnam() succeeded uid=8 gid=12
> user name "root" extracted from gecos field "root"
> originator: uid=0 gid=0 login=root name=root
> sender address = root@empty
> Address testing: uid=0 gid=79 euid=0 egid=79
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Testing falazemi@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Considering falazemi@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> routing falazemi@???
> --------> hubbed_hosts router <--------
> local_part=falazemi domain=gmail.com
> checking domains
> expansion of "${if
> exists{/etc/mail.d/exim.d/hubbed_hosts}{partial-lsearch;/etc/mail.d/exim.d/hubbed_hosts}fail}"
> forced failure: assume not in this list
> hubbed_hosts router skipped: domains mismatch
> --------> dnslookup_relay_to_domains router <--------
> local_part=falazemi domain=gmail.com
> checking domains
> search_open: mysql "NULL"
> search_find: file="NULL"
>  key="SELECT domain FROM user WHERE domain='gmail.com' UNION SELECT
> domain FROM alias WHERE domain='gmail.com' UNION SELECT domain FROM
> catchall WHERE domain='gmail.com'" partial=-1 affix=NULL starflags=0
> LRU list:
> internal_search_find: file="NULL"
>  type=mysql key="SELECT domain FROM user WHERE domain='gmail.com'
> UNION SELECT domain FROM alias WHERE domain='gmail.com' UNION SELECT
> domain FROM catchall WHERE domain='gmail.com'"
> database lookup required for SELECT domain FROM user WHERE
> domain='gmail.com' UNION SELECT domain FROM alias WHERE
> domain='gmail.com' UNION SELECT domain FROM catchall WHERE
> domain='gmail.com'
> MySQL query: SELECT domain FROM user WHERE domain='gmail.com' UNION
> SELECT domain FROM alias WHERE domain='gmail.com' UNION SELECT domain
> FROM catchall WHERE domain='gmail.com'
> MYSQL new connection: host=localhost port=0 socket=NULL
> database=AlDimnaEmailSystem user=exim
> MYSQL: no data found
> lookup failed
> gmail.com in ""? no (end of list)
> gmail.com in "smtp.aldimna.com"? no (end of list)
> gmail.com in "! +local_domains : +relay_to_domains"? no (end of list)
> dnslookup_relay_to_domains router skipped: domains mismatch
> --------> dnslookup router <--------
> local_part=falazemi domain=gmail.com
> checking domains
> search_open: mysql "NULL"
>  cached open
> search_find: file="NULL"
>  key="SELECT domain FROM user WHERE domain='gmail.com' UNION SELECT
> domain FROM alias WHERE domain='gmail.com' UNION SELECT domain FROM
> catchall WHERE domain='gmail.com'" partial=-1 affix=NULL starflags=0
> LRU list:
> internal_search_find: file="NULL"
>  type=mysql key="SELECT domain FROM user WHERE domain='gmail.com'
> UNION SELECT domain FROM alias WHERE domain='gmail.com' UNION SELECT
> domain FROM catchall WHERE domain='gmail.com'"
> cached data used for lookup of SELECT domain FROM user WHERE
> domain='gmail.com' UNION SELECT domain FROM alias WHERE
> domain='gmail.com' UNION SELECT domain FROM catchall WHERE
> domain='gmail.com'
> lookup failed
> gmail.com in ""? no (end of list)
> gmail.com in "! +local_domains"? yes (end of list)
> R: dnslookup for falazemi@???
> calling dnslookup router
> dnslookup router called for falazemi@???
>  domain = gmail.com
> DNS lookup of gmail.com (MX) succeeded
> DNS lookup of gmail-smtp-in.l.google.com (A) succeeded
> 74.125.91.27 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :172.16.0.0/12
> : 10.0.0.0/8 : 169.254.0.0/16 :255.255.255.255"? no (end of list)
> DNS lookup of alt1.gmail-smtp-in.l.google.com (A) succeeded
> 209.85.143.27 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16
> :172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :255.255.255.255"? no
> (end of list)
> DNS lookup of alt2.gmail-smtp-in.l.google.com (A) succeeded
> 209.85.229.27 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16
> :172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :255.255.255.255"? no
> (end of list)
> DNS lookup of alt3.gmail-smtp-in.l.google.com (A) succeeded
> 74.125.77.27 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :172.16.0.0/12
> : 10.0.0.0/8 : 169.254.0.0/16 :255.255.255.255"? no (end of list)
> DNS lookup of alt4.gmail-smtp-in.l.google.com (A) succeeded
> 74.125.39.27 in "0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :172.16.0.0/12
> : 10.0.0.0/8 : 169.254.0.0/16 :255.255.255.255"? no (end of list)
> fully qualified name = gmail.com
> host_find_bydns yield = HOST_FOUND (2); returned hosts:
>  gmail-smtp-in.l.google.com 74.125.91.27 MX=5
>  alt1.gmail-smtp-in.l.google.com 209.85.143.27 MX=10
>  alt2.gmail-smtp-in.l.google.com 209.85.229.27 MX=20
>  alt3.gmail-smtp-in.l.google.com 74.125.77.27 MX=30
>  alt4.gmail-smtp-in.l.google.com 74.125.39.27 MX=40
> set transport remote_smtp
> queued for remote_smtp transport: local_part = falazemi
> domain = gmail.com
>  errors_to=NULL
>  domain_data=NULL localpart_data=NULL
> routed by dnslookup router
>  envelope to: falazemi@???
>  transport: remote_smtp
>  host gmail-smtp-in.l.google.com [74.125.91.27] MX=5
>  host alt1.gmail-smtp-in.l.google.com [209.85.143.27] MX=10
>  host alt2.gmail-smtp-in.l.google.com [209.85.229.27] MX=20
>  host alt3.gmail-smtp-in.l.google.com [74.125.77.27] MX=30
>  host alt4.gmail-smtp-in.l.google.com [74.125.39.27] MX=40
> falazemi@???
>  router = dnslookup, transport = remote_smtp
>  host gmail-smtp-in.l.google.com      [74.125.91.27]  MX=5
>  host alt1.gmail-smtp-in.l.google.com [209.85.143.27] MX=10
>  host alt2.gmail-smtp-in.l.google.com [209.85.229.27] MX=20
>  host alt3.gmail-smtp-in.l.google.com [74.125.77.27]  MX=30
>  host alt4.gmail-smtp-in.l.google.com [74.125.39.27]  MX=40
> search_tidyup called
> close MYSQL connection: localhost/AlDimnaEmailSystem/exim
>>>>>>>>>>>>>>>>> Exim pid=11474 terminating with rc=0 >>>>>>>>>>>>>>>>
>
>
> --
> Sincerely,
>


Well,

the problem start when i try to use this
(http://struction.de/projects/HOWTO_VirtualMail_Exim-MySQL-Spamassassin-ClamAV-Dovecot/?set_style=clean)
howto. Now things seem to be working OK ,however, i am unable to get
Spamassassin to do what it supposed to do.
I also replace "demime" with "malware" and thing seem to be working.
If anyone could point me to the right direction
would be great.

I attached my exim Configuration file


Any help would be much appreciated.