So, you would run `postmap aliases` to create the proper .db file.
To send mail, check out the main.cf configuration file for postfix, mine is stored in /etc/postfix. There are 2 parameters you'll want to set up to get mail delivery to work properly: mydestination and mynetworks. The main.cf file should be well commented to help you set those options up correctly.
mydestination will tell postfix which hosts to accept mail for. That appears to be your problem.
mynetworks will tell postfix which ip addresses to accept relay delivery from. If I recall correctly, this defaults to localhost, which may be all you need.
Ben
Chris Wood wrote:
Tony Vance wrote:
Here is a sample from /var/log/maillog:
Dec 9 10:04:43 oacl-admin postfix/smtpd[8588]: warning: database /etc/postfix/aliases.db is older than source file /etc/postfix/aliases
Dec 9 10:04:43 oacl-admin postfix/smtpd[8586]: connect from bay8-f114.bay8.hotmail.com[64.4.27.114]
Dec 9 10:04:43 oacl-admin postfix/smtpd[8588]: connect from bay8-f114.bay8.hotmail.com[64.4.27.114]
Dec 9 10:04:44 oacl-admin postfix/smtpd[8586]: 085E818699F: client=bay8-f114.bay8.hotmail.com[64.4.27.114]
Dec 9 10:04:44 oacl-admin postfix/smtpd[8588]: 0877A1869A0: client=bay8-f114.bay8.hotmail.com[64.4.27.114]
Dec 9 10:04:44 oacl-admin postfix/smtpd[8586]: 085E818699F: reject: RCPT from bay8-f114.bay8.hotmail.com[64.4.27.114]: 554 <[EMAIL PROTECTED]>: Relay access denied; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP helo=<hotmail.com>
Dec 9 10:04:44 oacl-admin postfix/cleanup[8589]: 0877A1869A0: message-id=<[EMAIL PROTECTED]>
I'm not a postfix guy, I use exim, but it looks like you are denying relaying for yourself. You probably need to tweak the config to allow your subnet or your private side of your lan (or however you have it).
Also, it is whining about the aliases file being out of date. Postfix may need you to run a program to update that db file after you edit the aliases file. I think sendmail used to use newaliases -- I'm not sure what postfix users.
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
