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

Re: [cobalt-users] IMAP/POP Before SMTP - IMAP Fixed



Jim Scott wrote:
> 
> Ok I have answered my own question. Just change the line below to
> read Login user= instead of Authenticated user=
> 
> restart poprelayd   /etc/rc.d/init.d/poprelayd restart
> 
> You are set. IMAP will now add authenticated users to have the 
> ability to relay.
> 
> Hope it helps someone else. I have tested this on the RaQ2 RaQ3 
> and RaQ4 and all work.

Doing a quick search online for 'imap "Login user=" poprelayd' revealed
this old list message
(http://list.cobalt.com/popermail/cobalt-users/2000-July/016593.html),
which _does_ have "Login user=" as the IMAP maillog entry check string
for RaQ3.

So imapd must have switched log entry formats along the way someplace. 
Each user should check their /var/log/maillog to see what IMAP entry is
being made, and modify /usr/local/sbin/poprelayd appropriately (or get
fancy with the Perl and check for _both_ strings at once, I s'pose)...

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

I'm going to submit a bug report once I've also looked at RaQ2 and RaQ3,
and let someone who knows for sure sort it out|provide an
[answer|patch]...

--
Bruce Timberlake, Sun Cobalt Technology Engineer
Email: bruce.timberlake@xxxxxxx