Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am looking at my SMTP logs. The script I just run tells me that one of our mail servers has sent 19848kb, and received 386kb. This is pretty weird as this server should just be forwarding on mail that it received.
One of the sources out outbound traffic I noticed is for lines to do with the DATE command. For instance, this line:
11/16/11 00:26:57 SMTP-OU 8AA56F43369C40ECBE07D7A805617D74.MAI 1184 [ipAddress] DATE 250 2.0.0 OK 1321403130 v50si13351192wec.51 172503 45
DATE is the command. 250 2.0.0 OK 1321403130 v50si13351192wec.51 is the response to the command. 172503 is the number of bytes sent, and 45 is the number of bytes received.
I can't find the specification of what this command does. Is it something like Data-extended? It can't be transmitting just the calender-date, because it is too big for that.
There is no DATE command in SMTP. I guess they are using this word only in the log, to mark the second part of the DATA conversation. I mean the fist part is:
DATA
354 go on
The second part is:
... the actual data ...
250 OK
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
So I was debugging the google search using chrome dev tools and I found out that each time I modify the contents of the search bar, it makes a network call. That itself was baffling for me because this means each search generates around 10 or more server calls for google! Even more surprising is the fact that even then google manages to return suggestions so fast. How do they do it?
One more doubt would be how they handle concurrent ajax calls? (assuming they are ajax calls ofcourse). Like if my search does 10 ajax calls to the server and the latest ajax call returns results faster than the second last ajax call then in that case the response from the second last ajax call would be shown on the UI instead of the latest call right?
They have servers that can upload/download and retrieve upwards of 10 GB/s so that is why!
Happy Coding!
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am facing the below mention problem.
The web application [/helloWorld] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
i am using the mysql-connector-java-5.1.25-bin.jar which is latest one but it is still giving the problem.
Please help me.
From the command line window in linux atleast - "ps -A" will give you a list of all your processes - dont type the quotes. You can confirm that it is in that list or just type "ps -A | grep MySQL Statement Cancellation Timer. This will return you a process ID. Then type kill ##### (whatever your process id is that you want to kill). Hope that helps
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I got a pcap file captured from vlan.
I want to filter some packets out of that file with Tcpdump, but it doesn't work.
Is it because Tcpdump doesn't support vlan?
As it works for the pcap file captured int normal ethernet.
If the packet contains a 802.1q vlan tag, you can do the following -
tcpdump -s0 -nnpi eth0 vlan 100
where 100 is the vlan id.
You've to be a bit careful with the vlan keyword as a BPF filter (when combining it with other filters), as it moves filters 4 bytes to the right, see here - http://www.christian-rossow.de/articles/tcpdump_filter_mixed_tagged_and_untagged_VLAN_traffic.php.
You could also use a filter of the ethernet header - this link describes the solution and potential issues perfectly -
https://serverfault.com/questions/196250/tcpdump-capture-one-of-several-vlans.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have been using some SMTP server for sending mails to gmail server. The problem i am facing is all the mails from a particular domain(say ...#somedomain.info) are treated as Spam by gmail. Is there any way to solve this issue?
Have you analyzed your outgoing mails? What SpamAssassin score do they get if you send them to a server with a SpamAssassin filter?
Normally your issue indicates a wrong mail server setup. Wrong DNS setup, blacklisted on DNSBLs, invalid DKIM or SPF setup, invalid headers or mail encoding, ...
But at first you have figure out what the root cause is. You only stated the impact. And SpamAssassin tests hundreds of rules for many common mail problems. So knowing the rules that get hit lead to finding the cause(s).
If you like you could write a mail to mailtest[AT]malowa.de and I will analyze the score.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is it possible to capture the failure mail. I have created a application for sending mail, i have a log file to store the sent mails. If the sent mail is failure, i just want to find out the failure mail and update the log file.
Is it possible! Is there any way to match the sent mail and the failure mail
Please help me and guide me.
If you mean by failure, a bounced email, you can add an email address to 'return-path' header. If the email is bounced it will be returned to the the email address specified in the return-path. You can then set up a service to analyze these emails.
You have to specify what client are you using, is it Postfix, sendmail, etc?
And what do you mean by "failure".
The basic approach would be to use crontab. It can direct error message
to your email, when it fails
MAILTO=youremail#foo.net
#
# run five minutes after midnight, every day
5 0 * * $HOME/bin/emailcode
If you use sendmail, you can always
verify the log at:
/var/log/maillog