From: Noel Jones (no email)
Date: Mon Feb 23 2009 - 10:10:01 EST
Santiago Romero wrote:
> mouss escribió:
>>> Is there any way to verify seeing the logfile if a given message is
>>> going throught a given transport (say "slow" in my master.cf) instead of
>>> standard "smtp" transport?
>>>
>>> I'm not sure or I don't know how to check if the messages are being
>>> delivered by the "slow" transport I defined :? (at least, I can't see in
>>> the logs info about it).
>> look for "relay="
>
> It just says:
>
> Feb 22 10:15:28 egeo postfix/smtp[3679]: A0553B41AB:
> to=<>,
> relay=mail.domain.es[A.B.C.D]:25,
> delay=13,
> delays=2.2/0/0.05/11, dsn=2.0.0,
> status=sent (250 ok 1235294128 qp 25569)
>
> It does not say anything about my "slow" transport, but I've noticed
> that the destination_rate is working because email sent to
> "mail.domain.es" is being "spaced" 2 seconds between a message and the
> next one :-?
>
> What should the "relay=" field say when sending through a "new"
> transport? :?
>
> It seems to be working but I don't see any difference in the log files
> when I compare with the standar "smtp" transport :?
>
> Thanks a lot.
>
That's right, the logs show the program name (smtp) not the
transport name; you can't tell which transport called smtp.
You can add something like
-o syslog_name=postfix-slow
to the master.cf slow transport entry to differentiate the
logging.
-- Noel Jones
|
|
|