LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-06-2010, 05:11 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 627

Rep: Reputation: 31
trouble with postfix


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-08-2010, 02:16 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Does it work when you do mail bela@server312.iap.dz ? (If that isn't the machines DNS name add a host entry if there is no MX setup it should fall back to the effective A)

Edit: I think you're basically sending mail to something that it doesn't believe its the destination for.
 
  


Reply

Tags
postfix



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 + procmail trouble sessnarus Linux - Server 2 11-07-2008 01:34 AM
Postfix is having trouble with missing queue directories Wonko the Sane Linux - Software 9 08-04-2008 05:48 PM
trouble with my postfix server mvp Linux - Server 2 02-11-2007 02:05 PM
Trouble removing postfix OneBinary Debian 1 01-02-2006 09:25 AM
Postfix installation trouble. cirofren Linux - Newbie 0 10-25-2003 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:45 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
Open Source Consulting | Domain Registration