On 20/12/06, Kevan Benson <kbenson at a-1networks.com> wrote: > On Wednesday 20 December 2006 08:30, Aleksandar Milivojevic wrote: > > > I know, unfortunately I have a couple of thousand non-technical users > > > already setup and I can't disrupt those. With a few pointers from Aleksandar I got this sorted. I started today with a clean slate and it's working, to be honest I'm not 100% sure what's changed this time round, possibly just that I'm a bit more clear headed in the light of day. :) <------------------sendmail.mc-------------------------> divert(-1)dnl dnl # dnl # This is the sendmail macro config file for m4. If you make changes to dnl # /etc/mail/sendmail.mc, you will need to regenerate the dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is dnl # installed and then performing a dnl # dnl # make -C /etc/mail dnl # dnl # $Id: sendmail.mc,v 1.3 2006/05/09 10:48:40 root Exp $ dnl # include(`/usr/share/sendmail-cf/m4/cf.m4')dnl VERSIONID(`setup for Red Hat Linux')dnl OSTYPE(`linux')dnl define(`SMART_HOST',`mailscanner.somedomain.com') define(`confDEF_USER_ID',``8:12'')dnl define(`confTO_CONNECT', `1m')dnl define(`confTRY_NULL_MX_LIST',true)dnl define(`confDONT_PROBE_INTERFACES',true)dnl define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl define(`ALIAS_FILE', `/etc/aliases')dnl define(`STATUS_FILE', `/var/log/mail/statistics')dnl define(`UUCP_MAILER_MAX', `2000000')dnl define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl define(`confAUTH_OPTIONS', `A')dnl define(`confTO_IDENT', `0')dnl FEATURE(`no_default_msa',`dnl')dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl FEATURE(redirect)dnl FEATURE(always_add_domain)dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl FEATURE(`relay_mail_from')dnl FEATURE(`blacklist_recipients')dnl EXPOSED_USER(`root')dnl DAEMON_OPTIONS(`Port=smtp,Addr=192.168.24.112,Name=MTA')dnl FEATURE(`accept_unresolvable_domains')dnl LOCAL_DOMAIN(`willspc')dnl MAILER(smtp)dnl MAILER(procmail)dnl <------------------sendmail.mc-------------------------> And <------------------access-------------------------> # # $Id: access,v 1.2 2006/12/21 11:02:53 root Exp $ # localhost RELAY 127.0.0.1 RELAY From:test at testdom.com RELAY <------------------access-------------------------> Will.