Jump to content

trying to get smtp working using postfix, need help!


_Qwerty_
 Share

Recommended Posts

Hello!

 

I use Mandrake 9.0, and the postfix version that comes along with it. But it seems i can send mail with pine, but not recieve any mail from the outside world, I did this (as root)

 

"netstat -na|grep LISTEN" and it returned

tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN

 

so it seems postfix binds to localhost, but i dont know what to do about it, i tried to edit /etc/postfix/main.cf

 

and added

 

"inet_interfaces = all" instead of

"inet_interfaces = localhost"

 

and did a "service postfix reload" but that dident do the trick?

 

any ideas anyone?

Link to comment
Share on other sites

You should use fetchmail to retrieve mail from a distant storage (typically your ISP). Then you do as you want:

- either direct access to /var/spool/mail/<user> with a capable mail client,

- or install a POP3 server,

- or install a IMAP server.

 

Yves.

Link to comment
Share on other sites

Yes i should have explained, i wanna get e-mail sent direcly to my smtp server, (i dont have a mail account on my ips) but i do have access to a fully qualified domain name, and my box is online 24/7.

 

[root@qwerty postfix]# hostname

qwerty.is-a-geek.org

 

 

and i wanna read my mail with pine, which i already have installed. but it seems that postfix is only listening on localhost (127.0.0.1) so i need fix that to be able to recieve mail from the outside world.

 

--- Session Transcript ---

MX-record resolution of [qwerty.is-a-geek.org] in progress (DNS Server: 212.181.54.3)...

Name server has no records of the requested type for that domain.

Attempting SMTP connection to [qwerty.is-a-geek.org : 25]

A-record resolution of [qwerty.is-a-geek.org] in progress (DNS Server: 212.181.54.3)...

D=qwerty.is-a-geek.org TTL=(186) A=[212.112.45.146]

Attempting SMTP connection to [212.112.45.146 : 25]

Waiting for socket connection...

Winsock Error 10061: The other host is either down or has refused to connect with you at that IP and/or on that port.

This message is 60 minutes old; it has 0 minutes left in this queue

Primary queue lifetime exceeded; message placed in retry queue

--- End Transcript ---

this is what it looked when i tried to mail my own box from the outside ie from internet

 

 

perhaps i should uninstall postfix, and give sendmail a try instead? i choosed postfix because i heard its suppose to be easy and yet almost compatible with sendmail.

i read this article, but it hasent worked so far Mail The Unix Way - Postfix

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...