Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Postfix will send mail if it can access a DNS server to lookup where the mail should be sent to.
The question is, how are you trying to send mail? How do you know it doesn't work? Have you checked the log files, such as /var/log/maillog, /var/log/mail, /var/log/mail.info, etc?
For starters, please post the content of your /etc/postfix/main.cf file.
How are you trying to send the mail?
Do you have a dynamic Internet IP or static? Most big mail servers (Yahoo, AOL, etc.) have reverse DNS lookups enabled, so they'll just reject (or maybe drop) your mail.
I've been having a lot of problems with my mailserver lately, so I should be able to at least get you started...
BTW, is this the only forum you posted this thread in? This isn't really related to "Linux - Enterprise"
Sorry about the delay in getting back. Learning Linux is full of surprizes. But I have found out that I can recover quickly.
I still am having problem trying to send mail. I can recieve mail from anyone. The only configuration files I have messed with is main.cf these are the changes.
This is the out put of my log file sending to my yahoo account
Jan 28 15:14:00 acfd postfix/smtp[3935]: D58A029847A: to=<jscedunn@yahoo.com>, relay=g.mx.mail.yahoo.com[206.190.53.191], delay=1790, status=sent (250 ok dirdel)unt
This looks like a success but still I never see the mail at yahoo.
Chort,
Thank you for responding, I went to AOL and set up a account and tried sending mail, low and behold it worked. I guess I had it right all the time. Not sure what yahoo problum is or if there is something I must set to make it work with them. I did check the bulk mail it was turned of I will try to turn it on and retest.
I edited my maillog file and saved it in vi and now there is no logs being writen, can I delete this file? I am thinking it should start a new one
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Quote:
Originally Posted by jscedunn
Chort,
Thank you for responding, I went to AOL and set up a account and tried sending mail, low and behold it worked. I guess I had it right all the time. Not sure what yahoo problum is or if there is something I must set to make it work with them. I did check the bulk mail it was turned of I will try to turn it on and retest.
I edited my maillog file and saved it in vi and now there is no logs being writen, can I delete this file? I am thinking it should start a new one
Thanks for you help
Jim
Postfix is probably trying to write to where you saved the log, but it can't because of permissions. Stop Postfix, record the permissions of the file it's supposed to write to, then move that file out of the way and create a new one with touch. Make sure the permissions of the new file exactly match the old log file, then restart Postfix.
BTW that is a very good example of why not to use an editor on live log files. Either use less, tail, or copy the file to another location before using an editor on it. FYI less supports the same type of pattern searches that vi does.
As for Yahoo!, they probably don't like your reverse DNS for some reason, or your netblock is blacklisted, and they're silently dropping your messages. That's a little unusual because typically sites would rather reject your message than queue it when they plan on throwing it away.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.