[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] POP before Relay - Continued Problems.



Well, this is what I found so far (sort of a think about it piece, sorry..)

1) It seems that sometimes, even when you have poprelay disabled, it will
restart from /etc/cron.quarter-daily/poprelayd.custodiat. This is a link to
a script in /usr/local/sbin that will check if poprelayd is running, and if
not it restarts. This file should have been deleted by the script that shuts
of pop relaying. So if it's still there, remove it.

2) There seems to be a mistake in /etc/mail/sendmail.cf and
/etc/mail/sendmail.cf.nopopauth: That last one is copied to
/etc/mail/sendmail.cf when you choose not to use pop before relay. But it
still has the error: "check mail before sending" or whatever, and what's
more: it also checks the /etc/mail/popip.db file. This is the file where the
poprelayd writes down which machines are allowed to relay.... To be sure,
you might want to do /usr/local/sbin/poprelayd -f to flush this list after
you got rid of the poprelayd itself.


I'm not that good at sendmail rules, so maybe some guru could have a look at
the OS update 2.0 version of /etc/mail/sendmail.cf.* ?

Watch out:
Switching poprelay on means sendmail.cf.popb4smtp will be *moved* to
sendmail.cf
Switching poprelay off means sendmail.cf will be *copied* to
sendmail.cf.popb4smtp and sendmail.cf.nopopauth will be *copied* to
sendmail.cf. So when messing with these files be sure to make backup copies
of all of them, they will be copied and moved about.

To make things worse, this all interacts with some scripts rewriting
/etc/mail/sendmail.cf
This is done bij the Email.pm cobalt module when changing other sendmail
related settings (like smartrelays),
and also by a poprelayd script called /usr/local/sbin/poprelayd.sendmailcf.
This is the script that ads the lines "please check your mail first" and the
rule for checking a machine against /etc/mail/popid.db. It seems that this
script has been run some times to many? But I can't find who runs it.

Right, so this is not really helpful I'm affraid. Maybe someone else
(preferably the Cobalt team) could look into this. these "check mail first"
messages anoys me (I know, it's harmless and there are worse things going on
in the world).

Jelmer

----- Original Message -----
From: "Dan Kriwitsky" <webhosting@xxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, March 21, 2002 1:32 PM
Subject: RE: [cobalt-users] POP before Relay - Continued Problems.


> >
> > I get my incoming messages.
> >
> > Then go to send one to  info@xxxxxxxxxxxxxxxxxxxxxxxx
> >
> > and lo ...
> >
> >
> > relay denied .. get your messages first ..
> >
> >
> > Any ideas folks
> >
>
> So far, that seems to be the status quo. It can't be turned off after
> OS2, at least via the GUI.
> No answer from Cobalt about it yet.
>
> --
> Dan Kriwitsky
> 
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>