Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 18th February 2012, 16:42
Amorphous Amorphous is offline
Join Date: Jun 2009
Posts: 61
Thanks: 27
Thanked 1 Time in 1 Post
Default error sendimg emails - ip banned :(

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:


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

myhostname = s1.domain.com
mynetworks = [::1]/128
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
content_filter = amavis:[]:10024
receive_override_options = no_address_mappings
relayhost =
mailbox_size_limit = 0
message_size_limit = 0
/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
Reply With Quote
Sponsored Links
Old 19th February 2012, 15:08
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Have you tried to contact the black lists where your server is listed in order to get removed?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
Amorphous (20th February 2012)
Old 20th February 2012, 02:03
Amorphous Amorphous is offline
Join Date: Jun 2009
Posts: 61
Thanks: 27
Thanked 1 Time in 1 Post

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 ...
Reply With Quote
Old 20th February 2012, 09:52
anset anset is offline
Junior Member
Join Date: Jan 2012
Posts: 11
Thanks: 1
Thanked 3 Times in 2 Posts


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.


Reply With Quote
The Following User Says Thank You to anset For This Useful Post:
Amorphous (20th February 2012)
Old 20th February 2012, 20:19
Amorphous Amorphous is offline
Join Date: Jun 2009
Posts: 61
Thanks: 27
Thanked 1 Time in 1 Post

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:


mydestination = hosting.domain.com, localhost, localhost.localdomain
inet_interfaces = 94.xx.xx.90

$mydomain = 'hosting.domain.com'; # a convenient default for other settings
@mynetworks = qw( [::1] 94.xx.xx.90/32 );
/etc/init.d/postfix restart
/etc/init.d/amavisd restart

and surprise !! EVRIKAA !!


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 !
Reply With Quote
The Following User Says Thank You to Amorphous For This Useful Post:
falko (21st February 2012)


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forwarding SPAM to quarantine. tomrichmond Server Operation 8 20th April 2011 19:50
mail server change and emails on server problem. acumen General 1 25th January 2011 15:48
Emails not delivered via btinternet.com despite 250 ok dirdel dwb Server Operation 0 4th January 2010 15:17
Do you know a program that will allow me to fetch emails decided on UIDL? voltron81 Server Operation 0 9th December 2009 13:07
blank emails, no headers friday General 1 14th July 2008 23:17

All times are GMT +2. The time now is 10:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.