Mail Forwarding with sendmail

Posted on 2004-11-29
Medium Priority
Last Modified: 2010-03-18
Hello everybody,

I am usning sendmail as my mail server.
my mailing is working fine but my problem is that i want to forward my mails to lotus domino mail server in such a way that one copy of my mails will resides on my sendmail server and one on lotus domino mail server (as backup).

i am having user database on both the mail server and both servers can work live without any dely and what i have to change is just only Nating on my firewall.

My basic requirement is how to configure sendmail for forwarding mails with duplication.

Question by:imamit2000
  • 3
  • 2
LVL 40

Expert Comment

ID: 12709866
Probably the easiest way to do this is via the aliases file. Assuming that your Notes server was notes.mydom.tld an aliases file record for a user would look like:

some-user:       some-user,some-user@notes.mydom.tld

Of course you'd need aliases for each user and would disable any other forwarding methods. And, not so obviously, you need to configure Notes to accept mail addressed to some-user@notes.mydom.tld in addition to the default address of some-user@mydom.tld.

Author Comment

ID: 12715059
Thanks  jlevie,

Thanks for the comments.

Actually i am already having these kind of methods. I had tried once for the testing for some users.  And it giving a good load on my mail server.

On my mail server around 50,000 mail goes in 'n' out daily.
So if i will go for this approach it will made my mailing slow. I am looking for some internal settings of the sendmail itself.

LVL 40

Expert Comment

ID: 12715579
As far as I know there isn't any "internal setting" that can do this. And the speed difference is probably due to the increased I/O that the mail relay has to do to store a local copy, so whether it was internal to Sendmail or via alias expansion you'd probably see the same increase in server load.

Author Comment

ID: 12723233
thanks again,

ok now i will think that i will go for this solution or not.
ya, one more thing, Can i implement quota through sendmail itself, right now i am using file system quota (quotacheck, quotaon etc. )
LVL 40

Accepted Solution

jlevie earned 500 total points
ID: 12723410
Sendmail doesn't support quotas on mail. And trying to use file system quotas is dangerous because by the time that Sendmail finds out that a message would go over quota it is too late to tell the sender and thus the message will be lost. There are safe ways of doing mail quota's, like the Cyrus IMAP implementation.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month13 days, 22 hours left to enroll

809 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