Linode Forum
https://forum.linode.com/

My server sends emails to a specific email address every day
https://forum.linode.com/viewtopic.php?f=11&t=9490
Page 1 of 1

Author:  sblantipodi [ Wed Oct 24, 2012 4:31 pm ]
Post subject:  My server sends emails to a specific email address every day

Hi,
it seems that my server sends emails to a specific email address every day.

There is a user that complaints that he receive the same email three or four times a day
from my server.
If I read my log I see.
Code:
Oct 24 21:30:06 netstar postfix/smtp[32357]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4002:c01::1a]:25: Network is unreachable
Oct 24 21:30:06 netstar postfix/smtp[32357]: 668C540E2: to=<EMAIL ADDRESS OF THE USER>, relay=gmail-smtp-in.l.google.com[74.125.137.27]:25, delay=0.46, delays=0.03/0.01/0.1/0.32, dsn=2.0.0, status=sent (250 2.0.0 OK 1351106998 s27si5929455anh.201)
Oct 24 21:30:06 netstar postfix/qmgr[2111]: 668C540E2: removed


after three or four of this message I can see
Code:
Oct 24 21:52:00 netstar postfix/smtp[32510]: 98B1240E2: to=<EMAIL ADDRESS OF THE USER>, relay=gmail-smtp-in.l.google.com[74.125.137.27]:25, delay=0.48, delays=0.03/0.02/0.12/0.31, dsn=2.0.0, status=sent (250 2.0.0 OK 1351108311 h8si5962513anp.131)
Oct 24 21:52:00 netstar postfix/qmgr[2111]: 98B1240E2: removed


What is this?
It happen with this user only. Why it happen? I don't have any script that automatically send mail to this user, why my server sends email to this user?

Thanks.

Author:  sblantipodi [ Wed Oct 24, 2012 4:59 pm ]
Post subject:  Re: My server sends emails to a specific email address every

I noticed that in my main.cf by default I have:
inet_protocols = all

it seems that it causes the problem with gmail that complaints about
connect to gmail-smtp-in.l.google.com[2607:f8b0:4002:c01::1a]:25: Network is unreachable

is there someone who can explain what is happening here please?

Author:  sblantipodi [ Fri Oct 26, 2012 7:04 pm ]
Post subject:  Re: My server sends emails to a specific email address every

switching to ipv6 the " Network is unreachable" problem but my server still sending email to that address, can't understand why.
any idea?

from the maillog I see this:
Oct 26 23:31:14 netstar postfix/smtp[8198]: CBD7B40E4: to=<EMAIL ADDRESS>, relay=gmail-smtp-in.l.google.com[2607:f8b0:4002:c01::1a]:25, delay=0.65, delays=0.04/0.02/0.09/0.51, dsn=2.0.0, status=sent (250 2.0.0 OK 1351287069 c64si2594695yhh.109)

is there a way to log what process or who sent this email?

Author:  hoopycat [ Fri Oct 26, 2012 10:00 pm ]
Post subject:  Re: My server sends emails to a specific email address every

Code:
grep CBD7B40E4 maillog

Author:  sblantipodi [ Sat Oct 27, 2012 5:30 am ]
Post subject:  Re: My server sends emails to a specific email address every

hoopycat wrote:
Code:
grep CBD7B40E4 maillog


message from APACHE, why apache send this email?

Author:  obs [ Sat Oct 27, 2012 6:37 am ]
Post subject:  Re: My server sends emails to a specific email address every

Sounds like it's coming from a website do you have any PHP sites that send email?

Author:  sblantipodi [ Sat Oct 27, 2012 6:54 am ]
Post subject:  Re: My server sends emails to a specific email address every

obs wrote:
Sounds like it's coming from a website do you have any PHP sites that send email?



Yes but this website sends email in a protected way very very stringe.
In any case can't be that PHP code since that code forward every email sent to my mailbox.

Author:  AGWA [ Sat Oct 27, 2012 3:46 pm ]
Post subject:  Re: My server sends emails to a specific email address every

You could try adding this to your main.cf:

Code:
always_bcc = myaddress@example.com


That will cause Postfix to BCC all mail to that address, which could help you figure out what this message is about.

Author:  vonskippy [ Sat Oct 27, 2012 5:10 pm ]
Post subject:  Re: My server sends emails to a specific email address every

Or he could just have the client that is complaining about the email send him a copy of the full message source.

Author:  sblantipodi [ Wed Nov 07, 2012 10:45 am ]
Post subject:  Re: My server sends emails to a specific email address every

I have just solved, a dummy customer put his username and password on a forum to try other people
generating a new activation code.
Stupid idiot, obviously my server denied the request and resent the wrong activation email code.

I will not stop this, I'm glad that he will receive every wrong activation msg xD

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/