LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-06-2006, 11:30 AM   #1
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Rep: Reputation: 15
postfix rejects mail from other local server


I have three mail servers and I need mail for certain users to forward to another box.

On BOX A /etc/aliases are set up => alias: user@boxb.mydomain.com

BOX B is FEDORA 5, postfix, dovecot and it will not accept the forwards (or any mail) sent from BOX A.

BOX C is an MS Exchange and BOX B accepts mail from it just fine.

Here is an example error from the maillog on BOXA:

Apr 2 18:11:17 BOXA sendmail[6880]: k31LmVgo024751: to=user@BOXB.domain.com, delay=1+01:22:45, xdelay=00:00:00, mailer=esmtp, pri=9300919, relay=BOXB.domain.com., dsn=4.0.0, stat=Deferred: Connection refused by BOXB.domain.com.

I have read the other posts that seemed related to this and still cannot resolve this problem.

so what am I missing?

-thanks in advance

Last edited by Sigkill(9); 04-06-2006 at 11:31 AM.
 
Old 04-06-2006, 02:11 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Did you check your postfix config to make sure that are you allowing postfix to relay mail for box A?

-twantrd
 
Old 04-06-2006, 02:42 PM   #3
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Original Poster
Rep: Reputation: 15
unless I am missing something I am not trying to relay the mail.

I can't even send an email straight to it from BOX A.

It responds with Connection refused by BOXB.domain.com

Though, I can send email to it from any other location like gmail or the exchange box that's on the same network.
 
Old 04-07-2006, 05:25 PM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Oh, I thought you meant relaying the mail. Sorry 'bout that. Well, are there any rules in your iptables? How about hosts.allow and hosts.deny?

-twantrd
 
Old 04-10-2006, 11:42 AM   #5
Sigkill(9)
Member
 
Registered: Jan 2005
Location: Dallas/TX
Distribution: OpenBSD/FreeBSD/Debian/Mac OS X
Posts: 40

Original Poster
Rep: Reputation: 15
Hey thanks for the help but I just modified the other server to do my bidding and eliminated the postfix box.
It was too much hassle to warrant all the effort.

Again, I really appreciate the help though.
 
  


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
Can't deliver mail (postfix) to local user wheel Linux - General 1 04-05-2006 07:45 AM
Postfix: Need to deliver all local mail to 1 account, then forward OneBinary Linux - Software 3 01-05-2006 04:49 PM
mail to local user using Postfix hct224 Linux - Newbie 0 03-16-2004 08:08 PM
postfix : sending local mail without domain iainr Linux - Software 2 12-10-2003 03:05 AM
Postfix - Don't masquerade Local only Outgoing mail... Help please... Vince0000 Linux - General 2 11-27-2003 09:08 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration