LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sendmail (dont just ignore it 'cause its got sendmail in the subject :P) (https://www.linuxquestions.org/questions/linux-networking-3/sendmail-dont-just-ignore-it-cause-its-got-sendmail-in-the-subject-p-8643/)

GnomeKing 11-12-2001 05:48 PM

sendmail (dont just ignore it 'cause its got sendmail in the subject :P)
 
yes, I'm having problems with my sendmail config!

I need some suggestions as to where I can go to set up my sendmail to accept emails for my domains....

ball-home.co.uk
home.gnomes.org.uk

Recipient: <bob@home.gnomes.org.uk>
Reason: 5.7.1 <bob@home.gnomes.org.uk>... Relaying denied
(I'm hosting this on my machine, and I cant send to it :P)

if their any help (and the answer is quick - I'm not asking any of u guys to config my sendmail for me - I just wanna know where I can go to read up for some help), here are a couple of my files...

root@cypher:/etc/mail# cat access
#/usr/sbin/makemap btree /etc/mail/access.db < /etc/mail/access
home.gnomes.org.uk OK
ball-home.co.uk OK


root@cypher:/etc/mail# cat domainalias
#/usr/sbin/makemap btree /etc/mail/domainalias.db < /etc/mail/domainalias

alan@ball-home.co.uk alan
pauline@ball-home.co.uk pauline
david@ball-home.co.uk daveb
dave@ball-home.co.uk daveb
bob@ball-home.co.uk bob
@ball-home.co.uk alan

@home.gnomes.org.uk bob

-----------------------

I used the following to define sendmail.cf....

VERSIONID(`RCS 8.10.1')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
FEATURE(use_cw_file)dnl
FEATURE(always_add_domain)dnl
FEATURE(relay_based_on_MX)dnl
FEATURE(virtusertable, `btree /etc/mail/domainalias')dnl
FEATURE(nouucp, `nospecial')dnl
FEATURE(access_db, `btree /etc/mail/access')dnl
FEATURE(accept_unresolvable_domains)dnl
FEATURE(local_procmail)dnl
define(`LOCAL_MAILER_PATH', `/usr/bin/procmail')
MAILER(smtp)dnl
MAILER(procmail)dnl

KevinJ 11-12-2001 09:57 PM

Just a guess, but try changing the /etc/mail/access settings from "OK" to "RELAY" and add one for localhost.


All times are GMT -5. The time now is 04:45 PM.