error sendimg emails - ip banned :(

Discussion in 'Installation/Configuration' started by Amorphous, Feb 18, 2012.

  1. Amorphous

    Amorphous New Member

    hello again !
    i am coming back with a very sensitive problem...

    one of my customers spammed intensilly over the past month, maybe more, from one of his websites ... i have found the spam sender, deleted everything from his account, with his consent also, but the problem is that the imap ip is allready banned ...

    i am trying to change my imap ip on the server ... my configuration is like this:

    /etc/hosts

    94.xx.xx.2 s1.domain.com s1

    /etc/postfix/main.cf
    /usr/lib/courier-imap/imapd.cnf and pop3d.cnf CN=localhost


    i have tryed to change in /etc/hosts the deafult ip, to 94.xx.xx.90 and the server domain from s1 to hosting ...

    the ip changeing has no negative effect on the proccesses running routine, changing the server domain allready gave me http errors, because is not recongnising the new domain.

    i have not saw if httpd is the only one affected by this change, i havent tryed the othe program if they are running after the server reboot ....

    when i saw http stopped, changed back the domain to s1 , rebooted the server and stopped from changing anything else ....

    the problem is ...

    even with all the tutorial following step by step, i cannot see exactly what i have to do in order to change the imap from seeing the old ip instead of the new one, and maybe also the new domain name ....


    can u please advise me the steps and the changes i need to make ?? if it s possible .... if not .. i m crewed :) i will get home only in 2 months from now, and the next 2 months will be very hard counting the fact the nobody even me will not be able to use emails :)

    not to mention that the phpmyadmin problem still exists :)
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Have you tried to contact the black lists where your server is listed in order to get removed?
     
  3. Amorphous

    Amorphous New Member

    tryed with 3 of them, but i get errors in completing the forms , they are saying that the ip is not actually banned, it doesn t have bad reputation, altho .... the major e-mail providers, yahoo, hotmail, google, also banned .....
    so i guess for me, the best option is to change the ip of the e-mail server ...
     
  4. anset

    anset New Member

    Hi,

    Correct me if i am wrong, but your smtp (ie outgoing mail) is being blocked, not the imap (which is incoming mail and only you can block that).

    Possibly those two services run on the same server, but changing things in courier (imap) won't help I think.

    If you want to change you sending email ip, you need to change the ip address for your mail server (or add a new ip address), update you MX record for the domain to point to the new address and make sure that postfix is using that address to send mail from.

    If your server only has one ip configured, that is automatically what postfix will use, if you have multiple ips on the server, do a google search for smtp_bind_address.

    Hope this helps and if not, sorry to waste your time. :)

    Wkr,

    Anset
     
  5. Amorphous

    Amorphous New Member

    it wasn t a waste of time, a goolge search brought me back to howtoforge to this thread, http://www.howtoforge.com/forums/showthread.php?t=40187

    and i have solved the problem:

    /etc/postfix/main.cf

    /etc/amavisd/amavisd.conf

    /etc/init.d/postfix restart
    /etc/init.d/amavisd restart


    and surprise !! EVRIKAA !! :)

    SEEMS EVERYTHING IS WORKING !!

    i can send and receive mails to and from yahoo accounts :)

    Thank You very much for the help you all gave me, not all directly, also by many other threads that can be found with common issues !!

    Have a good day !
     

Share This Page