Am 23.02.2012 16:48, schrieb Dragan Zubac: > Is DBMail capable of logging remote smptd responses,both positive and > negative ? > > For example,in log file we have : > > ........status=sent (250 OK id=1S0WqM-0002xV-7W)........ > ........status=sent (250 2.0.0 OK 1329996496 n46si684656eeh.118............ > .........status=sent (250 <DD159540.1CCF226@PC-Milica> Queued mail for > delivery)........... > .........status=sent (250 Thanks)........ > .........status=sent (250 ok: Message 1621320696 accepted)........ > .........status=sent (250 2.0.0 OK 1329974531 x3si153862eea.102)............ > .........status=sent (250 2.0.0 OK 1329980630 r6si288454eem.19)............. > > > ,we'd like to have this responses also logged in the database. > Is it possible with DBMail?
this is not the job of dbmail because it has nothing to do with smtp configure rsyslog as example to log mail in mysql the following is from a live configuration the ModLoad nearly at top and the rest at bottom /var/spool/rsyslog is not default and has to be created _________________________ $ModLoad ommysql $WorkDirectory /var/spool/rsyslog # define location for work (spool) files $ActionQueueType LinkedList # use asynchronous processing $ActionQueueFileName dbq # set file name, also enables disk mode $ActionResumeRetryCount -1 # infinite retries on insert failure mail.* :ommysql:host,database,user,pwd
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
