LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   i can't receive remote mail using postfix (https://www.linuxquestions.org/questions/linux-software-2/i-cant-receive-remote-mail-using-postfix-89319/)

robmainella 09-04-2003 04:27 PM

i can't receive remote mail using postfix
 
I have set up Postfix and can send/receive local mail, can send remote mail, but cannot receive remote mail. Anyone have any ideas. I have had even more problems trying to use sendmail, but if someone can direct me to a good sendmail.mc file and it would be easier than fixing postfix, I would appreciate it.

david_ross 09-04-2003 04:40 PM

Can you provide a bit more info:

Are you getting any bounce messages back when you try to send?

Is your mx record setup correctly - ie does it point to your ip address?
dig yourhost.com mx

If you have some form of router that has the external IP and not the server then have you forwarded port 25 to the server?

robmainella 09-04-2003 05:43 PM

I'm getting a message back from the email that i am sending from that the message was not deliverable. I set the dns server up exactly as directed in Red Hat Linux Bible so I assume my MX record is setup correctly. My router has port 25 opened and directed to my server.

david_ross 09-05-2003 12:11 PM

Can you post the e-mail that was returned and just confirm the DNS entry to make sure.

beatlelane 09-08-2003 05:24 AM

same here...cant recieve mail using postfix.

smtp is ok so as pop3.

i have the basic configuration...was able to send...but no mail in user mailboxes...agh.

joseph 09-08-2003 07:48 AM

i don't think so, it is easier to fix the problem in postfix then in sendmail coz postfix is a very easy MTA and very secure, although myself was a sendmail user, but i will suggest you to use postfix then sendmail.

Maybe if you provide more information about your case such as post up your error messages, postfix configuration (main.cf, access), we can help you to solve your problem not just saying i can send and receive mail, and bla bla bla .....

Maybe you should post up something real that all of here can see.

beatlelane 09-08-2003 10:09 PM

Quote:

Originally posted by joseph

Maybe if you provide more information about your case such as post up your error messages, postfix configuration (main.cf, access), we can help you to solve your problem not just saying i can send and receive mail, and bla bla bla .....

Maybe you should post up something real that all of here can see.

:D my apology sir we're newbies here!

you're right joseph, i did fix it yesterday just missed some configuration statement.

like this "mydestination" parameter, instead of using this one:

mydestination = $myhostname, local$mydomain

i used the actual domain entries:

mydestination = host1.domain.com, host2.domain.com, hostn.domain.com

*and of course dont forget to remove entry that blocked connection from outside, i forgot to remove this entry from hosts.deny file "ALL : ALL"

well, i'm not sure if is the right configuration...but it works for me.!


btw joseph, i thought postfix is more secure than sendmail?..well it is based on what i read anyway.

i should add, could you pls give me more info about mail virtual user set up?...a good link would be enough..THANKS.

joseph 09-08-2003 10:19 PM

Never mind beatlelane, we are here to help each other, but in order to be helped, your guys must provide more bit of your case.

Yes Postfix is more easy and secure not only what you ever heard but the fact also said that postfix is more secure MTA then sendmail.

If you wanna set up a virtual mail server for your Lan user, it is very easy task, you will tasted it easier when already success, maybe it is only take 1 or 2 hours to complete this job.
you can try its original site http://www.postfix.org

If you have any problem during your setup, you can always post up your thread, and i will try to help you although i am 80% using sendmail.

Good Luck

beatlelane 09-08-2003 10:51 PM

Thanks joseph!

i know this is out of topic. hehehe! but anyway i have to take this opportunity.

is it depends on the POP3/IMap daemon?...well actually i will be using not just for lan user, but for all users of the mail server remote and local (hope you get me right...just a newbie for the linux terms :D)

joseph 09-08-2003 11:41 PM

in that case it is very easy too to configure, just make sure your main.cf right especially mydomain, myhostname, mynetworks parameters must be configured in the right place. you access file too, resolv.conf.

both of the daemon (SMTP AND POP) have their own job and both of them are important.


All times are GMT -5. The time now is 08:37 PM.