View previous topic :: View next topic |
Author |
Message |
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Mon Feb 17, 2003 5:12 pm Post subject: postfix doc |
|
|
im following the postfix doc am i supposed to actuall put
myhostname = $host.domain.name
in my main.cf or am i supposed to change it to my actual hostname because im getting errors when i get to newalaises
Code: | newaliases: warning: valid_hostname: misplaced delimiter: .domain.name
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: .domain.name
|
thanks |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Mon Feb 17, 2003 7:03 pm Post subject: postfix |
|
|
It should be your actual host name, preferably what you specified in /etc/hosts
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Mon Feb 17, 2003 7:56 pm Post subject: |
|
|
thanks works a little better now
so i emerged mutt created cur new and tmp in ~/.maildir
root can recieve emails when the root account is alaised to an outside mail address
but it seems that if i alais root to another local user its not recieving mail
basically no local users are getting anything delivered any ideas? |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Mon Feb 17, 2003 8:56 pm Post subject: postfic delievery |
|
|
Check the log files to see what's going. If I had to guess, I'd bet it's permission problems. Postfix won't create a maildir if the user doesn't own the local dir. Try the following if Postfix complains about dirs in the logs.
chown -R localuser:users /home/localuser
where localuser is a the user you want to fix.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Tue Feb 18, 2003 12:42 am Post subject: |
|
|
i changed the permissions but still dosnt look like any local users are recieving mail
Code: |
Feb 17 18:30:05 [postfix/qmgr] EA7603AFD: from=<www@mail.johnajordan.com>, size=416, nrcpt=1 (queue active)
Feb 17 18:30:05 [postfix/cleanup] 07B7A3A2D: message-id=<20030218003004.GA14011@mail.johnajordan.com>
Feb 17 18:30:05 [postfix/qmgr] 07B7A3A2D: from=<www@mail.johnajordan.com>, size=556, nrcpt=1 (queue active)
Feb 17 18:30:05 [postfix/local] EA7603AFD: to=<www@mail.johnajordan.com>, relay=local, delay=1, status=sent (forwarded as 07B7A3A2D)
|
is some output from my log but nothing turns up in the users maildir |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Tue Feb 18, 2003 1:07 am Post subject: more postfix |
|
|
digitalnick wrote: |
Code: |
Feb 17 18:30:05 [postfix/qmgr] EA7603AFD: from=<www@mail.johnajordan.com>, size=416, nrcpt=1 (queue active)
Feb 17 18:30:05 [postfix/cleanup] 07B7A3A2D: message-id=<20030218003004.GA14011@mail.johnajordan.com>
Feb 17 18:30:05 [postfix/qmgr] 07B7A3A2D: from=<www@mail.johnajordan.com>, size=556, nrcpt=1 (queue active)
Feb 17 18:30:05 [postfix/local] EA7603AFD: to=<www@mail.johnajordan.com>, relay=local, delay=1, status=sent (forwarded as 07B7A3A2D)
|
|
Hmmm that doesn't look right. My logs show this for a delivery
Code: |
Feb 17 15:00:35 src@bandwidth postfix/local[1565]: 61E0D3A248D: to=<kashani@badapple.net>, rela
y=local, delay=0, status=sent (maildir)
|
It looks like the server is accepting the email and then forwarding it somewhere else. Check your /etc/mail/aliases file and your mydestination setting in your main.cf. For what I see in your logs the following should work.
mydestination = $myhostname, localhost.$mydomain, $mydomain
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Tue Feb 18, 2003 1:50 am Post subject: |
|
|
heh /me feels like a moron
after reviewing my aliases file again i noticed that ther is a www user that points to webmaster that points to root heh and i had root point to www
cicular heh thanks for the help on wiht the doc |
|
Back to top |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Tue Feb 18, 2003 4:25 am Post subject: |
|
|
another odity ... when i send mail from a local account to an external accoutn the reply address is set to localuser@smtp.secureserver.com whats that smtp.secureserver.com about and how would i go about getting it back to normal |
|
Back to top |
|
|
kashani Advocate
Joined: 02 Sep 2002 Posts: 2032 Location: San Francisco
|
Posted: Tue Feb 18, 2003 7:22 pm Post subject: possible mua problem |
|
|
I'd check your mail client for funny settings.
kashani _________________ Will personally fix your server in exchange for motorcycle related shop tools in good shape. |
|
Back to top |
|
|
digitalnick Apprentice
Joined: 30 Jun 2002 Posts: 243 Location: Lawrence KS USA
|
Posted: Wed Feb 19, 2003 10:33 pm Post subject: |
|
|
im not seeing anything about secureserver anywhere ive no clue why its doing this ... it only seem to do it when i send mail to an esternal person. if i send to another loacal user it shows from my host.domain.tld
any other ideas? |
|
Back to top |
|
|
|