postfix can send but cannot receive emails
Hello,
I have configured Postfix on a Ubuntu 8.04 box using this tutorial: http://www.howtoforge.com/perfect-se...ntu8.04-lts-p5 I can send emails but I cannot receive any email because of a "bad recipient address syntax:" The log from /var/log/mail.info says this: Code:
Apr 25 14:46:06 360romania postfix/pickup[31716]: 74A682190661: uid=0 from=<root> Code:
root@360romania.eu` Code:
root@360romania.eu Can anyone tell me what is wrong? The content of the file 'main.cf' is the following: Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version Regards, Razvan |
Nobody has any clues?
|
Details??
Please define some more....
|
Quote:
echo Test1 | mail -s Blabla root@360romania.eu 2) I can send emails to any domain. I have no problem sending email! I only have problem when I have to receive them. 3) I am not able to receive emails from anywhere. All the time, I am getting the error that I mentioned in my initial post. ... what can be wrong? Personally, I suspect that something is adding a ` character to the receiving email address. |
Well .... any ideas?
|
You can start by grepping for backticks, e.g.
Code:
grep -rl '`' /etc/postfix/ /etc/aliases ~/.forward ... |
Hey not sure if u resolved the issue or not but i was able to hit ur servers. if still having the problem try doing it from a user as apose to root.
May 1 14:09:29 postfix/smtp[23590]: A707D22D6: to=<root@360romania.eu>, relay=mail.360romania.eu[78.46.72.171]:25, delay=11, delays=0.04/0/11/0.31, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 0C18D2190484) May 1 14:09:29 postfix/qmgr[2132]: A707D22D6: removed |
video tutorial for newbie:
http://www.sima-it.com/en/how_to_ste...MySQL_FreeBSD/ |
Berhanie, it is working now!!!
The problem was in the file /etc/aliases! After the alias for root there was a backtick! I don't know how it got there. Sorry about this ... This is my first Postfix installation. Previously, I checked the config files from /etc/postfix/ and didn't found anything wrong (since there was nothing wrong there). I didn't checked the /etc/aliases file because I didn't knew about it. So, what I did is this (it might help other people): 1. update the file '/etc/aliases'; 2. run the command 'newaliases'; 3. run the command '/etc/init.d/postfix restart'; Thank you! |
Good job, rmihai. Also, usually there's no need to restart postfix after making changes: postfix reload is sufficient. You might also want to read this at some point.
|
All times are GMT -5. The time now is 08:44 PM. |