Solved

Fowarding unidentified mail to external host using SME Server 7.3

Posted on 2008-11-02
5
479 Views
Last Modified: 2008-11-23
Hi,

we are trying to forward unrecognized mail to an external host from SME Server 7.3 to an IP address of another server. So if the mail address does not exist, it till forward it to another mail server. We cannot find where this needs to be done. Can anyone assist please?
0
Comment
Question by:TBG_Admin
  • 3
  • 2
5 Comments
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 22874055
I believe you can create a catch-all account for your domain, and forward any email falling there to the destination you desire.
edit the .qmail-default file in /var/qmail/alias like
&user@host.com

and all email to non-existen users will fall to .qmail-default and thus to user@host.com

hope this helps
0
 

Author Comment

by:TBG_Admin
ID: 22882386
Redimido,

i do not want the emails to forward to a specific email address. I want the emails to forward to another server which will most likely contain the missing address.
0
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 22883471
are you saying there are two servers for the same email domain?

like in "example.com"

server1
  user01@example.com
  user02@example.com
  user03@example.com

server2
  user04@example.com
  user05@example.com

is that right? this is weird since in order to have this working, you should install qmail-ldap which can handle a "home server" for each account and forward emails there.

the easy solution for that scenario, is to add all email accounts in server2 as
server1
  .qmail-user04
  .qmail-user05

each one pointing to
  user04@server2.example.com
  user05@server2.example.com
 
0
 

Author Comment

by:TBG_Admin
ID: 22891224
That is correct. I just want to know if the server can handle forwarding unidentified mail like exchange and most other smtp servers can?
0
 
LVL 19

Accepted Solution

by:
Gabriel Orozco earned 500 total points
ID: 22901023
Qmail-LDAP is able to handle this kind of situations.

if you do not want to install qmail-ldap, then there are some ways you can approach the problem

since qmail checks the actual account exists only when it already received the email, and its at local-delivery step, you should look for projects that REPLACE the local delivery or ENHANCE it.

This page has a lot of approachs. I do not have tested them, but really there are a lot of different projects to do that:
http://web.netdevice.com:9080/qmail/rcptck/

Also, here is a snip of how to do the .qmail-default approach: existing users go to their local accounts, non-existing users fall to .qmail-default, where they are processed:

http://mla.libertine.org/tmda-users/2004-04/msg00072.html

hope that helps
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Debian 8.5 networking quits working every couple of hours 13 92
Emails returning to sender 3 31
Windows mail 2012 - repeating message 4 37
SMTP Service 9 34
New-MailboxSearch Powershell Command and step by step approach to Search and Extract Emails form Exchange 2013 Journaling server.
Easy CSR creation in Exchange 2007,2010 and 2013
This Micro Tutorial demonstrates  how Internet marketers work with competitive analysis data, and a common task in data preparation is creating separate column for domains. You will then extract from a list of URLs.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now