Sendmail with free DynDns (~/.forward) problem
Hi,
I should say that I'm not an expert of linux or sendmail. On my way to learning I'm trying to setup my sendmail server at home using free dydns account(server1.dyndns.org). I can send and receive emails to/from @hotmail, @yahoo, @gmail (the ones I've checked). Code:
dnl# This is the default sendmail .mc file for Slackware. To generate Code:
$ cat /etc/mail/access $ cat ~/.forward username@hotmail.com But the problem is I receive an error message in /var/log/maillog & also a message is sent to root@server1: Code:
$ tail /var/log/maillog Code:
----- The following addresses had permanent fatal errors ----- |
I think for what you want to do you don't need to relay for hotmail (not a good idea and no surprise your isp doesn't accept your relaying), but you need only a line in /etc/aliases
Code:
tux: username@hotmail.com after your sendmail will normally forward the mail via smtp (using your isp's server as a smarthost, like you configured) to your hotmail address. |
Thanks for your reply. I've added "tux: username@hotmail.com" to /etc/mail/aliases file and run newaliases command, restarted sendmail script. Now it gives the same 554 error message.
If my sendmail is letting the message through so it means there is no problem on my end? and it's something to do with ISP? |
Sorry to dig up my old thread, but I'm trying to have a shot at this again.
I've added this to /etc/aliases file tux: username@hotmail.com If I send email from a local user(root) it is forwarded to above hotmail account, no problem there. But what I'm trying to do is that if I send an email from my hotmail account to tux@server1.dyndns.org then it should go to username@hotmail.com. It's not happening. I see same error message in /var/log/maillog "stat=Deferred: Connection reset by smtp.myrealisp.com." Is it something to do with my ISP not relaying messages that originated not from my local machine? PS. Admin can move this to Server forum please, if appropriate. |
All times are GMT -5. The time now is 12:08 PM. |