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.

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</email> 

after three or four of this message I can see

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</email> 

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.

9 Replies

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?

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=, 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?

grep CBD7B40E4 maillog

@hoopycat:

grep CBD7B40E4 maillog

message from APACHE, why apache send this email?

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

@obs:

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.

You could try adding this to your main.cf:

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.

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

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct