FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-06-2010, 10:10 AM
abdelkader belahcene
 
Default postfix doesn't receive message

Hi everybody

I install postfix, just basic thing for local network ( to receive from other machine in my local area : 192.168.100.0/24)
from other machine for example 192.168.100.25* I receive mail* if I use* telnet

*********** telnet* 192.168.100.100* 25
but with mail** bela@192.168.100.100
I didn't receive anything here is the two connection from the remote machine 100.25* to the server 100.100


user@debian25:~$ telnet 192.168.100.100 25
Trying 192.168.100.100...
Connected to 192.168.100.100.
Escape character is '^]'.
220 server312.iap.dz ESMTP Postfix (by Bela Debian/GNU)

HELO server312.iap.dz
250 server312.iap.dz
MAIL FROM: user@debian.25
250 2.1.0 Ok
RCPT TO: bela@server312.iap.dz

250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Hello There
with telenet 25
.
250 2.0.0 Ok: queued as 2FAEF3B20
QUIT
221 2.0.0 Bye
------------------------------------------------

Connection closed by foreign host.
user@debian25:~$ mail bela@192.168.100.100
Subject: With mail command
Hello there with mail* command
.
cc:
-----------------------------------------------------------------


bela@server312:~$ mail
Mail version 8.1.2 01/15/2001.* Type ? for help.
"/var/mail/bela": 1 message 1 new
>N* 1 user@debian.25**** Sat Feb* 6 11:47** 11/361
& 1
Message 1:
From user@debian.25* Sat Feb* 6 11:47:19 2010

X-Original-To: bela@server312.iap.dz

Hello There
with telenet 25

The last part is what I receive* with telnet 25
Here is my main.cnf

myhostname = server312.iap.dz

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = server312.iap.dz, localhost.iap.dz, localhost

relayhost =
mynetworks = 127.0.0.0/8 192.168.100.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +

inet_interfaces = all
html_directory = /usr/share/doc/postfix/html


thanks for help
 
Old 02-06-2010, 10:55 AM
Camaleón
 
Default postfix doesn't receive message

On Sat, 06 Feb 2010 12:10:09 +0100, abdelkader belahcene wrote:

> I install postfix, just basic thing for local network ( to receive from
> other machine in my local area : 192.168.100.0/24) from other machine
> for example 192.168.100.25 I receive mail if I use telnet
> telnet 192.168.100.100 25
> but with mail bela@192.168.100.100
> I didn't receive anything here is the two connection from the remote
> machine 100.25 to the server 100.100

Review "/var/mail/user", the reason of the non-delivery should be there
>:-)

> myhostname = server312.iap.dz
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = server312.iap.dz, localhost.iap.dz, localhost relayhost

Are you the owner of that domain name? :-?

sm01@stt008:/var$ host iap.dz
iap.dz mail is handled by 10 mail.iap.dz.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-07-2010, 09:15 AM
Tzafrir Cohen
 
Default postfix doesn't receive message

On Sat, Feb 06, 2010 at 12:10:09PM +0100, abdelkader belahcene wrote:
> Hi everybody
>
> I install postfix, just basic thing for local network ( to receive from
> other machine in my local area : 192.168.100.0/24)
> from other machine for example 192.168.100.25 I receive mail if I use
> telnet
> telnet 192.168.100.100 25
> but with mail bela@192.168.100.100
> I didn't receive anything here is the two connection from the remote machine
> 100.25 to the server 100.100
>
> user@debian25:~$ telnet 192.168.100.100 25
> Trying 192.168.100.100...
> Connected to 192.168.100.100.
> Escape character is '^]'.
> 220 server312.iap.dz ESMTP Postfix (by Bela Debian/GNU)
> HELO server312.iap.dz
> 250 server312.iap.dz
> MAIL FROM: user@debian.25
> 250 2.1.0 Ok
> RCPT TO: bela@server312.iap.dz
> 250 2.1.5 Ok
> DATA
> 354 End data with <CR><LF>.<CR><LF>

Normally you add message headers here.

Subject: ....
To: ....
From: ....

(The empty line above separates the headers from the body of the
message)

> Hello There
> with telenet 25
> .
> 250 2.0.0 Ok: queued as 2FAEF3B20
> QUIT
> 221 2.0.0 Bye
> ------------------------------------------------
> Connection closed by foreign host.
> user@debian25:~$ mail bela@192.168.100.100

Do you accept mail for the "domain" '192.168.100.100'?

> Subject: With mail command

Likewise, you should normally add a blank line to separate headers from
body.

> Hello there with mail command
> .
> cc:
> -----------------------------------------------------------------
>
> bela@server312:~$ mail
> Mail version 8.1.2 01/15/2001. Type ? for help.
> "/var/mail/bela": 1 message 1 new
> >N 1 user@debian.25 Sat Feb 6 11:47 11/361
> & 1
> Message 1:
> >From user@debian.25 Sat Feb 6 11:47:19 2010
> X-Original-To: bela@server312.iap.dz
>
> Hello There
> with telenet 25
>
> The last part is what I receive with telnet 25
> Here is my main.cnf
>
> myhostname = server312.iap.dz
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = server312.iap.dz, localhost.iap.dz, localhost
> relayhost =
> mynetworks = 127.0.0.0/8 192.168.100.0/24
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = all
> html_directory = /usr/share/doc/postfix/html
>
>
> thanks for help

--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 09:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org