Below is a strace from a recent transaction that was giving me a Query
status = 2. Additonally, I wanted to ask, what happens if the mail that
I am receiving doesn't have a lone period? It's true to say that a
message should end with a period on a line all by itself, right?
If it is true, what would happen if the end of the message came before
the period ever appeared?
This also probably means that my provider isn't doing a good job of
filtering out non compliant mail.
Ideas?
Here is the snippet:
read(3, "90SKxtNd8y4GIoyaZM.\r\n", 21) = 21
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(1, ".", 1.) = 1
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={300, 0}}, NULL) =
0
recv(3, "", 8191, MSG_PEEK) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
write(5, "J2VBhzDUjHt8Ps1PS9IbLXSG7XGkRp9F"..., 163) = 163
close(5) = 0
waitpid(23017, spamstop: Error returned - 0
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 23017
--- SIGCHLD (Child exited) @ 0 (0) ---
munmap(0xb7d6f000, 4096) = 0
rt_sigaction(SIGCHLD, {0x8059940, [], SA_RESTORER|SA_RESTART|
SA_NOCLDSTOP, 0x685a48}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPWR, {0x8059940, [], SA_RESTORER|SA_RESTART|
SA_NOCLDSTOP, 0x685a48}, NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x8059940, [], SA_RESTORER|SA_RESTART|
SA_NOCLDSTOP, 0x685a48}, {0x8059940, [], SA_RESTORER|SA_RESTART|
SA_NOCLDSTOP, 0x685a48}, 8) = 0
rt_sigaction(SIGPWR, {0x8059940, [], SA_RESTORER|SA_RESTART|
SA_NOCLDSTOP, 0x685a48}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x8059976, [], SA_RESTORER, 0x685a48},
{0x8059cf5, [], SA_RESTORER, 0x685a48}, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={60, 0}}, NULL) = 0
close(3) = 0
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0x8059cf5, [], SA_RESTORER, 0x685a48},
{0x8059976, [], SA_RESTORER, 0x685a48}, 8) = 0
write(2, "fetchmail: ", 11fetchmail: ) = 11
write(2, "socket error while fetching from"..., 55socket error while
fetching from postoffice.prserv.net
) = 55
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
rt_sigaction(SIGALRM, {0x8053fbe, [], SA_RESTORER, 0x685a48},
{0x8059cf5, [], SA_RESTORER, 0x685a48}, 8) = 0
rt_sigaction(SIGPIPE, {0x8053fbe, [], SA_RESTORER|SA_RESTART, 0x685a48},
{0x8059d31, [], SA_RESTORER|SA_RESTART, 0x685a48}, 8) = 0
write(1, "fetchmail: Query status=2 (SOCKE"..., 35fetchmail: Query
status=2 (SOCKET)
) = 35
unlink("/home/barsalou/.fetchids") = -1 ENOENT (No such file or
directory)
unlink("/home/barsalou/.fetchids") = -1 ENOENT (No such file or
directory)
unlink("/home/barsalou/.fetchmail.pid") = 0
munmap(0xb7d70000, 4096) = 0
exit_group(2) = ?
--
Barsalou <barjunk(_at_)attglobal(_dot_)net>