On Friday 09 April 2004 17:40, Kevin Barnard wrote: > Whenever I send mail I want it to appear as coming from > [EMAIL PROTECTED] What happoens is it gets sent as > [EMAIL PROTECTED] which is the hostname. I've setup mydomain.com > in the me and defaultdomain files. This doesn't appear to have any > effect. This seems like it would be simple yet I can't seem to get it. > What am I doing wrong?
The FROM address is set by the mail client, not by courier. Check your account configuration in Mutt (I don't use it so I can help you) and set it to be what you want. If you are sending mail from SqWebMail then the FROM address should be "[EMAIL PROTECTED]" although there's a setting that allows users to change the FROM address in SqWebMail as well. > BTW as I test I send a message to kbarnard a local account to kbarnard > without any domain name and the message doesn't go anywhere. I am > using mutt to send the message. I would say think it might be a mutt > problem but I don't get any of the system messages from cron either. Courier will not accept mail through SMTP that does not have a fully qualified address. So sending mail to "kbarnard" will never work - courier will reject it. If mail is submitted through a program like sendmail on the command line, however, then sendmail will add the default domain to any address that doesn't have a domain. So you can do something like "sendmail kbarnard < msg.txt" and sendmail will submit the message for "[EMAIL PROTECTED]" (or whatever your default domain is). If you're not getting any mail from cron then something is wrong. Courier won't deliver mail to 'root' - it is usually aliased to 'postmaster' in the courier/etc/aliases/system file. So do you have a postmaster account or have you aliased postmaster to another account? Jeff Jansen ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
