Berkeley CSUA MOTD:Entry 22894
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2001/11/1 [Computer/SW/OS/FreeBSD, Computer/SW/Mail] UID:22894 Activity:very high
11/1    How does one enable mail relaying in sendmail (FreeBSD)?  Does soda
        have mail relaying?  Thanks.
        \_ No, soda does not relay mail.
        \_ sendmail: http://www.sendmail.org/m4/masquerading.html
           FreeBSD: 4.x: edit /etc/mail/`hostname`.mc and run "make"
           in /etc/mail     --dbushong
           \_ Basically I need root access.  Damn.  I think that means I
              have to shell out more $$$ to get my ISP to relay mail.
2025/05/25 [General] UID:1000 Activity:popular
5/25    

You may also be interested in these entries...
2010/4/7-8 [Computer/SW/Mail] UID:53776 Activity:nil
4/7     postfix equivalent of 'sendmail -bt' ?
	...
2008/7/15-16 [Computer/Domains] UID:50572 Activity:nil
7/14    Help sendmail experts. I forward email from my own domain to
        http://gmail.com. I have never had any problem until recently. The problem
        happens only when eBay sends an email to my domain (as
        member@ebay.com). I receive the mail on my domain/my machine, and
        when it tries to forward to gmail, I get the following:
         Diagnostic-Code: X-Postfix; host <DEAD>gmail-smtp-in.l.google.com<DEAD>[w.x.y.z]
	...
2006/12/29-30 [Computer/SW/Security, Academia/Berkeley/CSUA/Motd] UID:45510 Activity:high
12/29   There have been a lot of complaints regarding soda reliability and
        users not volunteering their time and effort to help. Obviously,
        it wouldn't make sense for every user to be given root access so
        they can volunteer. Instead, why don't we use motd for people to
        contribute concrete suggestions (not just to start flame wars) to
        improve soda reliability and security? I'll start:
	...
2006/9/9-11 [Computer/SW/Mail, Computer/SW/Unix] UID:44331 Activity:nil
9/9     After rotating my /var/log/mail.* files and restarting postfix,
        I no longer have any mail log files in /var/log/mail.*! Is there
        something else I have to do for postfix? I never had this problem
        when I was using sendmail. Please help!         -learning unix
        \_ man -k syslog
	...
2006/8/6-10 [Computer/SW/Mail] UID:43922 Activity:nil
8/5     I just want to take this fine opportunity and say, FUCK sendmail.
        It is difficult to configure and its debugging facility totally
        blows. I can't believe how braindead sendmail config is, not to
        mention its sucky security. Fuck sendmail, use postfix instead.
        I got postfix running in a jiffy and I didn't even have to go
        through 800 pages of sendmail manpage. Fuck sendmail and
	...
2006/8/4-6 [Computer/SW/Mail] UID:43896 Activity:nil
8/3     I'm trying to add virtual forwarding, by adding a file called
        /etc/mail/virtusertable that forwards from user "test@mydomain.com"
        to "joeblow". I also added the line "FEATURE(`virtusertable')dnl"
        in sendmail.mc. Lastly, I did a make, then restarted sendmail. However
        it is not working. How do I diagnose the problem?
        \_ I have a similar setup.  From my config I also have a
	...
2006/8/4-6 [Computer/SW/Mail] UID:43903 Activity:low
8/4     In sendmail on Linux, how do I write a rule which will quietly discard
        e-mail sent to nonexistent users? Default behavior is to bounce
        the mail back, but in the case of SPAM the From: address doesn't
        exist. I'd rather just toss such mail.
        \_ This may bring other problems with it, but you may wish to
           consider greylisting.  It simply replies to each mail with a 405
	...
2006/8/4-6 [Computer/SW/Mail, Computer/SW/OS/Linux] UID:43910 Activity:nil
8/4     After trying to get sendmail's virtusertable to work for several
        hours, I've given up and decided to use exim4 instead. I've followed
        the following URL for exim4's equivalent of virtusertable, but now
        wondering how I can specify "error: User Known" and email
        nullification inside my new /etc/exim/virtusertable?
        http://www.exim.org/pipermail/exim-users/Week-of-Mon-20030127/049071.html
	...
2006/8/4-6 [Computer/SW/Mail] UID:43914 Activity:nil
8/4     are exim-virtuser-person and sendmail-virtuser-person the same?
	...
2006/8/4-6 [Computer/SW/Mail] UID:43915 Activity:nil
8/4     Dear sendmail virtusertable gurus, please help.
        Let's say my domain name is <DEAD>csua1.com<DEAD> and I'd like it to handle mail
        for <DEAD>csua2.com<DEAD> as well. The virtusertable (which I ran "makemap hash"
        on to generate virtusertable.db) contains the followings:
        a@csua1.com joe
        b@csua2.com joe
	...
2006/8/5-6 [Computer/Domains] UID:43917 Activity:nil
8/5     I'm trying to setup procmail so that when I send email out, I can set my
        domain to be any of the 3 I own. However, sendmail keeps masquerading my
        domain to be a certain domain, even though I didn't specify masquerading
        in sendmail.mc/cf. What is going on?
        \_ Try Hotmail.  -proud American
	...
Cache (1784 bytes)
www.sendmail.org/m4/masquerading.html
The masquerade name is not normally canonified, so it is important that it be your One True Name, that is, fully qualified and not a CNAME. However, if you use a CNAME, the receiving side may canonify it for you, so don't think you can cheat CNAME mapping this way. Normally the only addresses that are masqueraded are those that come from this host (that is, are either unqualified or in class {w}, the list of local domain names). If these names are in a file, you can use MASQUERADE_EXCEPTION_FILE(filename') Normally only header addresses are masqueraded. If you want to masquerade the envelope as well, use FEATURE( 11 masquerade_envelope') There are always users that need to be "exposed" -- that is, their internal site name should be displayed instead of the masquerade name. You can add users to this list using EXPOSED_USER(usernames') This adds users to class {E}; You can do this using define( 12 LOCAL_RELAY', mailer:hostname') The mailer:'' can be omitted, in which case the mailer defaults to "relay". There are some user names that you don't want relayed, perhaps because of local aliases. You can add entries to this list using LOCAL_USER(usernames') This adds users to class {L}; If you define both 13 LOCAL_RELAY and MAIL_HUB and you have FEATURE( 14 stickyhost'), unqualified names will be sent to the 15 LOCAL_RELAY and other local names will be sent to MAIL_HUB. Note: there is a (long standing) bug which keeps this combination from working for addresses of the form user+detail. EDU MAIL_HUB set as above (no local aliasing) (aliasing done) If you do not have FEATURE( 19 stickyhost') set, then 20 LOCAL_RELAY and MAIL_HUB act identically, with MAIL_HUB taking precedence. If you want all outgoing mail to go to a central relay site, define SMART_HOST as well.