On Fri, May 20, 2005 at 04:32:03PM +0200, Anders Johansson wrote:
On Friday 20 May 2005 16:25, Richard Curtis wrote:
I have some scripts which use the "mail" program to email a remote email address. The problem I am having is that the upstream mail server we send through isa bouncing these mails back as undeliverable as the senders address is not resolving.
The error is similar to: <root@store.atlantic>... Domain of sender address root@store.atlantic does not exist (in reply to MAIL FROM command)
How do I setup root's senders address to be something like root@myvalidinternetdomain.com ? I assume it is all down to /root/.mailrc, but I am struggling to find the appropriate syntax for doing this.
In the mail command you can add "-r root@myvalidinternetdomain.com" to the parameter list.
In the mailrc it looks like you should be able to do
set from root@myvalidinternetdomain.com
to get the same effect
Or you could open YAST2 and go into the mail settings there and do it...
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com