Re: Sendmail question

From: Bill Vermillion (bv_at_wjv.com)
Date: 02/13/05

  • Next message: Noah Davidson: "RE: Sendmail question"
    Date: Sun, 13 Feb 2005 17:30:08 -0500
    To: Noah Davidson <NoahD@oopz.com>
    
    

    Ashes to ashes, and DOS to DOS Noah Davidson was heard to say
    on or about Sun, Feb 13, 2005 at 14:10 :

    > I have set up a new FreeBSD box as mainly a backup mail server,
    > although it is primary for a couple of domains. It is running
    > sendmail 8.13.3 and it works fine, except for all the spam that
    > is being sent to it to bad email addresses. I have aliased
    > the root account to an email group on another server so that
    > someone reads the root mail. The problem is that all the mail
    > that spammers are sending to address that do not exist get
    > bounced and the root account a notification (I believe it
    > is the postmaster alias which is aliased to root). Is there
    > any way to not have these notifications sent out. They are
    > filling up the mail boxes. I just want the return to sender, but
    > not to the root / postmaster as well. I have tried using the
    > confCOPY_ERRORS_TO in my .mc file, but that just sends it to an
    > additional account as well.

    Making assumptions that your sendmail is receiving bogus mail
    for accounts that you have sendmail receive here is approach you
    can take.

    Assume you have domains a.com b.com and c.com and your
    local-host-names has those.

    Then you need to find out what users you have for each domain

    If you have curly larry and moe on a.com and no one else, then you
    can build a virtualusrtable that looks like this.

    curly@a.com curly
    larry@a.com larry
    moe@a.com moe
    @a.com nouser

    And the accnount 'nouser' will be in your /etc/mail/aliases
    file and will look like this:

    nouser: /dev/null

    Run make in /etc/mail to create virtusertable.db and aliases.db
    and that should get rid of the bogus names going to root.

    I find the virtualusertable to be quite handy for elminating a lot
    of junk. It will only be a problem if you have a large user
    base or lots of domains.

    Bill

    -- 
    Bill Vermillion - bv @ wjv . com
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Noah Davidson: "RE: Sendmail question"

    Relevant Pages

    • Re: Whats with the "Dont login as root, use su" message?
      ... know if there is anything special about console login into root account ... this executes make as root. ... So that I might be able to help other folks with real answer. ...
      (comp.unix.bsd.openbsd.misc)
    • Re: Terminal question/USB wireless
      ... password (same one I use for installs) after inputing su and it wasn't ... then used this: sudo passwd root ... the root account, which will enable it. ... the bottom of the Login Window, not System Preferences. ...
      (comp.sys.mac.system)
    • Re: [10.4.10] How do I regain root/admin access?
      ... For instance, by default, all Mac OS X systems come factory-installed with the root account *disabled* so that nobody can log into that account. ... It appears to have given me access to folders that were being stubborn before. ... I think I'm still going to be somewhat disabled till I can purchase the install discs, so I'll have to bear with things as they are for now. ...
      (comp.sys.mac.system)
    • Re: Terminal question/USB wireless
      ... password (same one I use for installs) after inputing su and it wasn't ... then used this: sudo passwd root ... the root account, which will enable it. ... then use the "Disable Root User" command in the Security menu. ...
      (comp.sys.mac.system)
    • Re: to allow root logins or not?
      ... it asks if I want to allow root logins. ... sudo, but is there a downside to not having an actual root account. ... If you really want to not have root login, you would need to have a rescue CD or equivalent method of booting the system, to fix anything that couldn't be handled by a normal startup from the boot hard disk. ...
      (Debian-User)