LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-04-2004, 12:26 AM   #1
gubak
Member
 
Registered: Jul 2004
Posts: 332

Rep: Reputation: 30
Postfix


I use RedHat9
I use postfix ( MTA), fetchmail for fetching mails from my ISP, imap and ipop3. I can send and receive mails from the internet, but I can't send mails
between the local users. If I want to send mail between the local users, these mails go out in the internet.
Why can't I send messages between the local users?

Last edited by gubak; 10-23-2006 at 07:03 AM.
 
Old 08-04-2004, 09:22 AM   #2
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
local mailing doesn't work

I use RedHat9
I use postfix ( MTA), fetchmail for fetching mails from my ISP, imap and ipop3. I can send and receive mails from the internet, but I can't send mails
between the local users. If I want to send mail between the local users, these mails go out in the internet.
Why can't I send messages between the local users?

Last edited by gubak; 10-23-2006 at 07:04 AM.
 
Old 08-04-2004, 09:53 AM   #3
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
mail command doesn't work

I use RedHat9
I made 4 user opstina, gubak, krabok, fetchmail. If I try to send message between users by command "mail username"(for example I login as gubak and I send message to opstina in that case "mail opstina"), the message is sent but I don't know where it is. If I check the mail (I log in as opstina and type the command "mail") the answer is "no mail for opstina".
This process works if I login as root and I send message to root.
Why can't I send message between users?

Last edited by gubak; 10-23-2006 at 07:04 AM.
 
Old 08-04-2004, 10:47 AM   #4
w33k
Member
 
Registered: Aug 2004
Distribution: Mandrake 10, Gentoo, and FreeBSD
Posts: 61

Rep: Reputation: 15
you have to email it to a local email. not something at like user@mydomain.net. You have to set up a local domain in /etc/hosts file for your mail server and send it to user@myserver .
 
Old 08-04-2004, 11:40 AM   #5
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
have a look at the mailer logfile. also try to send it to user@machine. what's your mailer(mta)?

sl mritch.
 
Old 08-04-2004, 12:19 PM   #6
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
I use Postfix
 
Old 08-05-2004, 12:13 AM   #7
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
Local mailing

I've tried more time to set up the mailing between local users, but no result.

Can somebody help me !!!!!!!

What is required for local mailing?
 
Old 08-05-2004, 12:51 AM   #8
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
hello
its full setup for qmail mail server
http://www.lifewithqmail.org/lwq.html

regards
 
Old 08-05-2004, 01:16 AM   #9
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
What is the requirements for local mailing with postfix?
Which program packets and which configurations are necessary?
Must I add records to the etc/postfix/aliases file?

Last edited by gubak; 08-05-2004 at 01:17 AM.
 
Old 08-05-2004, 02:40 AM   #10
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
Check local miling

Is everybody know a command which checks the local mailing?
 
Old 08-05-2004, 04:13 AM   #11
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
Route of the mail

How can I see the route of the mail in the local system?
 
Old 08-05-2004, 05:30 AM   #12
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
postfix

I use RedHat9,
Mailing system is Postfix, fetchmail, imap
I have been a problem for a week, and I am out of idea.
RedHat9 have more users. Every user can send and receive messages from the internet, but these users can't send messages to each other.
This is the part of the mail log file:

Aug 5 12:05:55 ns1 postfix/smtpd[6077]: connect from unknown[5.2.2.2]
Aug 5 12:05:55 ns1 postfix/smtpd[6077]: C7CB834316: client=unknown[5.2.2.2]
Aug 5 12:05:55 ns1 postfix/cleanup[6078]: C7CB834316: message-id=<00a101c47ad5$d0969a10$02020205@Opstina>
Aug 5 12:05:55 ns1 postfix/nqmgr[6076]: C7CB834316: from=<opstina@coka.co.yu>, size=1330, nrcpt=1 (queue active)
Aug 5 12:05:55 ns1 postfix/smtpd[6077]: disconnect from unknown[5.2.2.2]
Aug 5 12:06:02 ns1 postfix/smtp[6080]: C7CB834316: to=<opstina@coka.co.yu>, relay=mail.tippnet.co.yu[62.108.118.1], delay=7, status=sent (250 2.0.0 i75AJ7R21187 Message accepted for delivery)



OPSTINA is a local user. COKA.CO.YU is my domain. In above example OPSTINA sent a message to OPSTINA and the message is goes through the relay (mail.tippnet.co.yu) to the internet.

But why????????

Why can't OPSTINA get this message?
Can everybody help me?
 
Old 08-05-2004, 10:31 AM   #13
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
have no procmail

I think all the linux user already know that my local mailing isn't work.

I have no procmail in my system.

Is it problem or not?
 
Old 08-05-2004, 11:49 AM   #14
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
I did it but in doesn't work.
Have you any more idea?
 
Old 08-05-2004, 11:58 AM   #15
gubak
Member
 
Registered: Jul 2004
Posts: 332

Original Poster
Rep: Reputation: 30
Which mail is local...?

I use Postfix, fetchmail, imap
I have no procmail
Every sent mail (including the mails which are sent to local users) goes out to the internet through the relayhost.
For example I send two mais:

localuser@mydomain
remote@hotmail.com

Both the mails goes out to the internet through the relayhost.
The problem is that the localuser doesn't get his mail.

How does mailserver know which mail is sent to local user and which mail is sent to the remote address?

Last edited by gubak; 08-05-2004 at 12:13 PM.
 
  


Reply



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
How do the mailing list of LFS work? Basel Linux From Scratch 2 09-05-2005 12:14 PM
Mailing to/from local machines vanquisher Linux - Software 1 07-13-2004 08:47 AM
I can't get my Website to work on my local intranet. tivoli pete Linux - Newbie 9 10-13-2003 03:23 PM
Does samba only work on local networks? VirtueTech Linux - Networking 4 07-13-2003 01:25 PM
Does samba only work on local networks? VirtueTech Linux - Security 0 07-12-2003 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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