![]() |
Would the problem come from postfix?
Hi folks,
Mail Server: Ubuntu 7.04 server amd64 SquirrelMail 1.4.11 Postfix - pop, smtp Workstation Ubuntu 7.04 desktop Evolution 2.10.1 IIRC before installing SquirrelMail workstation can send/receive mail on Evolution via the Mail Server w/o problem. SM is working w/o problem. Just discovered Evolution can receive mails but can't send mails via the Mail Server. With the same password it can't authenticate to send mails, always complaining "Unable to authenticate to SMTP server. Bad authentication response from server". However the same password works to login SM. What I have done on the Mail Server were; 1) Installed SM, the webmail 2) Configuring CentOS 5 (Guest OS) running on VMWare. CentOS can browse Internet BUT Internet can't get into CenOS. I'm still trying to solve this problem. If uncheck "server require authentical", Evolution can send mails to other users registered on the Mail Server". But can't send mails to Internet with following warning; Code:
I haven't run Evolution on workstation to send mails for sometimes since SquirrelMail running. Would the problem come from postfix? If YES how to reconfigure "main.cf" TIA B.R. satimis |
Any errors in your mail log? What's in your main.cf?
|
Quote:
On Evolution uncheck "server require authentication" $ tail /var/log/mail.err Code:
Jan 2 14:52:23 mail postfix[5415]: fatal: the postfix command is reserved for t$ tail /var/log/mail.log Code:
Jan 23 08:59:45 mail authdaemond: Installing libauthpam2) On Evolution check "server require authentication" PLAIN $ tail /var/log/mail.log Code:
Jan 23 10:28:43 mail postfix/smtpd[5515]: NOQUEUE: reject: RCPT from unknown[220.232.213.178]: 554 5.7.1 <satimisliu@gmail.com>: Relay access denied; from=<smsliu@satimis.com> to=<satimisliu@gmail.com> proto=ESMTP helo=<[192.168.0.11]>Quote:
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete versionEdit: I suppose the problem coming from Evolution. I checked Kmail running on F7 (on another HD on the same Worksation). It can send and receive mails on the Mail Server without problem. However Evolution can send mails via ISP server. satimis |
Are you using ISPConfig?
|
Quote:
I suppose it is a relay problem. On clicking "Send" it popup Code:
RCPT TO <user1@abc.com> failed: <user1@abc.com>: Relay access deniedsatimis |
Can you try to configure an email account as shown here: http://www.howtoforge.com/forums/showthread.php?t=2
and test again? |
Quote:
However I can't resolve why Kmail works w/o problem. It is on the same PC, same ISP, same Mail Server, same accounts and same recipients for testing etc. The only difference is Kmail running on F7 on anoterh HD. Edit - 1 ===== I'll follow; http://www.howtoforge.com/forums/showthread.php?t=2 to proceed. The Mail Server is running serving several users. They already have their accounts created. Therefore I'll skip following steps Code:
postconf -e 'home_mailbox = Maildir/'$ ls /etc/postfix Code:
dynamicmaps.cf master.cf sasl$ sudo postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable' $ sudo postconf -e 'mydestination = /etc/postfix/local-host-names' $ sudo nano /etc/postfix/local-host-names copying following lines on it Code:
localhost $ sudo nano /etc/postfix/virtusertable adding following lines on it Code:
info@satimis.com user1$ sudo postmap /etc/postfix/virtusertable $ sudo /etc/init.d/postfix restart Please advise to avoid making mistake and causing problem to existing users. TIA Edit - 2: ===== I'm now on the same Workstation running F7. New discovery; Evolution running on F7 works seamlessly. It can send and receive mails, with the same settings as on Ubuntu, via the Mail Server w/o problem. This discovery makes me considering that Evolution on Ubuntu may has no problem. Neither there is a problem on the Mail Server. Ubuntu may has some misconfiguration causing the problem on "Relay access denied". satimis |
Quote:
|
Quote:
$ sudo apt-get --reinstall install evolution Now I can send mails on Postfix without authentication. I'm now googling around for tutorial to setup Postfix with SMTP-AUTH. I found your tutorial for Ubuntu 7.04. But I'm running Ubuntu 7.10. Can the tutorial be followed? satimis |
Quote:
|
| All times are GMT +2. The time now is 00:09. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.