Operating System - Linux
1753915 Members
8468 Online
108810 Solutions
New Discussion юеВ

Re: PostFix SquirrelMail Suse 10 U1

 
rccmum
Super Advisor

PostFix SquirrelMail Suse 10 U1

Hello,

I am trying to configure a mail server based using PostFix SMTP-AUTH, POP3S, TLS and Squirrelmail.

I can sign on and read the INBOX using Squirrelmail but I can't send or receive emails. While trying to send en email, I get error : Connection refused server replied: 111 Can't open SMTP stream.

In the /var/mail/log, I see this
ipop3d: Command stream end of file while reading line user=??? host= [IP]

Does anyone know what's wrong in here?

Thanks in advance.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: PostFix SquirrelMail Suse 10 U1

Shalom,

squirrelmail uses a sendmail command to deliver mail to the mail queue.

Using postfix as your transport creates a potential problem.

To use squirrelmail, you need to provide imapd access to your system. Its theoretically possible to use cyrus, but I've had better luck with dovecot.

From what I can see, dovecot does a better job and is easier to use.

Also squirrelmail simply will not use popmail. You must use imap, otherwise it simply won't function.

So I'd suggest seeing if you have a daemon up and listening on port 143 for imap traffic, and if not, install and configure dovecot to do that job.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rccmum
Super Advisor

Re: PostFix SquirrelMail Suse 10 U1

The problem with the "connection refused" was that port wasn't opened. I did open it but the
squirrelmail gave error "Can't open SMTP stream". I don't know why.

But then I changed the port to 25, it squirrelmail was able to send an email. But the emails are getting bounded saying "Host or domain name not found. Name service error for name=localhost type=AAAA: Host not found)". I am getting this while sending email to a local user.

The DNS has only forward lookup for this host. I don't know if not having reverse lookup in the DNS will affect the local mail delivery.

Any thoughts?

Thanks



Steven E. Protter
Exalted Contributor

Re: PostFix SquirrelMail Suse 10 U1

PSB

>>
The problem with the "connection refused" was that port wasn't opened. I did open it but the
squirrelmail gave error "Can't open SMTP stream". I don't know why.
<<
squirrelmail uses sendmail as its mta. sendmail is not configured to use a real domain name recognized on the public Internet. There are a dozen different ways to make this happen. See http://www.sendmail.org for more information on this.
>>
But then I changed the port to 25, it squirrelmail was able to send an email. But the emails are getting bounded saying "Host or domain name not found. Name service error for name=localhost type=AAAA: Host not found)". I am getting this while sending email to a local user.
<<

>>
The DNS has only forward lookup for this host. I don't know if not having reverse lookup in the DNS will affect the local mail delivery.
>>
Reverse lookup will not effect local delivery of mail. If all you are trying to do is deliver mail to the local system you probably need go further.

Your internal DNS structure is not complete.

You need a complete DNS server with SOA, A records and such to properly process mail. You probably have such a server in your organization or perhaps you need to build one.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com