List Info

Thread: Smarthost being ignored




Smarthost being ignored
user name
2008-03-28 11:41:10
Hey folks,
Had my Kolab 2.2 up and running for quite some time but all
of a  
sudden it has decided it wants to ignore the
smarthost/relayhost I  
have given it and send mail out directly. I'm on a dynamic
IP and so  
this is a big no no, hence why I gave it my ISP's smtp box
as a  
smarthost. All was working fine until about two weeks ago.
Finally got  
round to looking at it today and am stumped - in the web
admin portion  
the option is there for it to use smtp.myisp.com and I can
hand roll  
messages thru this server so am not being blocked - indeed
the sample  
bouncebacks I get when trying to send mail indicate that it
is not  
even trying to use the smarthost, despite the relayhost
directive  
being defined correctly in my postfix/main.cf.
Anyone any clues as to why this is maybe happening?
Cheers in advance

Si.

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

Re: Smarthost being ignored
user name
2008-03-28 12:36:51
On Fri, Mar 28, 2008 at 5:41 PM, Simon Powell
<cabletasticgmail.com> wrote:
> Hey folks,
>  Had my Kolab 2.2 up and running for quite some time
but all of a
>  sudden it has decided it wants to ignore the
smarthost/relayhost I
>  have given it and send mail out directly. I'm on a
dynamic IP and so
>  this is a big no no, hence why I gave it my ISP's smtp
box as a
>  smarthost. All was working fine until about two weeks
ago. Finally got
>  round to looking at it today and am stumped - in the
web admin portion
>  the option is there for it to use smtp.myisp.com and I
can hand roll
>  messages thru this server so am not being blocked -
indeed the sample
>  bouncebacks I get when trying to send mail indicate
that it is not
>  even trying to use the smarthost, despite the
relayhost directive
>  being defined correctly in my postfix/main.cf.

You should have "[smtp.myisp.com]"  in
postfix/main.cf,
not "smtp.myisp.com".

# man 5 transport
to know what [] does

Regards

>  Anyone any clues as to why this is maybe happening?
>  Cheers in advance
>
>  Si.
>
>  _______________________________________________
>  Kolab-users mailing list
>  Kolab-userskolab.org
>  https:
//kolab.org/mailman/listinfo/kolab-users
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

Re: Smarthost being ignored
user name
2008-03-28 15:53:24
Thanks for getting back to me - this was already the case
but I now  
have a much more far reaching issue which I feel may have
been the  
issue all along. When I log in to the manager (post a reboot
earlier)  
I get the message 'Could not bind to LDAP server: Can't
contact LDAP  
server'
Did a lookup on this and was advised to run a repair of LDAP
 
(db_recover -h) and to restart the service. I put the
verbose flag  
onthe repair so I could see if it was actually doing
anything ( I just  
guessed that the database to be repaired was openldap-data)
and it  
seemed to repair but when I try to restart openldap I get
:-
openpkg:rc:WARNING: /kolab:openldap:%start: failed with
return code 1
openpkg:rc:NOTICE: no output occurred on stdout/stderr

...and obviously it doesn't start. Very confused here as to
how/why  
this could have happened and also intrigued as to how I can
get this  
fixed.
Any help would be most appreciated.
Cheers
Si




On 28 Mar 2008, at 17:36, Alain Spineux wrote:

> On Fri, Mar 28, 2008 at 5:41 PM, Simon Powell  
> <cabletasticgmail.com> wrote:
>> Hey folks,
>> Had my Kolab 2.2 up and running for quite some time
but all of a
>> sudden it has decided it wants to ignore the
smarthost/relayhost I
>> have given it and send mail out directly. I'm on a
dynamic IP and so
>> this is a big no no, hence why I gave it my ISP's
smtp box as a
>> smarthost. All was working fine until about two
weeks ago. Finally  
>> got
>> round to looking at it today and am stumped - in
the web admin  
>> portion
>> the option is there for it to use smtp.myisp.com
and I can hand roll
>> messages thru this server so am not being blocked -
indeed the sample
>> bouncebacks I get when trying to send mail indicate
that it is not
>> even trying to use the smarthost, despite the
relayhost directive
>> being defined correctly in my postfix/main.cf.
>
> You should have "[smtp.myisp.com]"  in
postfix/main.cf,
> not "smtp.myisp.com".
>
> # man 5 transport
> to know what [] does
>
> Regards
>
>> Anyone any clues as to why this is maybe
happening?
>> Cheers in advance
>>
>> Si.
>>
>> _______________________________________________
>> Kolab-users mailing list
>> Kolab-userskolab.org
>> https:
//kolab.org/mailman/listinfo/kolab-users
>>
>
>
>
> -- 
> Alain Spineux
> aspineux gmail com
> May the sources be with you

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

Re: Smarthost being ignored
user name
2008-03-28 21:55:12
On Fri, Mar 28, 2008 at 9:53 PM, Simon Powell
<cabletasticgmail.com> wrote:
> Thanks for getting back to me - this was already the
case but I now
>  have a much more far reaching issue which I feel may
have been the
>  issue all along. When I log in to the manager (post a
reboot earlier)
>  I get the message 'Could not bind to LDAP server:
Can't contact LDAP
>  server'
>  Did a lookup on this and was advised to run a repair
of LDAP
>  (db_recover -h) and to restart the service. I put the
verbose flag
>  onthe repair so I could see if it was actually doing
anything ( I just
>  guessed that the database to be repaired was
openldap-data) and it
>  seemed to repair but when I try to restart openldap I
get :-
>  openpkg:rc:WARNING: /kolab:openldap:%start: failed
with return code 1
>  openpkg:rc:NOTICE: no output occurred on
stdout/stderr

An error in the ldap configuration file could also prevent
the service to start

start openldap manualy using

# /kolab/libexec/openldap/slapd -d 1

If the error message is unclear try using 2, then 3, then 4,
then 5
until you get something you can understand.

Look the kolab's wiki for interesting information about how
to deal with ldap.

MAKE A DAILY BACKUP (AND KEEP SOME ARCHIVE OF THEM)
OF YOUR CRITICAL DATA. (I put this in upercase because this
is important 
and so easy, look the wiki)


>
>  ...and obviously it doesn't start. Very confused here
as to how/why
>  this could have happened and also intrigued as to how
I can get this
>  fixed.
>  Any help would be most appreciated.
>  Cheers
>  Si
>
>
>
>
>
>
>  On 28 Mar 2008, at 17:36, Alain Spineux wrote:
>
>  > On Fri, Mar 28, 2008 at 5:41 PM, Simon Powell
>  > <cabletasticgmail.com> wrote:
>  >> Hey folks,
>  >> Had my Kolab 2.2 up and running for quite
some time but all of a
>  >> sudden it has decided it wants to ignore the
smarthost/relayhost I
>  >> have given it and send mail out directly. I'm
on a dynamic IP and so
>  >> this is a big no no, hence why I gave it my
ISP's smtp box as a
>  >> smarthost. All was working fine until about
two weeks ago. Finally
>  >> got
>  >> round to looking at it today and am stumped -
in the web admin
>  >> portion
>  >> the option is there for it to use
smtp.myisp.com and I can hand roll
>  >> messages thru this server so am not being
blocked - indeed the sample
>  >> bouncebacks I get when trying to send mail
indicate that it is not
>  >> even trying to use the smarthost, despite the
relayhost directive
>  >> being defined correctly in my
postfix/main.cf.
>  >
>  > You should have "[smtp.myisp.com]"  in
postfix/main.cf,
>  > not "smtp.myisp.com".
>  >
>  > # man 5 transport
>  > to know what [] does
>  >
>  > Regards
>  >
>  >> Anyone any clues as to why this is maybe
happening?
>  >> Cheers in advance
>  >>
>  >> Si.
>  >>
>  >>
_______________________________________________
>  >> Kolab-users mailing list
>  >> Kolab-userskolab.org
>  >> https:
//kolab.org/mailman/listinfo/kolab-users
>  >>
>  >
>  >
>  >
>  > --
>  > Alain Spineux
>  > aspineux gmail com
>  > May the sources be with you
>
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you

_______________________________________________
Kolab-users mailing list
Kolab-userskolab.org
https:
//kolab.org/mailman/listinfo/kolab-users

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )