Greetings GNU/Linuxer's, I am hoping someone might be able to help me with the access_db feature in sendmail. Here's what I did to try and get it to work. I made a file /etc/mail/access containing one line followed by a newline, is the newline ok to have in there? (username changed to protect the guilty)
[EMAIL PROTECTED] REJECT then ran... makemap hash access < access Then I edited my sendmail.mc(inserted at bottom of this message) and ran sendmailconfig and said 'Y' to use the current sendmail.mc file. The config ran with no errors. Then I said yes to restart sendmail with the new config. Then I wrote myself an e-mail and tried to send it off. But the mailq command said 'Connection refused by localhost'.... c243491-a:~# mailq MSP Queue status... /var/spool/mqueue-client (1 request) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- f68Cq8m7009404 21 Sun Jul 8 06:52 longshot (Deferred: Connection refused by localhost) [EMAIL PROTECTED] Total requests: 1 MTA Queue status... /var/spool/mqueue is empty Total requests: 0 ### senmail.mc file minus the copyright portion ### divert(0)dnl define(`_USE_ETC_MAIL_')dnl include(`/usr/share/sendmail/sendmail.cf/m4/cf.m4')dnl VERSIONID(`$Id: sendmail.mc, v 8.12.0.Beta10 2001/05/29 12:00:00 cowboy Exp $') OSTYPE(`debian')dnl DOMAIN(`debian-mta')dnl FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access') dnl # dnl # General defines dnl # dnl # SAFE_FILE_ENV: `/' is the (Debian) default and will prevent users dnl # from writing to devices. dnl # If *all* your user accounts are under /home then use that dnl # instead - it will prevent any writes outside of /home ! define(`confSAFE_FILE_ENV', `/')dnl LOCAL_CONFIG define(`SMART_HOST', `mail')dnl FEATURE(`masquerade_envelope')dnl LOCAL_CONFIG Cwc243491-a.aurora1.co.home.com FEATURE(`use_cw_file')dnl FEATURE(`use_ct_file')dnl define(`confMAILER_NAME', `postmaster')dnl define(`confTO_QUEUEWARN', `6h')dnl define(`confTO_QUEUERETURN', `3d')dnl dnl # dnl # Dialup/LAN connection overrides dnl # include(`/etc/mail/dialup.m4')dnl include(`/etc/mail/provider.m4')dnl dnl # MAILER_DEFINITIONS MAILER(local)dnl MAILER(smtp)dnl LOCAL_CONFIG ## Custom configurations below (will be preserved) Anything pointers and help will be much appreciated! Thanks for your time, Jim Richards ------------------------------------------------------------------------ Hello, welcome to the psychiatric hotline. If you are obsessive-compulsive, please press 1 repeatedly. ------------------------------------------------------------------------
binB0tFCWEsIy.bin
Description: PGP Key 0x0062D7A7.
pgpWYKtm1NL9Q.pgp
Description: PGP signature