Re: [exim] I need to search EXIM Logs by Message ID

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andrew Girling
Dátum:  
Címzett: southpaw3229
CC: exim-users
Tárgy: Re: [exim] I need to search EXIM Logs by Message ID

On Oct 14, 2008, at 11:52 AM, southpaw3229 wrote:

>
> I send out permission based emails and i have also registered with
> AOL's bulk
> email regulatory system. When a AOL member flags my emails as spam,
> AOL
> sends me an email with the message ID only. I need to search the
> exim logs
> by message ID, so i can get the exact email address that flagged me
> as spam
> and remove them from the email database.
>
> I've search all over the web, and all i've found is a command to
> search the
> Que by message ID, but not the logs. here is what i've found, which
> doesn't
> help me - # exim -Mvh <E1KpPNg-0006SD-Cj>
>
> I'm also a Unix newbie, so if anyone has a command for me, please
> include
> exactly what i need to type into SSH.
>
> thanks



Hello southpaw, welcome to the world of *nix!

What you'll want to do is filter the maillog for the message ID
(typically found in /var/log/maillog or /var/log/exim/mainlog
depending on your OS's specific setup). You'll use the command line
tools "cat" and "grep" to accomplish this. Here's a link to a good
primer on these tools: http://www.networkclue.com/os/Linux/commands/grep.aspx

Cheers,
Andrew