Mail Forwarding with sendmail

Posted on 2004-11-29
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
    LVL 40

    Expert Comment

    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

    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

    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

    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

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    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…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    760 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

    8 Experts available now in Live!

    Get 1:1 Help Now