Postix : no incoming mails (in certain circumstances only) [closed] - email

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 9 years ago.
Improve this question
I have a mail server based on Postfix + Dovecot (IMAP) on a CentOS 5.6, everything works, but I don't receive emails, and I get no notification of non-delivery, they just never show up.
About the DNS, the MX (mail.example.net) are just ok, no problem there.
I can telnet both Postfix (port 25) and Dovecot (port 143) with no troubles, from localhost as well as from the public IP. I have a Roundcube webmail that works too, I can connect on it, send emails, see my folders, etc.
The problems come when receiving emails, there are simply not received. For example, I send a test email from my gmail account, it never shows up. A strange thing is that instead, if I telnet the Postfix of another server and send an email to contact#example.net, it is received o.O
In addition i can say that if i monitor /var/log/maillog, nothing is coming when someone sends me an email, but it works using telnet as explained above.
Where the problem could be?
Thank you
fabien.

you need to check the logs of a SENDING system where the connection doesn't work. or wait a few days for the bounce of your gmail test. there is not much you can do on the receiving side. could be a routing issue that only affects some networks (routing to your MTA or DNS servers). if you changed your mx records recently, remember that it takes some time until all DNS caches are up-to-date

Related

Can an email reach to the mail server other than its own recipient address's domain? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
My company uses Google Apps service that works with our own domain.
I wonder how Google mail server can receive emails to my_account#my_company?
Can an email reach to the mail server - in this case Google server - which differs from recipient address's domain - my_company?
As I know, my company even has our own server and public IP address which is registered on DNS.
It looks like you're missing some points on how the whole email system works.
In very basic terms, when someone sends an email to your_account#your_company.com, a DNS request is made to find out the mailserver responsible for your_company.com email handling. You can check this by yourself by querying your DNS for the MX records asigned to your domain.
So, if your company is using Google Apps to handle the company accounts, your_domain.com must have google mail servers on the MX records for everything to work properly.
This is "how the email can reach my company servers" part. Around that, there's a whole bunch of other configurations that make the thing work.
It goes to Google server first and then is just forwarded to your domain.

Outgoing mails to spam directory [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 months ago.
Improve this question
I've VPS.
I installed postfix and what is necessary for mail server.
(I've used this as a guide: https://www.digitalocean.com/community/articles/how-to-install-postfix-on-centos-6 )
then, I configured my DNS as recomended. (this is my configure http://t1308.hizliresim.com/1d/7/r834r.png)
But there's still problem that: my mails are going to the spam directory? why? what should I do?
I've checked banlists and there's no problem about black lists.
Any idea? How can I solve this problem?
To see if your mail server has a glaring problem that would cause other mail servers to think it's a spammer, try sending a message from your mail server to check-auth#verifier.port25.com. This service will do a bunch of checks, and you'll get a report back with ton of information, such whether or not your mail server's DNS is setup correctly, whether your mail server's IP is on any black lists, if you have a problem with your SPF records, etc.
I don't know much about the setup side, but several other factors could cause it to hit spam folders. Try removing one possible cause at a time until the email works.
replace all the content with pure text (no $, !'s or large numbers)
send from a different email address
send to a different email address on a different domain
If any of those fix your problem, you should have it narrowed down to the cause, which will help the rest of us to give more targeted answers. If those things don't make a difference, then it is most likely in your setup.

postfix: view sent emails [closed]

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
Considering I have postfix setup on my server, How do I view emails that were sent to me?
To clarify the question: You mean "How do I view the mails RECEIVED by Postfix?".
Posfix delivers mails to either mbox or Maildir storage (or others; if explicitly configured to use other storage engines like a database). So Postfix is only a program to receive and store messages (for inbound mail).
So you need a program that now reads mbox or Maildir storage to present the mail in there. This is not part of Postfix. This is done by a POP3 or IMAP server which allows you to access the storage via the POP3 or IMAP protocol. The server side of the protocol is done by software like Dovecot, Cyrus, Courier or UW IMAP. The client side of the protocol is handled by Mozilla Thunderbird, Outlook, The Bat or any other mail client.
If your question was "How do I see the mails SENT by Postfix?". The answer is very easy and short: You can't. (unless you trick a lot)

Preventing Email Spam? [closed]

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 am working on an email program and I want to add a basic way to detect spam based on the domain/sender of the mail. One service that I was looking at was gossip (http://gossip-project.sourceforge.net/) but I don't want to go to the hassle of setting up a dedicated Gossip server. I know that there are a lot of email blacklists (DNSBL's) and stuff out there that can give you an estimate of whether or not an email is spam based on the domain it was sent from. I'm wondering if anyone knows of one that I can just query from within a program by passing it the sender's domain and having it return the likelihood that the email is spam. I don't want a service that requires me to set up a server for it.
Anti-Spam Blacklists do list only IPs not domains. They can't list domains (of the sender) as the sender address can be (and usually is) forged.
So you can either lookup an IP in a DNSBL from where the mail was originating. Or you have to determine the probability of spam by analyzing the mail content. The latter is "expensive" in CPU cycles and other resources. In both cases you do not need a special server for that.
The better solution to prevent spam is at the server level. Block the mail before it enters your mail system. Then you don't have to mess with mail filters.

Yahoo doesn't accept emails i send to it [closed]

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 9 years ago.
Improve this question
i am writing a sendmail module to email some things to my site users.
for testing it i use my own email at yahoo to receive this email.
but something woeful happened. about 1200 sent to my email address at yahoo at a moment and yahoo sent all of them to spam box.
now i can't send any email to yahoo addresses and my server gives me this message in mailq:
delivery temporarily suspended: host g.mx.mail.yahoo.com[98.137.54.238] refused to talk to me...
how can i solve this problem?? many users of my site have yahoo email address.
my server uses postfix.
thanks for helping .
Many mail servers will block an unrecognized mail server that tries to send a lot of messages at once. It's a security feature built into most of them, and be thankful for it too; anyone with a sendmail daemon could flood your inbox with 1200+ spam messages if the server weren't checking.
Many times you will have to wait 24 hours before the server lets you back in again. Sometimes even a week; it's never certain.
I'd suggest building a message queueing system into your program (or, if there's an option for it, into your sendmail daemon) to limit to 50 messages per hour per receiving host, and test the water.
Did you send 1200 emails to one account all at once? If so, you were probably blocked for abuse. It may be temporary however, if you've been blacklisted you should probably contact Yahoo!.