Solved

CentOS:  Postfix not forwarding emails

Posted on 2014-03-03
8
1,828 Views
Last Modified: 2014-03-07
Hi All,

I've been running a VPS server for around 3 years.  I use postfix to forward email onto my customers.  This has worked very well.

Today however I noticed emails are not being forwarded.

I've restarted the server, but that hasn't helped.

An SMTP test on mxtoolbox.com shows everything is working and port 25 is open.


Any ideas what I can look at?  I have root SSH access to can run any tests etc...


Many thanks
D
0
Comment
Question by:detox1978
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 19

Expert Comment

by:NickUpson
ID: 39900543
I'd start by looking at /var/log/maillog assuming default location
0
 
LVL 2

Author Comment

by:detox1978
ID: 39900596
Any ideas?

Mar  2 03:42:03 www postfix/error[8893]: B7D14A2AC7: to=<relayaddress@example.com>, orig_to=<orginal@example.co.uk>, relay=none, delay=92734, delays=92733/0.86/0/0.01, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mx-eu.mail.am0.yahoodns.net[188.125.69.79] while sending RCPT TO)
0
 
LVL 2

Author Comment

by:detox1978
ID: 39900617
Looks like yahoo are rejecting my emails, as people are spamming my catch all email addresses.

Mar  2 03:42:03 www postfix/smtp[8834]: 2102DA2FA6: to=<recipientemail@example.com>, orig_to=<spam@address.com>, relay=mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25, delay=63404, delays=63403/0.05/0.41/0.09, dsn=4.7.1, status=deferred (host mx-eu.mail.am0.yahoodns.net[188.125.69.79] said: 421 4.7.1 [TS03] All messages from [My server IP] will be permanently deferred; Retrying will NOT succeed. See http://postmaster.yahoo.com/421-ts03.html (in reply to MAIL FROM command))


Any ideas?
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 19

Expert Comment

by:NickUpson
ID: 39900653
I agree
0
 
LVL 2

Author Comment

by:detox1978
ID: 39900904
Is there anything i can install via YUM to resolve these issues?  maybe something that ill stop excessive connections from one IP
0
 
LVL 13

Accepted Solution

by:
Sandy earned 500 total points
ID: 39902541
No, Basically you need to setup your mail server with server-key, SPF, DKIM etc.. so yahoo treats your mails are genuine mails and accept those. Please find the below reference for yahoo policies.

https://help.yahoo.com/kb/mail/practices-bulk-senders-sln3435.html

TY/SA
0
 
LVL 26

Expert Comment

by:skullnobrains
ID: 39912172
or send your email through another host, or ask yahoo to whitelist you if you have a legitimate reason to send that many email.

spf might be a good candidate in order to explain why you got blacklisted : if one of the addresses you send addresses from does not belong to you and the spf record does not include your external IP as an allowed forwarder

correcting such stuff will not deblacklist you at once. yahoo probably will blacklist you for a day to a week

in the mean time, you should stop sending mail because hammering on their door will probably increase the blacklisting period
0
 
LVL 26

Expert Comment

by:skullnobrains
ID: 39913479
beware : as long as you keep sending spam, having proper spf records and dkim and the likes will hardly make a difference

actually most filters will only care about wrong records
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question