Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] courier-imapd will not start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
epig
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2005
Posts: 88

PostPosted: Thu Jan 16, 2025 10:51 am    Post subject: [SOLVED] courier-imapd will not start Reply with quote

Hi,

My courier-imap somehow stopped accepting connections this morning. Clients get a "connection refused" error.

The old go to is restart the service, but that gives an error message I haven't seem before:

Code:
grond ~ # /etc/init.d/courier-imapd restart
 * Caching service dependencies ...                                                                                                                                                                                                                                       [ ok ]
 * Starting courier-imapd ...
/usr/lib64/courier-imap/couriertcpd: Invalid option: -noidentlookup                                                                                                                                                                                                       [ !! ]
 * ERROR: courier-imapd failed to start


Looked at the /var/mail/current log, but that does not give any clues either.

Any tips on how I messed up? Any logs I can provide? (courier does not seem to have their own logs for some reason)

(courier-imap 5.2.10)


Last edited by epig on Fri Jan 17, 2025 7:42 am; edited 2 times in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23227

PostPosted: Thu Jan 16, 2025 2:34 pm    Post subject: Reply with quote

The output you provided says that an invalid option is being passed. What is setting that option? Did this option once work, and has since been removed from newer versions of courier-imapd?
Back to top
View user's profile Send private message
epig
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2005
Posts: 88

PostPosted: Thu Jan 16, 2025 7:46 pm    Post subject: Reply with quote

Hu wrote:
The output you provided says that an invalid option is being passed. What is setting that option? Did this option once work, and has since been removed from newer versions of courier-imapd?


this took some looking around, but in the end I found the option that passes the option to couriertcpd:

In /etc/courier-imap/imapd:

Code:

TCPDOPTS="-nodnslookup -noidentlookup"


Took out the option:

Code:
TCPDOPTS="-nodnslookup"


Did a restart, and now it works.

I must have missed the patch notes or something...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum