Solved

CentOS:  Postfix not forwarding emails

Posted on 2014-03-03
8
1,804 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
 
LVL 19

Expert Comment

by:NickUpson
ID: 39900653
I agree
0
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)

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now