
popbsmtpd-users
RE: [EnGarde] Re: Dynamic SMTP Sending. Help!
Your configuration looks OK; restart syslog, and make sure it saw the signal:
[root_at_spruce postfix]# killall -HUP syslog-ng
[root_at_spruce postfix]# tail /var/log/messages
Sep 30 09:38:24 spruce syslog-ng[405]: SIGHUP received, restarting syslog-ng
Sep 30 09:38:24 spruce syslog-ng[405]: new configuration initialized
You can check the following, too:
[root_at_spruce postfix]# ls -l /var/log/pop-imap-login.log
prw------- 1 root root 0 Sep 30 09:32
/var/log/pop-imap-login.log
If everything looks OK, stop the daemon, cat /var/log/pop-imap-login.log,
and cause some pop/imap activity. You should see something appear. If you
do not, Ctrl+C and tail /var/log/mail.log and see if the activity was
recorded there.
Once this part works, you should be home free.
Again, let me know.
Marcus
jon Doh said:
> Marcus,
>
> Thank you for the reply. the syslog config is:
>
> [root_at_cliff phlipper]# ps ax | grep syslog
> 160 ? S 0:00 /sbin/syslog-ng --cfgfile=/etc/syslog-ng.conf
>
> the /etc/syslog-ng.conf file has the following lines:
>
>
> ###########################################################
> # DEFINE AVAILABLE LOG DESTINATIONS TO CHOOSE FROM
> ###########################################################
>
> destination mail_login { pipe("/var/log/pop-imap-login.log"); };
>
> ###########################################################
> # DEFINE AVAILABLE LOG FILTERS TO CHOOSE FROM
> ###########################################################
>
> filter f_mail_login { program("stunnel") or program("spop3") or
> program("simap"); };
>
> ###########################################################
> # DEFINE LOGGING - (sources; filters; destinations)
> ###########################################################
>
> #### log secure pop/imap activity for pop-before-smtp processing
> log { source(src); filter(f_mail_login); destination(mail_login); };
>
>
> any furthur ideas? TIA for your time. this is very important.
>
>
> - jon
>
>
>>
>> Yes, it is possible that your syslog-ng is running with a different
>> configuration file, so your changes are not coming into effect. If you
>> do "ps ax | grep syslog" you will see which configuration file it is
>> using.
>>
>> Let me know if that is the problem, and I will add it to the HOWTO.
>>
>> Cheers,
>> Marcus Redivo
This archive was generated by hypermail 2.1.6 on 2005-11-05 00:15:05 PST
|