?
Solved

QPopper won't read command line

Posted on 2005-03-15
4
Medium Priority
?
242 Views
Last Modified: 2013-12-16
Hello:

I am trying to modify qpopper so that it logs the successful logins in order to use pop-before-smtp for outside relaying. Unforotunately I can't get it to read the command line args. I put them in the server_args param of the qpopper xinetd.d dir.

Any ideas?

Current setup:
service pop3
{
        disable         = no
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/popper
        server_args     = -R -log-login
        instances       = 50
        per_source      = 10
        log_on_failure  += USERID
}


Thank you.
0
Comment
Question by:RobMarreel
2 Comments
 

Author Comment

by:RobMarreel
ID: 13549433
I changed the config to this:


# qpopper POP3 server

service pop3
{
        disable         = no
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/popper
        server_args     = qpopper -f /etc/qpopper.conf
        instances       = 50
        per_source      = 10
        log_on_failure  += USERID
}

And the config file is this:

set log-login = false
set tracefile=/etc/qpopper.log
set reverse-lookup=false


Now I am getting a new message in the logs. But it just says true, nothing else.
0
 
LVL 38

Accepted Solution

by:
wesly_chen earned 2000 total points
ID: 13552456
Hi,

 To find out who (and how often), you need to tell qpopper to log statistics.  
--- man qpopper --
       The  -s  flag turns on statistics logging using syslog(8)
       At the end of each popper session, the following  informa­
       tion is logged: username, number of messages deleted, num­
       ber of bytes deleted, number of message  left  on  server,
       number of bytes left on server.
------

> server_args     = qpopper -f /etc/qpopper.conf
server_args     = qpopper -s

Regards,

Wesly

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question