paladin-zero Guru
Joined: 19 May 2004 Posts: 322
|
Posted: Wed Nov 17, 2004 11:28 am Post subject: forwarding local messages to email |
|
|
I am trying, with some success, to get postfix running. I realized that I wasnt receiving system messages and decided to do something about it. I have some questions:
1) I dont have a /var/log/messages on my computer. Shouldnt it exist?
2) I can send a message by doing "cat testfile | sendmail darren" and I find the message in .maildir/new. I added a .forward file to send it to my regular email address, but that fails. While that email got bounced, this one was successfully delivered (I changed some of the information, not knowing what was acceptable to post):
Quote: |
Mail Delivery System <MAILER-DAEMON@quicksilver.ether>
To: darren@quicksilver.ether
Date: Today 05:45:19 am
This is the Postfix program at host quicksilver.ether.
I'm sorry to have to inform you that your message could not be
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The Postfix program
<XXXX@XXXXXX.edu> (expanded from <darren>): host
router2.mail.XXXXXX.edu[XXX.XXX.XXX.XXX] said: 553 5.1.8
<darren@quicksilver.ether>... Domain of sender address
darren@quicksilver.ether does not exist (in reply to MAIL FROM command) |
3) Do I need both a Mail folder and a .maildir?
4) Where can I change my $MAIL environment variable? I checked the usual places: /etc/profile, ~/.bashrc, but didnt find where it was being set. It is set to /var/mail/darren, but that folder doesnt exist. (Both /var/mail and /var/spool/mail are empty.)
Thank you,
darren at quicksilver dot ether |
|