Questions about Sendmail, logging and identifying bounces
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1. What is the 48 of 48 ? Is there some kind of internal queue per sender? If so, where do I increase it?
2. Is there a reliable program that can analyze logs and list the bounce emails and date? I need it to filter old site subscribers.
By "reliable" I mean one that doesn't need 20 other components installed, because is a simple job of filtering a log file.
3. For the log filtering, maybe someone knows a SSH command that reads log, looks for " dsn=5.x.x" delivery error and saves the receiver and date to a text file.
1. What is the 48 of 48 ? Is there some kind of internal queue per sender? If so, where do I increase it?
2. Is there a reliable program that can analyze logs and list the bounce emails and date? I need it to filter old site subscribers.
By "reliable" I mean one that doesn't need 20 other components installed, because is a simple job of filtering a log file.
3. For the log filtering, maybe someone knows a SSH command that reads log, looks for " dsn=5.x.x" delivery error and saves the receiver and date to a text file.
Thanks.
That may all sound like a simple job on the surface, but what happens when:
- The script/program runs every five minutes, and keeps finding the same entries in the log (so it keeps writing the same lines to the text file)?
- The script/program modifies the log file to mark that entry as found, and messes up a program that also currently has the log file open?
As for Sendmail, http://etutorials.org/Server+Administration/Sendmail/ seems to be a good reference manual for Sendmail options ... I didn't see anything that stood out right away, as the MaxRecipientsPerMessage is set to unlimited by default.
It doesnt need to run often, once a day or every 3 days.
A current temp solution might work ok though: Mail log is copied to a temp folder by chrontab and a php script is run to load and filter dates and bounces from that file, it saves all to database (bounce address and date) then on next run it can skip the ones older than last date from database.
Unless someone has a better solution I will use what I have.
The other question remains, anyone knows what is the 48/48 next to ctladdr ? I could not find any info. I also have it as "(0/0)" and I seen it somewhere, I think on other logs online as (35/35) or something similar.
It is part of the ctladdr because the next coma is after* it.
The other question remains, anyone knows what is the 48/48 next to ctladdr ? I could not find any info. I also have it as "(0/0)" and I seen it somewhere, I think on other logs online as (35/35) or something similar.
It's the control user and its uid/gid. For more details take a look here
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.