LinuxQuestions.org
Review your favorite Linux distribution.
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 07-26-2006, 11:36 PM   #31
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30

i just checked the cron jobs, nothing saying postfix or dovecot or anything.

im about to find your post in the fedora forum
 
Old 07-26-2006, 11:39 PM   #32
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
ok i cant seem to find your post. but is there not a single command i can use like

system-switch-mail -from sendmail -into postfix

or something like that
 
Old 07-27-2006, 01:38 AM   #33
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I honestly don't know. No response on Fedora forum.


Why don't you start another post on LQ under software to ask if anyone knows how to perform the functions of system-switch-mail manually


Rgds
 
Old 07-27-2006, 11:14 PM   #34
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
ok so the switch mail thing isnt it, but i still have no idea whats wrong

today i just got a bunch of returns on emails i tried to send to admin which i originaly didnt get back (i only got some of them back) so i think maybe postfix took them and didnt know what to do with them and sent them back after holding them a couple days

does this mean anything good?
 
Old 07-27-2006, 11:36 PM   #35
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Try this page from qmailrocks, on how to remove postfix or sendmail.

http://qmailrocks.org/remove_rh.htm

Of course, instead of linking the mail to qmail, you'd want to link to whatever you are using. You'll have to figure out where that is.

Peace,
JimBass
 
Old 07-27-2006, 11:50 PM   #36
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
sendmail is removed

postfix is installed (i had them installed using YUM so installation and removing of them were easy)


and my MTA is set to postfix (addressed in http://www.linuxquestions.org/questi....php?p=2353964 ) just some settings are wrong or something.
 
Old 07-28-2006, 01:00 AM   #37
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Check that postfix is running

# ps aux | grep postfix

you should get something like

Quote:
root 2250 0.0 0.4 26824 2228 ? Ss Jul27 0:00 /usr/libexec/postfix/master
postfix 2268 0.0 0.4 26936 2348 ? S Jul27 0:00 qmgr -l -t fifo -u
postfix 11512 0.0 0.4 26884 2192 ? S 14:26 0:00 pickup -l -t fifo -u
postfix 12142 0.0 0.4 26864 2184 ? S 15:57 0:00 proxymap -t unix -u
root 12159 0.0 0.1 57056 708 pts/1 S+ 16:00 0:00 grep postfix
and if so, see if you can telnet into it

# telnet localhost 25

type quit to exit

If postfix isn't running, type

# service postfix start and try again

Last edited by billymayday; 07-28-2006 at 01:01 AM.
 
Old 07-28-2006, 03:04 AM   #38
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
here we go:

[root@vps ~]# ps aux | grep postfix
root 9708 0.0 0.0 6372 1776 ? Ss Jul27 0:00 /usr/libexec/post fix/master
postfix 32218 0.0 0.0 6472 1784 ? S 02:24 0:00 qmgr -l -t fifo - u
postfix 30147 0.0 0.0 6424 1740 ? S 04:04 0:00 pickup -l -t fifo -u
root 30151 0.0 0.0 1572 480 ttyp0 S+ 04:04 0:00 grep postfix


it brouhgt up some stuff, not the same but similiar (it looks ok to me i think?) i do not see anything called proxymap though (i guess thats something you have installed extra for it) anyway so i tried to telnet, no luck

[root@vps ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
 
Old 07-28-2006, 03:26 AM   #39
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you please post the output of

# netstat --listen -p -n | grep master

so we can see if postfix is listenning on port 25 correctly.

If this comes up blank, please post the output of

# netstat --listen -p -n


Thanks
 
Old 07-28-2006, 03:34 AM   #40
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you also post the output of

postconf -n
 
Old 07-28-2006, 03:41 AM   #41
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
http://mrsako.pastebin.ca/103373
 
Old 07-28-2006, 04:02 AM   #42
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you now post the output of postconf -d

Also, don't forget the netstat output above
 
Old 07-28-2006, 10:55 AM   #43
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
i didnt know if you meant the actual command netstat so i put that in also

http://mrsako.pastebin.ca/104019
 
Old 07-28-2006, 03:28 PM   #44
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Netstat needs to be run as

# netstat --listen -p -n | grep master

(we're trying to see if postfix is listening for mail - master is the postfix process name)

Here's part of what I get on my system

Quote:
tcp 0 0 192.168.0.2:25 0.0.0.0:* LISTEN 2250/master
tcp 0 0 192.168.1.1:25 0.0.0.0:* LISTEN 2250/master
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2250/master
postconf -d looks OK

Can you post yout /etc/postfix/master.cf
 
Old 07-28-2006, 04:42 PM   #45
MrSako
Member
 
Registered: May 2006
Distribution: CentOS 4.4
Posts: 185

Original Poster
Rep: Reputation: 30
this is my /etc/postifx/master.cf
http://mrsako.pastebin.ca/104431

heres my netstat --listen -p -n | grep master ( i dont its listneing for mail)

http://mrsako.pastebin.ca/104426
 
  


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
Putting together my first Linux box, suggestions wanted Lazy Foo' Linux - Hardware 1 12-03-2005 01:41 AM
sendmail server mail box creation problems kjsubbu Linux - Networking 0 08-25-2003 05:47 AM
mail server behind linux box antken Linux - Networking 6 02-18-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration