Koozali.org: home of the SME Server

Can't collect mail via pop3

Charlie Brady

Re: Can't collect mail via pop3
« Reply #30 on: August 29, 2002, 07:58:34 AM »
Laurence Griffiths wrote:

> One question about that..... Can you still send email? "#"
> treats the rest of the line as a comment!

Yes, and in this case that just tells fetchmail to use the default smtphost (localhost) rather than the external interface IP address which we have been specifying (so that anti-relaying rules are used).
Unfortunately the anti-relaying rules aren't very helpful if access is blocked completely (by the private setting).

Regards

Charlie

Laurence Griffiths

Re: Can't collect mail via pop3
« Reply #31 on: August 29, 2002, 08:10:07 AM »
Charlie and rk,

Thanks for your help. I'll see if they will let me fiddle with the server this afternoon. They just didn't want me to reboot the server while their plant was operating. - For obvious reasons.

I'll tell you what happens as soon as I have tried out Charlie's suggestion.

Cheers

Charlie Brady

Re: Can't collect mail via pop3
« Reply #32 on: August 29, 2002, 08:21:19 AM »
Laurence Griffiths wrote:

>  They just didn't want me to
> reboot the server while their plant was operating.

I don't think anybody said anything about rebooting the server.

Charlie

Laurence Griffiths

Re: Can't collect mail via pop3
« Reply #33 on: August 29, 2002, 08:23:39 AM »
I was thinking about changing the configuration away from the "private server and gateway" mode. Configuration changes usually require a reboot, don't they?

Laurence Griffiths

Re: Can't collect mail via pop3
« Reply #34 on: August 29, 2002, 08:25:28 AM »
And the changes that you have suggested do not require me to reboot the server. - That is what I meant.

Thanks! I'll go and try it out now.

Laurence Griffiths

Re: Can't collect mail via pop3
« Reply #35 on: August 29, 2002, 09:01:58 AM »
I have tried out Charlie's suggestion. - It didn't work! I got the same error as previously.

I then tried rk's suggestion. - It worked. I'll just make a change to the fetchmail template so that it keeps working.

Thanks guys!

Norrie

Re: Can't collect mail via pop3
« Reply #36 on: August 29, 2002, 02:21:14 PM »
Hi guys,

Can anyone please point me to the file containing the line:
smtphost $SMTP  ?
I'll try this tonight.

Norrie

rk

Re: Can't collect mail via pop3
« Reply #37 on: August 29, 2002, 06:03:30 PM »
Norrie:  It's /etc/fetchmail

Please note this is a temporary fix.  If SME 'patches' the original template file, these changes will get reset.  I'm satisfied it will work for now, but this is not an official fix.

rk

Laurence Griffiths

Re: Can't collect mail via pop3
« Reply #38 on: August 30, 2002, 06:05:11 AM »
I created a custom template, but will delete it if Mitel come up with a fix.

The reason for creating the custom template is that this particular little modification will not be overwritten if any further setting changes are done.

rk, your little modification works beautifully. Thanks!

Norrie

Re: Can't collect mail via pop3
« Reply #39 on: August 30, 2002, 02:51:16 PM »
Hi folks,

Thanks to the people on this thread my mail is now semi-working.  Commenting out the smtphost $SMTP line in /etc/fetchmail worked for me too.  However, I still have to run /etc/fetcmail manually but I can live with that until an official fix comes out.

Cheers and thanks,
Norrie
8o)

Laurence Griffiths

Re: Can't collect mail via pop3
« Reply #40 on: September 01, 2002, 01:45:51 PM »
Norrie,

If you apply rk's fix, your SME server should run "/etc/startmail" at whatever intervals you have told it to do in the server manager. Mine does!