#1  
Old 14th February 2013, 19:05
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 94
Thanks: 33
Thanked 3 Times in 3 Posts
Default Relayhost no longer disables

After enabling relayhost for a test (System, Server Config, Mail) even if I disable it (leaving relayhost, relayhost User, Password relayhost empty) it seems that the relayng continue.

Even reboot solved.

How do I disable relay?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 14th February 2013, 19:17
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

remove it from main.cf and then restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th February 2013, 19:37
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 94
Thanks: 33
Thanked 3 Times in 3 Posts
Default

Thank you.

main.cf was already clean.

Restarted postfix but seems unresolved

The queue is not empty.
Reply With Quote
  #4  
Old 14th February 2013, 19:47
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 94
Thanks: 33
Thanked 3 Times in 3 Posts
Default

Mmmm! One moment!

The problem only happens to the same domain.

Let me explain.

The servers that has problems is called xyz.domain1.tld and the problem occurs only if the recipient is @domain1.tld all recipients with different domain have no problems.
Reply With Quote
  #5  
Old 15th February 2013, 09:22
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Most likely you have somwere domain1.tld in /etc/postfix/main.cf or /etc/mailname. Change all occurrences from domain1.tld to xyz.domain1.tld.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 15th February 2013, 12:41
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 94
Thanks: 33
Thanked 3 Times in 3 Posts
Default

Thank you Till.

/etc/postfix/main.cf and /etc/mailname was clean (no occurrences of domain1.tld).

I found
mail.domain1.tld smtp_user:smtp_password
in /etc/postfix/sasl_passwd
that was exactly what set for hostrelay.

Should I remove it?
Reply With Quote
  #7  
Old 15th February 2013, 14:53
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 94
Thanks: 33
Thanked 3 Times in 3 Posts
Default

I tried to empty /etc/postfix/sasl_passwd and seems to solve the problem.
Reply With Quote
  #8  
Old 18th November 2013, 14:34
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 94
Thanks: 33
Thanked 3 Times in 3 Posts
 
Default

In a new similar case I also had to:

Code:
cd /etc/postfix
postmap hash:/etc/postfix/sasl_passwd
service postfix restart
this because despite having emptied the ISPConfig3 configuration related fields and the file /etc/postfix/sasl_passwd, postfix continued to relay undaunted.

Maybe something does not reset as it should in my installations.

Last edited by aldo; 18th November 2013 at 14:37.
Reply With Quote
Reply

Bookmarks

Tags
relayhost

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
Postfix relayhost and queueing acutchin HOWTO-Related Questions 1 5th March 2011 14:16
POP3 no longer works after system upgrade MrCompTech General 8 4th February 2011 15:19
Failed during pvmove, howto: set up software raid 1 on running LVM system sbh77 HOWTO-Related Questions 2 8th October 2010 00:11
Postfix address verification using relayhost without relay_domains spotix Server Operation 1 13th July 2010 11:59
Postfix relayhost trouble waf Server Operation 7 18th September 2008 19:10


All times are GMT +2. The time now is 12:08.


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