LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-09-2004, 12:13 AM   #1
ooorah
LQ Newbie
 
Registered: Oct 2004
Location: Clarksville, MD
Distribution: CentOS5
Posts: 23

Rep: Reputation: 15
sendmail to postfix - no more mail!


I just used the "redhat_switch_mail" command to switch my MTA from sendmail to postfix. Now, my mail server is no longer serving mail!

I'm using fc1. Do, I need to keep Procmail configured? Doesn't matter, still don't have mail serving.

what else do I need to do after I run the switch script?

Thanks,
Tom
 
Old 11-09-2004, 06:41 AM   #2
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381

Rep: Reputation: 31
What about the usual modifications on my_networks, my_hostname, my_destination ,.... parameters within main.cf ?
Have you heard about them ? Sounds likely to be the cause.
 
Old 11-09-2004, 07:12 AM   #3
ooorah
LQ Newbie
 
Registered: Oct 2004
Location: Clarksville, MD
Distribution: CentOS5
Posts: 23

Original Poster
Rep: Reputation: 15
I edited /etc/postfix/main.cf and set all theses variables and maybe even a few more...

I'm running imap and pop3 services as imap.ooorah.net and pop.ooorah.net. Do I need to set any variables in main.cf for these? Do I need to set any variables for smtp?

I'm not able to receive or send mail now.


Interesting twist... I discovered that I can no longer ssh into my box remotely. Prior to the switch, this was not a problem... Is there something that got changed in the redhat-switch-mail command that could effect my ability to remotely login?

Thanks,
ooorah

Last edited by ooorah; 11-09-2004 at 09:57 AM.
 
Old 11-11-2004, 05:06 PM   #4
pablob
Member
 
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381

Rep: Reputation: 31
Hi:

I've checked your smtp server at imap.ooorah.net, and I could find out it is accepting messages:

pablob@medusa /home/pablob$ telnet imap.ooorah.net 25
Trying 70.88.130.29...
Connected to imap.ooorah.net (70.88.130.29).
Escape character is '^]'.
220 ooorah.net ESMTP Postfix (2.0.11)
HELO mail.wanadoo.es
250 ooorah.net
MAIL FROM: kk@yahoo.es
250 Ok
RCPT TO: root@imap.ooorah.net
250 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Testing your incoming box for linuxquestions.org
.
250 Ok: queued as A157937CAE
QUIT
221 Bye
Connection closed by foreign host.

From the resulting session you can see my message was at least queued. You'll have to find out where it goes. Check within /var/spool/postfix/ , maybe there you can find the sequence number A157937CAE with my message.

As you say you can't also send, you must be receiving an error within any log file; check under /var/log/mail/ .

What about firewalling.

SSH ? As far as I know there's no relation within ssh & postfix. I don't use RHat so I can't help you with what goes on with redhat-switch-mail.
 
Old 11-13-2004, 09:22 AM   #5
ooorah
LQ Newbie
 
Registered: Oct 2004
Location: Clarksville, MD
Distribution: CentOS5
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for taking a look....

My ISP changed my IP address. It took me awhile to get the domain setup with the new IP address.

I also had the wrong definition for the home_mail variable....

As usual more than one problem happening at the same time...

Tom
 
Old 11-13-2004, 03:51 PM   #6
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 34
note that if you are checking mail as root, root's mail does not go to root in postfix. Usually a chenge has to be made in that aliases file.

Granted root's mail shud be forwarded to a different user, but not everyone heeds that advice.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mail, sendmail, postfix problems colabus Linux - Newbie 0 10-21-2004 02:36 AM
Domain Routing to Postfix from Sendmail = Wrong IP information in Mail Logs! dholingw Linux - Networking 2 05-20-2004 11:06 AM
OpenLDAP schema for mail (postfix/sendmail/...) nielchiano Linux - Software 0 02-15-2004 10:54 AM
sendmail or postfix with squirrel mail illtbagu Linux - Software 8 06-19-2003 02:16 AM
Mail groups - Postfix/Sendmail claeseke Linux - Networking 1 01-20-2003 10:26 PM


All times are GMT -5. The time now is 03:16 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration