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

[cobalt-users] poprelayd popb4smtp ideas



Some off-the-cuff ideas... might help narrow it down a bit...

1. Maybe it's having a problem setting it's pid file? See if /var/run/poprelayd.pid exists; delete it if so, then try starting poprelayd again

2. Does the /etc/mail/popip.db file exist? if not, you have to have a blank one there first...

	makemap hash /etc/mail/popip.db < /dev/null

then make sure it's owned properly:

	chmod 644 /etc/mail/popip.db
	chown root.root /etc/mail/popip.db

3. Make sure the poprelayd script is executable

	chmod 755 /usr/local/sbin/poprelayd



FWIW as I'm looking at my own RaQ, I'm seeing that IMAP support did not take both possible log entry strings into account. I modified the IMAP regex at line 189 in /usr/local/sbin/poprelayd to read

if ($s =~ /[Login|Authenticated] user=\S+ host=\S+ \[([\d\.]+)\]\s*$/) {

(it originally had just the Login option... but at least on my server I get the Authenticated string too...) Now you can do IMAP-before-SMTP too!