Add your.IP.network RELAY or localdomain RELAY to relay-domains For example: 192.168.1 RELAY
The remote computer needs permission to relay mail through your machine. Be careful. Horst ([EMAIL PROTECTED]) wrote*: > >Any pointer is appreciated, including additional processes and conf's >required/restarted, as well as other 'trivial' and security issues >(since I never did this) - I know, there is a rich documentation, but >fully digesting that 130KB doc is something I don't look forward to... > >Thanks much .................... Horst. > > ################ problem summary: ################ > >Redhat 7.2, fresh installation. >sendmail user1 to user2 on local machine works. >sendmail outbound to remote machine works > replying(or from scratch) from remote fails (see clip from efn) > (all real names are replaced so hostname reads like > 'machine1.domean.com' > >After editing 'local-host-names' executing 'make' in /etc/mail/ looked OK > (see *.db below) > >[root@machine1 mail]# /etc/rc.d/init.d/sendmail restart >Shutting down sendmail: [ OK ] >Starting sendmail: [ OK ] >[root@machine1 mail]# /etc/rc.d/init.d/sendmail status >sendmail (pid 11927) is running... >[root@machine1 mail]# > >~~~~~~ who I am: ~~~~~~~~~~~ >[root@machine1 conf]# hostname >machine1.domean.com >[root@machine1 conf]# > > > #################### errors: ##################### > > ~~~~~~~~~~~ recieved at remote account and replied ~~~~~~~ >~~~~~~~~~~~~~~~~~~~~~~ ... but: ~~~~~~~~~~~~~~~~~~ >The original message was received at >Tue, 2 Apr 2002 16:45:43 -0800 (PST) from [EMAIL PROTECTED] >[206.163.176.5] > > ----- The following addresses had transient non-fatal errors ----- ><[EMAIL PROTECTED]> > > ----- Transcript of session follows ----- ><[EMAIL PROTECTED]>... Deferred: Connection refused by >machine1.domean.com. >Warning: message still undelivered after 4 hours >Will keep trying until message is 5 days old > > [ Part 2: "Delivery Status" ] > >Reporting-MTA: dns; clavin.efn.org >Arrival-Date: Tue, 2 Apr 2002 16:45:43 -0800 (PST) > >Final-Recipient: RFC822; [EMAIL PROTECTED] >Action: delayed >Status: 4.4.1 >Remote-MTA: DNS; machine1.domean.com >Last-Attempt-Date: Tue, 2 Apr 2002 20:57:10 -0800 (PST) >Will-Retry-Until: Sun, 7 Apr 2002 17:45:43 -0800 (PST) > > ~~~~~~~~~~~~~~~ another error, but local: ~~~~~~~~~~~~~~~~~~~ >less /var/log/maillog >... >Apr 3 09:45:26 localhost sendmail[11367]: NOQUEUE: machine1.domean.com >[127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA >... > > ############### directories, files, file content: #################### > >[root@machine1 mail]# pwd >/etc/mail > >[root@machine1 mail]# ls -ltr >total 68 >-rw-r--r-- 1 root root 0 Mar 2 2001 virtusertable >-rw-r--r-- 1 root root 127 Mar 2 2001 trusted-users >-rw-r--r-- 1 root root 2220 Mar 2 2001 sendmail.mc >-rw-r--r-- 1 root root 611 Mar 2 2001 Makefile >-rw-r--r-- 1 root root 0 Mar 2 2001 mailertable >-rw-r--r-- 1 root root 5573 Mar 2 2001 helpfile >-rw-r--r-- 1 root root 0 Mar 2 2001 domaintable >-rw-r--r-- 1 root root 155 Apr 2 15:02 local-host-names >-rw-r--r-- 1 root root 528 Apr 2 15:54 access >-rw-r--r-- 1 root root 12288 Apr 2 16:06 virtusertable.db >-rw-r--r-- 1 root root 12288 Apr 2 16:06 mailertable.db >-rw-r--r-- 1 root root 12288 Apr 2 16:06 domaintable.db >-rw-r--r-- 1 root root 12288 Apr 2 16:06 access.db >drwx------ 2 root root 4096 Apr 3 09:52 MISC >[root@machine1 mail]# > >[root@machine1 mail]# ls -l /etc/send* >-rw-r--r-- 1 root root 46245 Mar 2 2001 /etc/sendmail.cf > > >[root@machine1 mail]# grep '/etc/mail/' ../sendmail.cf >Fw/etc/mail/local-host-names >FR-o /etc/mail/relay-domains >Kmailertable hash -o /etc/mail/mailertable >Kvirtuser hash -o /etc/mail/virtusertable >Kaccess hash /etc/mail/access >#O ErrorHeader=/etc/mail/error-header >O HelpFile=/etc/mail/helpfile >O UserDatabaseSpec=/etc/mail/userdb.db >#O ServiceSwitchFile=/etc/mail/service.switch >#O DefaultAuthInfo=/etc/mail/default-auth-info >Ft/etc/mail/trusted-users >[root@machine1 mail]# > > >[root@machine1 mail]# cat local-host-names ># local-host-names - include all aliases for your machine here. >machine1.domean.com > > >[root@machine1 mail]# cat access ># Check the /usr/share/doc/sendmail-8.11.2/README.cf file for a >description ># of the format of this file. (search for access_db in that file) ># The /usr/share/doc/sendmail-8.11.2/README.cf is part of the sendmail-doc ># package. ># ># by default we allow relaying from localhost... >localhost.localdomain RELAY >localhost RELAY >127.0.0.1 RELAY > ># tried a few things, but now commented out. > >[root@machine1 mail]# > > -- Bob Crandell Assured Computing When you need to be sure. Cell 541-914-3985 FAX 240-371-7237 [EMAIL PROTECTED] www.assuredcomp.com Eugene, Or. 97402
