Strange Rambling And More
 
« Platform-independent web applications becoming the norm? | Home | Mbox to MailDir Conversion »
 

ARCHIVES
June 2007
September 2006
August 2006
April 2006
January 2006
December 2005
March 2005
February 2005
November 2004
September 2004
August 2004
LINKS
  • www.alizandscott.com
  • www.se3.org
  • Kickass Chat


  • Dovecot 1.0.0-11, Sendmail 8.14.1-1 and Poprelay or Fedora core 2
    June 07, 2007

    My problems started when I ran yum to update dovecot from .99 to 1.0. My install of poprelay stopped working. Found this on dovecots wiki:

    http://wiki.dovecot.org/PopRelay

    But it was still wrong, my log looked like this and the example splits the line by ": ". Returning "dovecot" for "$service" not "pop3-login" like it's suppose to.

    Jun 7 09:54:53 mail dovecot: pop3-login: Login: user=<user>, method=PLAIN, rip=[IP Address], lip=[IP Address]

    To fix this I did this:
    ($crap, $info, $string)=split(/\: /,$line);

    Next problem my remote users IP is "rip=[IP Address]" in the logs. To fix this I did the following:
    ($ip) = $line=~/\, rip\=(\d+\.\d+\.\d+\.\d+)/;

    That's all, and it works now!!

    Posted by scott at June 7, 2007 10:22 AM
    ––––––––––––––––––––––––––––––––––––––––––––

    Comments
    Post a comment Remember personal info?

    Name:
    Email:
    Url:
    Comments: