Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


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

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 :
from other machine for example I receive mail if I use telnet
telnet 25
but with mail bela@
I didn't receive anything here is the two connection from the remote machine 100.25 to the server 100.100

user@debian25:~$ telnet 25
Connected to
Escape character is '^]'.
220 ESMTP Postfix (by Bela Debian/GNU)
MAIL FROM: user@debian.25
250 2.1.0 Ok
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
Hello There
with telenet 25
250 2.0.0 Ok: queued as 2FAEF3B20
221 2.0.0 Bye
Connection closed by foreign host.
user@debian25:~$ mail bela@
Subject: With mail command
Hello there with mail command

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

Hello There
with telenet 25

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

myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination =,, localhost
relayhost =
mynetworks =
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
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
Does it work when you do mail ? (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.



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 + 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

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration