From owner-freebsd-questions@FreeBSD.ORG Wed Jan 21 23:33:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0F36016A4CF for ; Wed, 21 Jan 2004 23:33:59 -0800 (PST) Received: from hills.ccsf.cc.ca.us (hills.ccsf.cc.ca.us [147.144.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C687943D4C for ; Wed, 21 Jan 2004 23:33:57 -0800 (PST) (envelope-from abozan01@ccsf.edu) Received: from localhost (abozan01@localhost) by hills.ccsf.cc.ca.us (8.11.3/8.11.3) with ESMTP id i0M7XvA25002 for ; Wed, 21 Jan 2004 23:33:57 -0800 (PST) X-Authentication-Warning: hills.ccsf.cc.ca.us: abozan01 owned process doing -bs Date: Wed, 21 Jan 2004 23:33:57 -0800 (PST) From: Adam Bozanich X-X-Sender: abozan01@hills.ccsf.cc.ca.us To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: sendmail help? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 07:33:59 -0000 Hi all. I am having a really hard time getting sendmail to work for me. I have a dial up DSL account that gives me an outgoing smtp account that requires smtp authentication. For now, I'd simply like to be able to send mail from this local machine. I think the problem I am having is that the "from:" field in emails still has my local user name, rather than the one required by my isp. Here is the sendmail section of /etc/rc.conf: ### Mail Transfer Agent (MTA) options ###################### ############################################################## mta_start_script="/etc/rc.sendmail" # Script to start your chosen MTA, called by /etc/rc. # Settings for /etc/rc.sendmail: sendmail_flags="-L sm-mta -bd " # Flags to sendmail (as a server) sendmail_submit_enable="YES" # Start a localhost-only MTA for mail submission sendmail_submit_flags="-L sm-mta -bd -ODaemonPortOptions=Addr=localhost" # Flags for localhost-only MTA sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). sendmail_outbound_flags="-L sm-queue -q1m " # Flags to sendmail (outbound only) sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO). # sendmail _msp_queue_flags="-L sm-msp-queue -Ac -q30m" sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q1m " I don't really understand this at all. I changed the -q1m parts because I don't want sendmail to wait to send stuff... but I'm not sure if I should have. What does sendmail_msp_que do? Do I need it? Here is the configuration I am using. I have added 'authinfo' to the hashes that the makefile looks after. I hope someone can help, I'm stuck. Thanks, Adam VERSIONID(`kayak.mc')dnl OSTYPE(freebsd5)dnl undefine(`UUCP_RELAY')dnl undefine(`BITNET_RELAY')dnl define(`ALIAS_FILE', `/etc/mail/aliases')dnl define(`SMART_HOST',`smtp.sbcglobal.yahoo.com')dnl define(`confCON_EXPENSIVE',`True')dnl define(`SMTP_MAILER_FLAGS',`e')dnl define(`confAUTH_MECHANISMS',`CRAM-MD5 PLAIN LOGIN')dnl FEATURE(`authinfo',`hash -o /etc/mail/authinfo')dnl define(`confTO_QUEUEWARN',`')dnl define(`confTO_INITIAL',`10s')dnl define(`confTO_CONNECT',`10s')dnl define(`confTO_ICONNECT',`10s')dnl define(`confCW_FILE',`/etc/mail/local-host-names')dnl FEATURE(`always_add_domain')dnl FEATURE(`use_cw_file')dnl FEATURE(`nocanonify')dnl FEATURE(`masquerade_envelope')dnl FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain')dnl FEATURE(`access_db')dnl FEATURE(`blacklist_recipients')dnl FEATURE(`accept_unresolvable_domains')dnl MAILER(`local')dnl MAILER(`smtp')dnl # # aliases: # root: adam@kayak etc... # # genericstable: # # who is who on the outside adam my_addy@my_ip.net adam@kayak my_addy@my_ip.net adam@kayak.flatland my_addy@my_ip.net root my_addy@my_ip.net root@kayak my_addy@my_ip.net root@kayak.flatland my_addy@my_ip.net # # local-host-names: # localhost kayak kayak.flatland localhost.flatland # # genericsdomain # localhost kayak kayak.flatland localhost.flatland # # authinfo: # AuthInfo:my_isp.net "I:my_addy@my_isp.net" "P:Pass"