i sat on the ns1.foo.com and sent an email to foo.net here is the log from ns1.foo.com the file /var/log/maillog.
May 20 03:20:25 ns1 sendmail[506]: g4JLoPq00506: SYSERR: putoutmsg (ns1.foo.com): error on output channel sending "220 ns1.foo.com ESMTP Sendmail 8.11.6/8.11.6; Mon, 20 May 2002 03:20:25 +0530": Connection reset by ns1.foo.com May 20 03:20:25 ns1 sendmail[506]: NOQUEUE: root@localhost did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA May 20 03:27:47 ns1 sendmail[569]: g4JLvlr00569: from=root, size=249, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, relay=localhost [[UNIX: localhost]] May 20 03:27:49 ns1 sendmail[572]: g4JLvlr00569: [EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=30249, relay=email.foo.net. [192.168.5.5], dsn=4.0.0, stat=Deferred: Connection reset by email.foo.net. May 20 03:42:04 ns1 sendmail[625]: g4JLvlr00569: [EMAIL PROTECTED], ctladdr=root (0/0), delay=00:14:17, xdelay=00:00:01, mailer=esmtp, pri=120249, relay=email.foo.net. [192.168.5.5], dsn=4.0.0, stat=Deferred: Connection reset by email.foo.net. i did a cat of the whole file and this is the full log status seems deffered. what changes do i have to make on the email.foo.net server apart from adding foo.com in the /etc/mail/local-host-names Arvind ----- Original Message ----- From: "Suresh Ramasubramanian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 20, 2002 2:09 PM Subject: Re: [LIH]accepting mail for another domain | +++ Arvind <Monday 20 May 2002 16:20>: | > I have a name server ns1.foo.com | > this is also called foo.com as i have a record @ ( see below ) | > @ IN NS ns1 | > @ IN A 192.168.5.5 | > now, i have setup a mail server at mail.foo.net which is running sendmail. | > all mail to [EMAIL PROTECTED] should goto mail.foo.net | > so i made an mx entry | > @ IN MX 10 mail.foo.net | | ok - so foo.com has an MX entry of mail.foo.net | | > then in the mail.foo.net machine | > i opened the file /etc/mail/local-host-names and added | > foo.com | > and now still when i send a mail to [EMAIL PROTECTED] i get a bounce back. | > [EMAIL PROTECTED] on Sun, 19 May 2002 12:55:35 -0700 | > The e-mail system was unable to deliver the message, but did not | > report a specific reason. Check the address and try again. If it still | > fails, contact your system administrator. | | Grr... this bounce could be any damned thing, before your exchange (looks a | lot like it) system finished with mangling it completely. When the idiots | will learn to make a properly formatted DSN, I don't know ... | | Anyway, produce some logs from your mail.foo.net machine, and from the | exchange server you sent this test mail from. | | -srs | -- | Suresh Ramasubramanian <----> mallet <at> efn dot org | EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin | [Linux One Stanza Tip] From : <[EMAIL PROTECTED]> | LOST #207 -**< Sub : Adding a swap file >**- | If you want to add 64mb swap file temporarily: | 1. dd if=/dev/zero of=/path/swapfile bs=1024 count=65536 | 2. chmod 600 /path/swapfile | 3. mkswap swapfile | 4. swapon swapfile OR | 5. To /etc/fstab add: /pathto/swapfile swap swap defaults 0 0 | | _______________________________________________________________ | Hundreds of nodes, one monster rendering program. | Now that's a super model! Visit http://clustering.foundries.sf.net/ | | _______________________________________________ | linux-india-help mailing list | [EMAIL PROTECTED] | https://lists.sourceforge.net/lists/listinfo/linux-india-help _______________________________________________________________ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
