1

Topic: Group logging

Hi All,

If I send a letter to the group@example.net, I see that in the mail.log:

Apr 28 01:24:42 domain amavis[9617]: (09617-18) Passed CLEAN, MYNETS LOCAL [192.168.1.99] [192.168.1.99] <root@example.net> -> <user1@example.net>,<user2@example.net>, Message-ID: <20100427232449.251BB1B7299@example.net>, mail_id: ddRJDVfCVanv, Hits: -8.492, size: 3354, queued_as: 3AE6F85A2, 3876 ms
Apr 28 01:24:42 domain postfix/smtp[11720]: 5BFAA8589: to=<user1@example.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.9, delays=0.03/0/0/3.9, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=09617-18, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3AE6F85A2)
Apr 28 01:24:42 domain postfix/smtp[11720]: 5BFAA8589: to=<user2@example.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.9, delays=0.03/0/0/3.9, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=09617-18, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3AE6F85A2)
Apr 28 01:24:42 domain postfix/qmgr[5371]: 5BFAA8589: removed

How can I logging the original recipient (group@example.net) ?

2

Re: Group logging

group@ is a mail list or alias? how do you create it?

3

Re: Group logging

group@ is a mail list

4

Re: Group logging

Can you post more log content? starts from smtp connection.

5

Re: Group logging

Apr 28 01:45:45 legolas postfix/smtpd[11795]: B5B398589: client=autoresponder.net[172.16.38.69]
Apr 28 01:45:45 legolas postfix/cleanup[12155]: B5B398589: message-id=<201004272345.o3RNjuVQ032796@sgixe.silihost.net>
Apr 28 01:45:45 legolas postfix/qmgr[5371]: B5B398589: from=<sender@example.net>, size=191245, nrcpt=3 (queue active)
Apr 28 01:45:45 legolas postfix/smtpd[11795]: disconnect from autoresponder.net[172.16.38.69]
Apr 28 01:45:50 legolas amavis[11888]: (11888-03) Passed CLEAN, LOCAL [172.16.38.69] [172.16.38.69] <sender@example.net> -> <user1@example.net>,<user2@example.net>,<user3@example.net>, Message-ID: <201004272345.o3RNjuVQ032796@sgixe.silihost.net>, mail_id: wby8DtyNduVc, Hits: 0.014, size: 191240, queued_as: 3AC4785A4, 4452 ms
Apr 28 01:45:50 legolas postfix/smtp[12156]: B5B398589: to=<user1@example.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.5, delays=0.09/0/0/4.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=11888-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3AC4785A4)
Apr 28 01:45:50 legolas postfix/smtp[12156]: B5B398589: to=<user2@example.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.5, delays=0.09/0/0/4.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=11888-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3AC4785A4)
Apr 28 01:45:50 legolas postfix/smtp[12156]: B5B398589: to=<user3@example.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.5, delays=0.09/0/0/4.5, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=11888-03, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 3AC4785A4)
Apr 28 01:45:50 legolas postfix/qmgr[5371]: B5B398589: removed
Apr 28 01:45:50 legolas postfix/qmgr[5371]: 3AC4785A4: from=<sender@example.net>, size=191650, nrcpt=3 (queue active)
Apr 28 01:45:50 legolas postfix/pipe[12163]: 3AC4785A4: to=<user1@example.net>, relay=dovecot, delay=0.1, delays=0.04/0.03/0/0.03, dsn=2.0.0, status=sent (delivered via dovecot service)
Apr 28 01:45:50 legolas postfix/pipe[12164]: 3AC4785A4: to=<user2@example.net>, relay=dovecot, delay=0.13, delays=0.04/0.03/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)
Apr 28 01:45:50 legolas postfix/pipe[12167]: 3AC4785A4: to=<user3@example.net>, relay=dovecot, delay=0.14, delays=0.04/0.04/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot service)
Apr 28 01:45:50 legolas postfix/qmgr[5371]: 3AC4785A4: removed