On Sat, 23 Jan 1999, Michael Perry wrote:
>
> Now it seems that sendmail plays hardball with email I fetch with
> fetchmail. Why would sendmail grab the email and not release it to my
> user account?
> I am using the default sendmail -bd -q30m -om in yast. Could someone with
> a dialup tell me what in heck they use in yast for the basic sendmail args
> command? I need to get sendmail to release the email so I do not have to
> run sendmail -q to get personal email to me.
OK, this is what I have in YaST for sendmail:
SENDMAIL_TYPE = No
to prevent YaST from generating the sendmail config file.
SENDMAIL_ARGS = -bd -om
I believe all of the other sendmail settings in YaST are ignored by
preventing it from writing the config file.
I have "sendmail -q" executed from my /etc/ppp/ip-up script.
In /etc/inetd.conf I have
smtp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/sendmail -bs
although you could just have
smtp stream tcp nowait root /usr/sbin/sendmail -bs
if you don't want to run it through a tcp wrapper.
This is my /etc/mail/linux.mc file:
----------------------------------------------------------------------
divert(-1)
#
# Sendmail Configuration File - version 8.9.2 (13/1/98)
#
# run this file through m4 to create sendmail.cf -
#
# "m4 /usr/share/sendmail/m4/cf.m4 /etc/mail/linux.mc > /etc/sendmail.cf"
#
divert(0)
VERSIONID(`@(#)linux - sendmail 8.9.2 (stokes) 13/1/98')
OSTYPE(`linux')
define(`STATUS_FILE',`/etc/mail/sendmail.st')
define(`confDEF_USER_ID',`daemon:daemon')
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
define(`QUEUE_DIR',`/var/mqueue')
define(`confSAFE_QUEUE',`true')
define(`confCOPY_ERRORS_TO',`postmaster')
define(`UUCP_MAILER_MAX',`2000000')
define(`confQUEUE_LA',`12')
define(`confREFUSE_LA',`18')
define(`confMAX_DAEMON_CHILDREN',`40')
define(`confPRIVACY_FLAGS',`authwarnings,needmailhelo,needvrfyhelo,noexpn,noetrn,noverb')
define(`confTRUSTED_USERS',`mdom wwwrun')
define(`SMART_HOST',`smtp:[post.demon.co.uk]')
define(`confBIND_OPTS',`HasWildcardMX')
define(`confCON_EXPENSIVE',`True')
define(`SMTP_MAILER_FLAGS',`e')
define(`confMAX_RCPTS_PER_MESSAGE',`3')
define(`confREJECT_MSG',`550 Access denied to you')
FEATURE(`smrsh')
FEATURE(`nocanonify')
FEATURE(`always_add_domain')
FEATURE(`local_procmail')
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')
FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')
FEATURE(`access_db',`hash -o /etc/mail/access.db')
FEATURE(`blacklist_recipients')
FEATURE(`use_ct_file')
MAILER(`local')
MAILER(`procmail')
MAILER(`smtp')
Cw localhost
----------------------------------------------------------------------
Run linux.mc through m4 to create the sendmail config file
/etc/sendmail.cf
You'll need to run through the sendmail docs and alter or remove some of
the linux.mc options if you intend using my linux.mc file, as some of
them may not be relevant to you.
Hope this is of use.
Phil
--
Philip Stokes Email: [EMAIL PROTECTED]
Fax: +44 (0)870 164 1242
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html