Solved

Fowarding unidentified mail to external host using SME Server 7.3

Posted on 2008-11-02
5
481 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Guacamole and browser performance 1 105
eMail updates 3 37
Exchange Online and G Suite email coexistance with email domain sharing 7 126
is my large folder zipped corrupted 4 77
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

840 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