[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] fix: problem with POP-before-relay
- Subject: [cobalt-users] fix: problem with POP-before-relay
- From: Jonas Pasche <jonas@xxxxxxxx>
- Date: Tue Dec 21 00:36:18 1999
hi will, hi everybody on the list,
one of our customers told me that the POP-before-relay package doesn't work
on his RaQ2. i checked it and found out that poprelayd uses a regexp that
doesn't understand usernames which contain a minus in it. in this case it
doesn't write the sender's ip address to the access database, so the user
is still not able to send mail.
if you have the same problem, open /usr/local/sbin/poprelayd in you
preferred editor and go to the line
if ($s =~ /POP login for \"\w+\" at \(.+\) ([0-9\.]+)/) {
which is in sub scanaddr. then change the part with the "\w+\" into
"[\w\-]+\"; poprelayd then accepts login names with a minus, too. i'm not
too familiar with regexps, but maybe it's a good idea to add a dot, too
(..."[\w\-\.]+\"...) because dots are allowed in usernames, too. the
underdash is part of \w, i think.
regards, jonas.
____________________________________________
Jonas Pasche
Technischer Support
webagentur Domke GmbH
Rheinstr. 3 - 64283 Darmstadt - Germany
Telefon +49 6151 17742-33
Telefax +49 6151 293173
http://www.domke.de
mailto:jonas@xxxxxxxx
____________________________________________