1. olarak içinde geçen mail adresi delivery failure olan mail adreslerini toplamak istiyorum log doyası aşağıdaki gibi
@4000000049f93e5800f936d4 starting delivery 880529: msg 18782309 to remote [email protected] @4000000049f93e5a2fa2ade4 delivery 880529: failure: User_and_password_not_set,_continuing_without_authentication./174.132.137.29 _does_not_like_recipient./Remote_host_said:_550-Verification_failed_for_<inf [email protected]>/550-the_mail_server_could_not_deliver_mail_to_i...@benimd omain.net.__The_account_or_domain_may_not_exist,_they_may_be_blacklisted,_or _missing_the_proper_dns_entries./550_Sender_verify_failed/Giving_up_on_174.1 32.137.29./ @4000000049f93e5a36c5f324 bounce msg 18782309 qp 5319 @4000000049f93e5a36c5fedc end msg 18782309 @4000000049f93e580b8885b4 starting delivery 880531: msg 18791287 to remote [email protected] @4000000049f93e591c9e3d94 delivery 880531: failure: User_and_password_not_set,_continuing_without_authentication./165.212.8.32_d oes_not_like_recipient./Remote_host_said:_550_<[email protected]>..._ User_account_not_activated/Giving_up_on_165.212.8.32./ @4000000049f93e5a0439b01c bounce msg 18791287 qp 5280 @4000000049f93e5a043b4e2c end msg 18791287 @4000000049f93e412021652c starting delivery 880203: msg 28108357 to remote [email protected] @4000000049f93e420a39169c delivery 880203: failure: Connected_to_216.39.53.3_but_greeting_failed./Remote_host_said:_421_4.7.1_[T S03]_All_messages_from_88.88.88.88_will_be_permanently_deferred;_Retrying_wi ll_NOT_succeed._See_http://postmaster.yahoo.com/421-ts03.html/I'm_not_going_ to_try_again;_this_message_has_been_in_the_queue_too_long./ @4000000049f93e4215701344 bounce msg 28108357 qp 4338 @4000000049f93e4215719214 end msg 28108357 2. Olarak delivery success olan mail adreslerini toplamak için log dosyam aşağıdaki gibi @4000000049f93f272393f2c4 delivery 883353: success: User_and_password_not_set,_continuing_without_authentication./<pbjabroniboy@ e-kolay.net>_213.243.1.187_accepted_message./Remote_host_said:_250_OK_4D/88- 04223-87149F94/ @4000000049f93f272790131c delivery 882254: success: User_and_password_not_set,_continuing_without_authentication./<sa...@e-kolay .net>_213.243.1.187_accepted_message./Remote_host_said:_250_OK_5D/88-04223-8 7149F94/ @4000000049f93f272fa49244 delivery 882586: success: User_and_password_not_set,_continuing_without_authentication./<soz...@e-kola y.net>_213.243.1.188_accepted_message./Remote_host_said:_250_OK_7C/9F-04274- 30249F94/ @4000000049f93f28037b3a4c delivery 883442: success: User_and_password_not_set,_continuing_without_authentication./<parakaz...@e- kolay.net>_213.243.1.187_accepted_message./Remote_host_said:_250_OK_7E/88-04 223-87149F94/ 3. Son olarak. Bir adrese gonderilen mailin gonderici mail adreslerinin loglanması onunla ilgili log da sagidaki gibi [email protected] <mailto:[email protected]'a> 'a [email protected] adresimden mail attığımda oluşan log dosyası bu şekilde benim burada loglamak istedigim adres from [email protected] bunları alt alta bir yerde kayıt tutmak istiyorum @4000000049f94051315a644c new msg 34276037 @4000000049f94051315a9afc info msg 34276037: bytes 2575 from <[email protected]> qp 13670 uid 89 @4000000049f94051319f645c starting delivery 30593: msg 34276037 to local [email protected] @4000000049f94051319f7bcc status: local 1/10 remote 0/509 @4000000049f9405131f066a4 delivery 30593: success: did_0+0+1/ @4000000049f9405131f0d404 status: local 0/10 remote 0/509 @4000000049f9405131f13994 end msg 34276037 Teşekkürler.. _____ From: [email protected] [mailto:[email protected]] On Behalf Of Mustafa Aldemir Sent: Thursday, April 30, 2009 12:26 AM To: [email protected] Subject: [Linux-sunucu] Re: Log Dosyası ve Grep awk ile daha kolay yapabilirsiniz. Log dosyasından ilgili birkaç satır gönderirseniz örnek bir kod gönderebiliriz sevgiler, Mustafa Aldemir --- On Wed, 4/29/09, Ahmet Selman Inanc <[email protected]> wrote: From: Ahmet Selman Inanc <[email protected]> Subject: [Linux-sunucu] Log Dosyası ve Grep To: [email protected] Date: Wednesday, April 29, 2009, 3:51 PM Merhaba, Qmail kurulu sistemimde x.com domainim üzerinde [email protected] adresine mail gonderen adresi bir yerde kayit etmek istiyorum. Ornegin [email protected] adresine [email protected] adresinden mail geldi bunları loglamak istiyorum grep komutu ile yapılabileceğini düşündüm fakat tam olarak ne onerirsiniz veya grep'i nasil kullanmaliyim. -----Inline Attachment Follows----- _______________________________________________ Linux-sunucu E-Posta Listesi [email protected] Liste kurallarını <http://liste.linux.org.tr/kurallar.php> http://liste.linux.org.tr/kurallar.php bağlantısından okuyabilirsiniz; Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 dakika içinde üyeliğinizi sonlandırabilirsiniz. <http://liste.linux.org.tr/mailman/listinfo/linux-sunucu> http://liste.linux.org.tr/mailman/listinfo/linux-sunucu
_______________________________________________ Linux-sunucu E-Posta Listesi [email protected] Liste kurallarını http://liste.linux.org.tr/kurallar.php bağlantısından okuyabilirsiniz; Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 dakika içinde üyeliğinizi sonlandırabilirsiniz. http://liste.linux.org.tr/mailman/listinfo/linux-sunucu
