Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
then i moved /etc/rc.d/rc.sendmail to another location. and i rebooted the server.
then :
Code:
root@mailgw:~# postfix start
postfix/postfix-script: starting the Postfix mail system
to make sure that my service started i did:
Code:
root@mailgw:~# netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:time *:* LISTEN
tcp 0 0 *:auth *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
udp 0 0 *:biff *:*
udp 0 0 *:time *:*
so my sever now listens to smtp port 25. now i'm trying to do telnet smtp testing:
Code:
telnet localhost 25
Trying 172.28.2.251...
Connected to 172.28.2.251 (172.28.2.251).
Escape character is '^]'.
my problem is that telnet is not coming back with message 220 when i telnet and it doesn't come back with message 250 when i send HELO. i can telnet to 25 but i can't execute any of the smtp commands. do you have any idea what i'm doing wrong? there is no firewall installed on the machine
Last edited by waelaltaqi; 02-23-2007 at 01:17 PM.
that should have taken care of sendmail binaries? would sendmail be installed somewhere else? the commands above are copied off postfix official documentation and they were excuted successfully on my system so i assumed that sendmail is taken care off. i tried the same procedure on CentOS which worked just fine but i discarded CentOS because i couldn't install ClamAV Module so i decided to give slackware a shot http://www.linuxquestions.org/questi...d.php?t=530440
now i would like to know why postfix is not working on my preferred distro
thanks
Last edited by waelaltaqi; 02-24-2007 at 10:12 PM.
thanks Berhanie for putting me on the right path. when i start postfix, /var/log/maillog has the following:
Code:
Feb 25 15:31:47 mailgw postfix/postfix-script: starting the Postfix mail system
Feb 25 15:31:47 mailgw postfix/master[7913]: daemon started -- version 2.3.7, configuration /etc/postfix
when i try to telnet 25 to the server, /var/log/maillog will show the following:
Code:
Feb 25 15:31:47 mailgw postfix/postfix-script: starting the Postfix mail system
Feb 25 15:31:47 mailgw postfix/master[7913]: daemon started -- version 2.3.7, configuration /etc/postfix
21 mailgw postfix/smtpd[7917]: fatal: open database /etc/aliases.db: No such file or directory
Feb 25 15:36:22 mailgw postfix/master[7913]: warning: process /usr/libexec/postfix/smtpd pid 7917 exit status 1
Feb 25 15:36:22 mailgw postfix/master[7913]: warning: /usr/libexec/postfix/smtpd: bad command starttup -- throttl
the smtpd service is starting and listening but when it tries to do anything it hangs up because of aliases.db ... i didn't find the source of the problem. i will do my homework and if you can help a little i will appreciate it. thanks.
Hi, Wael.
Congratulations on finding the cause of the problem. newaliases is the command to run. It builds /etc/newaliases.db from the data in /etc/newaliases. (Doing a mkdir /etc/aliases doesn't make sense, though.)
acctually it created /etc/aliases.db not /etc/newaliases.db. i thought that i newliases is going to create the database under /etc/aliases/aliases.db ..that explains the mkdir part ... but it came out that i don't need it ... thanks again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.