LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
LinkBack Search this Thread
Old 06-15-2009, 07:24 AM   #1
laymer
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Mail forwarding loop


Hi,

I am currently running postfix with a mysql database for the mail users. Here is the problem example:

The user has two e-mail addresses. One that’s with his company @abc.com (the one I manage) and the other external with another company @exe.com – the user wants to receive an e-mail sent to each account on both e-mail addresses, but that causes a mail forwarding loop. Do you guys have any idea how to solve this problem?

example:

Dave has two e-mail addresses:

dave@abc.com and dave@exe.com


someone sends dave@abc.com a mail "test" the mail is stored on dave@abc.com and forwarded to dave@exe.com there it is stored and FW back to dave@abc.com and this goes in a loop. Is there a way to not forward mails from a certain e-mail address, but forward all the others? Like Spanning tree protocol on switches, dont send back to the same interface(email add).

Any ideas?

Last edited by laymer; 06-15-2009 at 09:38 AM.
 
Old 06-15-2009, 01:27 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Independance, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 160Reputation: 160
It's possible to setup in some configs, not possible in others, it depends how you're doing your forwarding. This is something procmail could handle quite easily but you don't usually see that as commonly setup in postfix as in sendmail.
 
Old 06-17-2009, 06:31 AM   #3
laymer
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Can anyone help? This is what i am running:

Linux = Linux version 2.6.8-3-386 (root@lart) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1
MYSQL = mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2
POSTFIX = mail_version = 2.3.8
 
  


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
Procmail: forwarding mail to remote mail account Cadmium Linux - Software 2 01-14-2010 01:05 PM
Mail Forwarding in postfix/maildrop/redhat (like yahoo mail forwarding) topcat Linux - Software 1 08-31-2007 12:10 PM
Procmail forwarding loop jusme Linux - Software 10 02-28-2006 12:51 PM
Postfix mail forwarding loop lacerto Linux - Networking 1 06-01-2005 06:07 PM
Mail Loop kips Linux - Software 0 07-03-2003 06:03 AM


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