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 01-23-2005, 09:30 AM   #1
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Postfix


I tried using no-ip.com to resolvo my IP. I can send using mail command to my gmail.com account but after replying, I did not receive any mail on my machine?

Below is my main.cf

Quote:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = debian, localhost.localdomain, localhost.localdomain, localhost, $myhostname, $mydomain
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
#myorigin = debian.redirectme.net
myhostname = debian.redirectme.net
mydomain = redirectme.net
btw, my linux machine's hostname is "debian". Pinging debian.redirectme.net resolve to my IP.
 
Old 01-23-2005, 09:31 AM   #2
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
I also received this message from gmail. But it did not appear immediately after I tried replying back.

Quote:
This is an automatically generated Delivery Status Notification

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipient has been delayed:

revenant@debian.redirectme.net

Message will be retried for 2 more day(s)
Could it be no-ip.com lagging?
My main.cf looks ok right?
 
Old 01-23-2005, 12:29 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
There should be more info in the bounce you got on gmail, but if your hostname does not resolve correctly, that is very likely the source of your problem. You might want to check with no-ip.com to make sure everything is set up correctly. Also, if you have access to a remote machine, you can telnet to port 25 on your host and test your mail server by directly issuing SMTP commands (there are numerous sites on the WWW that explain how to do this).
 
Old 01-25-2005, 01:25 AM   #4
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by btmiller
There should be more info in the bounce you got on gmail, but if your hostname does not resolve correctly, that is very likely the source of your problem. You might want to check with no-ip.com to make sure everything is set up correctly. Also, if you have access to a remote machine, you can telnet to port 25 on your host and test your mail server by directly issuing SMTP commands (there are numerous sites on the WWW that explain how to do this).
Unfortunately, gmail only has that much information given to me.

Anyway, after some googling again, I chanced upon our own forum thread and boy how informative this thread is for email server starters.

From that thread, I concluded that the following steps are what I need to do in order to get my Postfix Email Server up in a LAN.

1) Installed and configured Postfix to send and receive mails locally.
Right now I can only send mail but could not receive. I suspect that my ISP is blocking port 25. But since I have decided to implement this Email Server on a LAN, I suppose I need not care about my ISP blocking port 25?


2) Because I do not have an DNS server in my small LAN, the next best alternative is to manually add the hostname.domain.com to my windows and linux clients' host file?

3) Installed and run Courier-IMAP so that my email clients can connect using Evolution/Outlook etc. Do I need to configure Courier-IMAP or Postfix to be able to use this IMAP service?

4) As I am not installing mysql, I suppose I need to create real unix accounts in my Linux Email Server in order to add new user for my Postfix Server?

5) Is it necessary to have the follow lines in main.cf? I suppose it is needed only if you specify a different directory right?
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
queue_directory = /var/spool/postfix

Last edited by subaruwrx; 01-25-2005 at 09:55 AM.
 
Old 01-27-2005, 06:03 AM   #5
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by subaruwrx
Unfortunately, gmail only has that much information given to me.

Anyway, after some googling again, I chanced upon our own forum thread and boy how informative this thread is for email server starters.

From that thread, I concluded that the following steps are what I need to do in order to get my Postfix Email Server up in a LAN.

1) Installed and configured Postfix to send and receive mails locally.
Right now I can only send mail but could not receive. I suspect that my ISP is blocking port 25. But since I have decided to implement this Email Server on a LAN, I suppose I need not care about my ISP blocking port 25?


2) Because I do not have an DNS server in my small LAN, the next best alternative is to manually add the hostname.domain.com to my windows and linux clients' host file?

3) Installed and run Courier-IMAP so that my email clients can connect using Evolution/Outlook etc. Do I need to configure Courier-IMAP or Postfix to be able to use this IMAP service?

4) As I am not installing mysql, I suppose I need to create real unix accounts in my Linux Email Server in order to add new user for my Postfix Server?

5) Is it necessary to have the follow lines in main.cf? I suppose it is needed only if you specify a different directory right?
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
queue_directory = /var/spool/postfix
bump
 
Old 01-28-2005, 10:45 PM   #6
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by subaruwrx
Unfortunately, gmail only has that much information given to me.

Anyway, after some googling again, I chanced upon our own forum thread and boy how informative this thread is for email server starters.

From that thread, I concluded that the following steps are what I need to do in order to get my Postfix Email Server up in a LAN.

1) Installed and configured Postfix to send and receive mails locally.
Right now I can only send mail but could not receive. I suspect that my ISP is blocking port 25. But since I have decided to implement this Email Server on a LAN, I suppose I need not care about my ISP blocking port 25?


2) Because I do not have an DNS server in my small LAN, the next best alternative is to manually add the hostname.domain.com to my windows and linux clients' host file?

3) Installed and run Courier-IMAP so that my email clients can connect using Evolution/Outlook etc. Do I need to configure Courier-IMAP or Postfix to be able to use this IMAP service?

4) As I am not installing mysql, I suppose I need to create real unix accounts in my Linux Email Server in order to add new user for my Postfix Server?

5) Is it necessary to have the follow lines in main.cf? I suppose it is needed only if you specify a different directory right?
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
queue_directory = /var/spool/postfix
Can anyone please reply to my 5 questions? thanx
 
Old 01-31-2005, 08:03 AM   #7
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by subaruwrx
Unfortunately, gmail only has that much information given to me.

Anyway, after some googling again, I chanced upon our own forum thread and boy how informative this thread is for email server starters.

From that thread, I concluded that the following steps are what I need to do in order to get my Postfix Email Server up in a LAN.

1) Installed and configured Postfix to send and receive mails locally.
Right now I can only send mail but could not receive. I suspect that my ISP is blocking port 25. But since I have decided to implement this Email Server on a LAN, I suppose I need not care about my ISP blocking port 25?


2) Because I do not have an DNS server in my small LAN, the next best alternative is to manually add the hostname.domain.com to my windows and linux clients' host file?

3) Installed and run Courier-IMAP so that my email clients can connect using Evolution/Outlook etc. Do I need to configure Courier-IMAP or Postfix to be able to use this IMAP service?

4) As I am not installing mysql, I suppose I need to create real unix accounts in my Linux Email Server in order to add new user for my Postfix Server?

5) Is it necessary to have the follow lines in main.cf? I suppose it is needed only if you specify a different directory right?
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
queue_directory = /var/spool/postfix
bump
 
Old 02-21-2005, 09:24 AM   #8
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by subaruwrx
Unfortunately, gmail only has that much information given to me.

Anyway, after some googling again, I chanced upon our own forum thread and boy how informative this thread is for email server starters.

From that thread, I concluded that the following steps are what I need to do in order to get my Postfix Email Server up in a LAN.

1) Installed and configured Postfix to send and receive mails locally.
Right now I can only send mail but could not receive. I suspect that my ISP is blocking port 25. But since I have decided to implement this Email Server on a LAN, I suppose I need not care about my ISP blocking port 25?


2) Because I do not have an DNS server in my small LAN, the next best alternative is to manually add the hostname.domain.com to my windows and linux clients' host file?

3) Installed and run Courier-IMAP so that my email clients can connect using Evolution/Outlook etc. Do I need to configure Courier-IMAP or Postfix to be able to use this IMAP service?

4) As I am not installing mysql, I suppose I need to create real unix accounts in my Linux Email Server in order to add new user for my Postfix Server?

5) Is it necessary to have the follow lines in main.cf? I suppose it is needed only if you specify a different directory right?
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
queue_directory = /var/spool/postfix
 
  


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
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 06:33 PM
Postfix Help jglazner Linux - Software 0 10-16-2003 03:58 PM
POSTFIX Help Micro Linux - Software 2 05-06-2003 10:29 AM
move postfix mails from server to another postfix server onetwo Linux - Software 2 03-18-2003 02:22 PM

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

All times are GMT -5. The time now is 08:23 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