Help to identify source of outgoing email

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
coolemail
Forum Regular
Forum Regular
Posts: 369
Joined: Tue Dec 16, 2008 8:01 am
Location: United Kingdom

Help to identify source of outgoing email

Unread post by coolemail »

Can anyone help. There is some mail (I do not THINK ti is Spam) going from our server but the domain is not hosted on our server. They must have put on one of our accounts as the authentication.

I would like to try and identify which email address is being used to authenticate it. Can anyone help, please?

Code: Select all

Feb 21 12:59:11 plesk3 qmail: 1392987551.169718 starting delivery 745: msg 5367103 to remote ser@remote-domain.com
Feb 21 12:59:11 plesk3 qmail: 1392987551.169754 status: local 0/10 remote 1/20
Feb 21 12:59:11 plesk3 qmail-remote-handlers[21297]: Handlers Filter before-remote for qmail started ...
Feb 21 12:59:11 plesk3 qmail-remote-handlers[21297]: from=charlie@domain1.com
Feb 21 12:59:11 plesk3 qmail-remote-handlers[21297]: to=user@remote-domain.com
Feb 21 12:59:11 plesk3 spamd[5944]: spamd: connection from localhost [127.0.0.1] at port 35391
Feb 21 12:59:11 plesk3 spamd[5944]: spamd: setuid to qscand succeeded
Feb 21 12:59:11 plesk3 spamd[5944]: spamd: checking message <4e076713cb694887ab888aff46ecea69@AM3PR03MB483.eurprd03.prod.outlook.com> for qscand:10002
Feb 21 12:59:13 plesk3 spamd[5944]: spamd: clean message (0.0/5.0) for qscand:10002 in 1.9 seconds, 28359 bytes.
Feb 21 12:59:13 plesk3 spamd[5944]: spamd: result: . 0 - HTML_MESSAGE,T_FILL_THIS_FORM_SHORT scantime=1.9,size=28359,user=qscand,uid=10002,required_score=5.0,rhost=localhost,raddr=127.0.0.1,
rport=35391,mid=<4e076713cb694887ab888aff46ecea69@AM3PR03MB483.eurprd03.prod.outlook.com>,autolearn=disabled
We do not host domain1.com. I'm thinking it MIGHT be an online form because of the 127.0.0.1. I looked up the uid but that did not tell me anything:

Code: Select all

[root@plesk3 ~]# grep 10002 /etc/passwd
qscand:x:10002:492:Qmail-Scanner Account:/var/spool/qscan:/bin/false
[root@plesk3 ~]#


I have tried emailing charlie@domain1.com to see what he has to say - no response as yet.

Can the combined expert knowledge help me in any way. Many thanks in advance for assistance and advice.
Last edited by coolemail on Fri Feb 21, 2014 1:53 pm, edited 2 times in total.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Help to identify source of outgoing email

Unread post by scott »

Look for a qmail-scanner log event on these messages, in that it will indicate what the Relay Client (RC:) is. If its coming from the local system, that will indicate localhost.
coolemail
Forum Regular
Forum Regular
Posts: 369
Joined: Tue Dec 16, 2008 8:01 am
Location: United Kingdom

Re: Help to identify source of outgoing email

Unread post by coolemail »

thanks for your help Scott. We got to the root of it!
Post Reply