LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 09-16-2006, 02:19 AM   #1
pushpraj
LQ Newbie
 
Registered: Jan 2006
Posts: 23

Rep: Reputation: 15
Urgent help for Postfix mail server (please Read it)


Hello everybody,
I need urgent help. I want to forward non-existent mails of my local mail server to my remote ISP mail server in postfix.
Please help me.

Regards,
Pushpraj
 
Old 09-16-2006, 02:25 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 151Reputation: 151
I'm not sure what you mean here. It's not possible to forward emails that don't exist. Do you mean when you receive emails for users that don't exist you want to forward the email to your ISP? Can you provide more information?

Also, please don't mark posts as urgent - it won't get you more support, some people deliberately ignore posts marked as urgent...
 
Old 09-16-2006, 02:41 AM   #3
pushpraj
LQ Newbie
 
Registered: Jan 2006
Posts: 23

Original Poster
Rep: Reputation: 15
Yes it is exactly same i.e. user1@example.com is not present in local mail server but it is present in my remote mail server. my remote and local mail server is also same i.e. example.com. so that mail for user1@example.com from local server are bounced back as user1 is not present in local mail server.so i want to forward mails of user1@example.com to my remote placed mail server.

Pushpraj
 
Old 09-16-2006, 04:04 AM   #4
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: OpenBSD, Slackware, XP
Posts: 347

Rep: Reputation: 31
Quote:
Originally Posted by pushpraj
my remote and local mail server is also same i.e. example.com. so that mail for user1@example.com from local server are bounced back as user1 is not present in local mail server.so i want to forward mails of user1@example.com to my remote placed mail server.

Pushpraj
That should not be the case. Instead make your local mail server to use 'myhostname' instead of 'mydomain' for 'mydestination' since mail deliveries will be always presumed in your local mail, that is, the destination.

mydestination = $myhostname, localhost.$mydomain, localhost

Then,

# postfix reload
 
Old 09-17-2006, 09:51 PM   #5
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: OpenBSD, Slackware, XP
Posts: 347

Rep: Reputation: 31
Then all your local mail accounts should be at users@yourhostMTA.yourdoamin.tld.

Cheers,
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Mail Server, OE can't receive but Webmail can read rickylim *BSD 2 03-14-2006 03:09 AM
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
Postfix mail server not accepting incoming mail from the external interface rexmundi Linux - Networking 7 12-22-2003 03:41 PM
Postfix relaying mail to internal mail server tradecraft1 Linux - Networking 2 10-28-2003 03:01 PM
How can I read root's mail using postfix on RH9 ??? asafnaot Linux - Software 3 06-01-2003 12:00 PM


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