postfix (cant send or receive mail)
Hi everyone,
Im in a bit of a dilema, i set up a mail server with postfix, dovecot and squirrelmail on SUSE 11 system, all the configs look correct but it has failed to sent nor receive mail, the most confusing thing abt it is when i send mail to a different domain it does reach the person, but then i cant send mail to the local accounts on the mail system itself. According to the log, i ges there is something wrong somewhere but i cant figure out what; Code:
mail1:/srv/www/htdocs/squirrelmail/config # tail -f /var/log/mail Can anyone help? |
Yahoo is pretty straight forward in their denying of messages. You'll notice this link provided to why the message was deferred or denied: http://help.yahoo.com/help/us/mail/defer/defer-06.html
From the site: Quote:
|
postfix (cant send or receive mail)
Hi,
i dont have a registered domain but atleast it should allow exchange of mails between the local users on the LAN, shouldn't it? coz the users on the LAN can access the mail server through web (squirrelmail) and they can also compose mails and send, trouble is the mails arent sent to the local accounts on the Server, and thats why im confused, since it cant send mail to external domains like yahoo and G-Mail. Could anyone tell why this is happening? |
I'm more than a little puzzled by what you trying to say. These are the various (some conflicting) statements I'm reading:
1) Users cannot send or receive any mail 2) Users can send mail (to a different person?) 3) Users cannot send to local users 4) Local users can send 5) Users cannot send to remote domains So let's step back. First, show output from postconf -n. Second, show the error message from the maillog you see from a message that is failing (that you believe should work). |
Quote:
Hi,thanx for your reply, here is the output from postconf -n Code:
mail1:~ # postconf -n Code:
mail1:~ # tail -f /var/log/mail |
What is the hostname/homainname of your machine? If it isn't something.nelly.com, there's your problem
Edit - I just had a look on the net, and there is a nelly.com. Now either you need to tell your local system that you want it to use your machine instead of the real nelly.com (you could put an entry in /etc/hosts to do that), or better still, use a name that isn't used elsewhere (you'd still need an entry in hosts). Can you show us the output of hostname and domainname please |
Hi,
in my network configs, the host hostname is 'mail1' and the domain name is 'nelly.com' |
What does
ping nelly.com showW Is it Quote:
If it is, you are going to need to add a line to /etc/hists that looks like yourIPaddress mail1.nelly.com mail1 nelly.com So say you IP ia 1.2.3.4, you could just do echo "1.2.3.4 mail1.nelly.com mail1 nelly.com" > /etc/hosts |
Can you also post the output of
cat /etc/hosts.conf Should be OK, but worth checking that your hosts file will be read |
Hi, just 2 clarify, i dont own nelly.com (194.132.118.108) and i totally have no attachment to that domain, only that my SUSE box onto which im tryin 2 set up postfix has nelly.com as its domain name, but this is not a fully registered domain name. like i said, mine is just a LAN thing.
output for cat /etc/hosts Quote:
|
Quote:
I don't get your hosts file. Why 192.168.43.51 nelly nelly and why 127.0.0.2 mail1.nelly.com mail1 the 127.0.0.2 may work (I don't know for sure) but wou would need a nelly.com entry there as well (something like 127.0.0.2 mail1.nelly.com mail1 nellycom). To be honest, I'd change 127.0.0.1 localhost to 127.0.0.1 localhost nelly.com mail1.nelly.com mail1 |
i ges i kinna messed up the whole server n like u see in the /etc/hosts file, it doesnt really depict the changes i made over 4 days ago, coz my ip is 192.168.43.52 not .51, that was the old one which i changed, but still shows in the /etc/hosts file,
Also i think my dovecot crushed coz i checked and realised it wasnt running, when i start it it brings a long string of weired errors; So i decided 2 install everything from scratch, so m currently installing SUSE 11. Will let you knw guys. i need your help real bad. Thnx Guys. |
Don't usurp an existing domain name. This leads to all sorts of trouble.
If you don't own a domain name, and this is LAN-only, use something like x.local (eg. neli.local). When you settle down your changes, and are ready to begin again, we'll start afresh. |
Hi there,
im up again n i need your help right from the start. i need 2 install Postfix with SMTP-AUTH-TLS, dovecot and i have squirrellmail already installed. Thnx. |
And if anyone has a documentation on this process i will be more than grateful.
|
All times are GMT -5. The time now is 11:28 AM. |