Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have postfix setup, and I can send and recieve email fine from local users to local users and from outside to local, but I can't send email to outside sources such as yahoo.com and hotmail. I tested it and saw the SMTP commands, and I am getting 554: Relay access denied back from these servers. Could the problem be in my resolv.conf?
Any one have any suggestions? I am going crazy! Anyways, what I have is an MX record for 25:mail.mysite.com setup on freedns.afraid.org. I removed the default one for 10:mail.mysite.com. Could it be that my ISP is some how playing a part in this? I can email from outside in just fine, and sometimes I can email from my computer to my account on sbcglobal.net, but that is just sometimes and it never works when I test it in something like zoneedit's smtp check and I can't email anyone else...Also, something odd about the messages that sometimes go through to my account are that they are all flagged as bulk, which might mean something is misconfigured on my side that is raising a flag for the yahoo sbcglobal spam guard?
I would start by seeing if your ISP is blocking outbound smtp connections to any mail server other than your ISP's mail server. If this is the case, then you would need to configure postfix to always use your ISP's mail server for outbound e-mail. See the "relayhost" parameter in main.cf
To test, simply telnet to one of yahoo's many MX records on port 25. Example:
[root@excelsior spamassassin]# dig +short yahoo.com mx
1 mx3.mail.yahoo.com.
5 mx4.mail.yahoo.com.
1 mx1.mail.yahoo.com.
1 mx2.mail.yahoo.com.
If you do not get a response or a timeout, then your ISP is blocking outbound e-mails.
If you do get a response, then your e-mail could be rejected for many other reasons.
1) An invalid HELO response by your postfix server.
2) Your postfix server is connecting from a dynamically assigned IP address.
3) DNS reverse lookup for your IP address by the remote does not match the configured HELO announcement by your postfix server.
FWIW: I have a rule on my postfix server which rejects any MTA connecting from a dynamically assigned IP address. This one rule has literally stoped all virus infected e-mails from being processed and deleted by my MTA. Now if I could only find that magical rule that would stop all SPAM, I would be a happy camper. :-)
I could not connect to these mail servers...I am going to assume that I can only send outbound mail through the sbcglobal smtp server. However, this server requires authentication. Can I authenticate (if yes, then where should I look for information), and can I still acieve separate user emails through one main account? Thanks a lot.
Distribution: Debian, Fedora 8 and 9, Mandriva 2009, Mepis, Kubuntu, SuSe 10.1, Slackware 12.1 - and Knoppix.
Posts: 155
Rep:
My understanding is that spam-prevention rules mean that ISPs will not allow you to connect remotely to their SMTP servers. Therefore, the only way you can send mail is through your own ISP's SMTP server.
You can connect to Online services such as Hotmail, Mail.com via the web, but that's a different process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.