LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-22-2007, 08:09 PM   #1
jscedunn
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Rep: Reputation: 0
PostFix configuration


Hello,
I am trying to configure POSTFIX on Linux ES. I have install and configured according to book I bought "POSTFIX" by Ralf Hildebrant.

Anyway. I can recieve mail but I can not send mail to my yahoo account. Port 25 seems fine. Of course this is my first attempt at a mail server.

One stupid question might be, do I need some other software like a mail client installed to send mail?

any thoughts

Thanks
Jim
 
Old 01-22-2007, 11:55 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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?
 
Old 01-24-2007, 01:35 AM   #3
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
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"
 
Old 01-28-2007, 03:41 PM   #4
jscedunn
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Postfix problem still

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.

main.cf
mydomain = acfd.biz
myorigin = $mydomain

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain

inet_interfaces = all

smtpd_sasl_local_domain = acfd.biz
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous

saslauthd
MECH=pam

Thats all the changes I have made.

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.

Anythoughts

Jim
 
Old 01-28-2007, 06:21 PM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Check your junk mail folder in Yahoo!?

Do you have any log output of attempts to send to other domains?
 
Old 01-31-2007, 05:32 AM   #6
jscedunn
LQ Newbie
 
Registered: Nov 2006
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 01-31-2007, 11:49 AM   #7
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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.

Last edited by chort; 01-31-2007 at 11:52 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Configuration ToothlessRebel Linux - Networking 8 03-05-2006 02:10 AM
postfix configuration jkmartha Linux - Newbie 1 04-22-2005 02:29 AM
PostFix Configuration triki Linux - Software 4 12-14-2003 01:08 PM
Postfix configuration EdwinNameless Linux - Software 0 07-18-2003 11:55 AM
Postfix Configuration Graanco Linux - General 5 09-18-2002 06:53 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration