Help! Postfix and network problems
I'm having problems with Postfix....and would appreciate any help. I have tried opening smtp and pop prots using inetd, but when I try to connect to the mail server I receive an error stating that the email client cannot connect to the mail server......is this a problem with the inetd services or a problem with postfix....? ... I have not done any other configurating other than usin YAST2 and setting the hostname for the mailserver. not much info for you all, but a beginning perhaps Thomas
On Thu, 27 Jun 2002, Thomas just had to get this off his chest:
I'm having problems with Postfix....and would appreciate any help.
I have tried opening smtp and pop prots using inetd, but when I try to connect to the mail server I receive an error stating that the email client cannot connect to the mail server......is this a problem with the inetd services or a problem with postfix....? ... I have not done any other configurating other than usin YAST2 and setting the hostname for the mailserver. not much info for you all, but a beginning perhaps
Postfix isn't started from inetd to begin with, so if there's another app using port 25 already Postfix will barf. Whatever you have enabled in inetd.conf for port 25, hash it out and HUP inetd. 2nd; Postfix needs to know for which networks and domains it is supposed to receive mail for. Edit /etc/postfix/main.cf and change these four variables: myhostname= This is used to identify your mailserver to other MTA's. It must be a full qualified domain name, thus with at least one '.' in it. Even better if it resolves to a real IP#.. mynetworks= This tells Postfix for which networks it is authorized to relay mail for. e.g. 192.168.0.0/24, 127.0.0.0/8 relayhost= This tells Postfix which mail server your mail has to go to first, e.g. your ISP's (only if you want to use Postfix to send mail too). mydestination= Defaults to $myhostname + localhost.$mydomain This tells Postfix for which domains it can receive mail for. Save main.cf and do '/usr/sbin/postfix check'. If there are no complaints then open another VC or xterm and do (as root) 'tail -f /var/log/mail'. Then do '/usr/sbin/postfix start', while keeping an eye on the log window, it should say something simular as: postfix/postfix-script: starting the Postfix mail system postfix/master[3291]: daemon started Now do 'telnet localhost 25' and see if it comes back with something like: Connected to localhost. Escape character is '^]'. 220 ferrets4me.xs4all.nl Postfix If so then it's probably working at it should. When you say email-client btw, do you mean as sender or as recipient? 'Cause Postfix is *not* a POP server, so trying to get mail from it with e.g. Kmail is useless. You'll need a seperate POP server for that. Theo -- Theo v. Werkhoven ICBM 52 8 24N , 4 32 40E. S.u.S.E 7.3 x86 Kernel 2.4.16-4GB See headers for PGP/GPG info.
On Thu, 27 Jun 2002, Thomas just had to get this off his chest:
I'm having problems with Postfix....and would appreciate any help. [..]
Thomas, you sent a reply to me instead of the list and request an answer. That in itself isn't a big problem, although you probably shoot yourself in the foot because maybe^Wprobably others know more then me. However you choose to munge your From: , and you don't have a Reply-To: , so it's kinda hard to figure out where to send my answer to.. Me and others are not here to solve riddles, so please try to make life a bit easier for those that invest some time and effort in this list. Thanks. Theo -- Theo v. Werkhoven ICBM 52 8 24N , 4 32 40E. S.u.S.E 7.3 x86 Kernel 2.4.16-4GB See headers for PGP/GPG info.
participants (2)
-
Theo v. Werkhoven
-
Thomas Nyman