Current time: 11-01-2024, 05:26 PM Hello There, Guest! (LoginRegister)


Post Reply 
Mail not working?
Author Message
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #1
Mail not working?
Hello..

I just installed and setup a IspCp panel, and everything works great.

Just except of the mails :S

Cant send/receive any mail from the server, why?

Maybe because i configured the mail-program wrong?

I use Debian 4.0 with the newest IspCp

I tried sending mail trough a PhpBB3 forum, and other types of precoded stuff.
Nothing worked.


So please, help me.

Maybe i should try a reinstall?
02-28-2008 04:00 AM
Find all posts by this user Quote this message in a reply
Zothos Offline
Release Manager
*****
Dev Team

Posts: 1,262
Joined: Feb 2007
Reputation: 10
Post: #2
RE: Mail not working?
OS:
32bit/64bit:
RC/Revision:
Install date:
VM/Real Server:

and then please post some log entrys when you send a mail -> mail.log mail.err mail.warn and so on....
02-28-2008 04:05 AM
Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #3
RE: Mail not working?
Zothos Wrote:OS:
32bit/64bit:
RC/Revision:
Install date:
VM/Real Server:

and then please post some log entrys when you send a mail -> mail.log mail.err mail.warn and so on....

OS: Debian 4.0
32bit/64bit: 32bit
RC/Revision: RC3 i guess
Install date: Cant remember
VM/Real Server: VMWare

I have forwardet all neccessary ports in my router/firewall

Cant get the logs ATM because our net is down at home, but i will, if it goes up again
02-28-2008 04:08 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Mail not working?
Quote:Cant get the logs ATM because our net is down at home, but i will, if it goes up again
Ok - without we can do nothing..
Maybe you can also post the output of
Code:
postconf -n

Greez BeNe
02-28-2008 06:06 AM
Visit this user's website Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #5
RE: Mail not working?
BeNe Wrote:
Quote:Cant get the logs ATM because our net is down at home, but i will, if it goes up again
Ok - without we can do nothing..
Maybe you can also post the output of
Code:
postconf -n

Greez BeNe


Will fix them when i get access to my server again
02-28-2008 07:09 AM
Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #6
RE: Mail not working?
My log is very heavy, so here is a part with some errors in:

mail.log:

Code:
Feb 26 07:00:57 frede92 postfix/smtp[21874]: connect to gmail-smtp-in.l.google.com[66.249.91.27]: Connection refused (port 25)
Feb 26 07:00:57 frede92 postfix/smtp[21876]: connect to gmail-smtp-in.l.google.com[66.249.91.27]: Connection refused (port 25)
Feb 26 07:00:58 frede92 postfix/smtp[21875]: connect to alt1.gmail-smtp-in.l.google.com[209.85.147.27]: Connection refused (port 25)

And something from mail.warn:

Code:
Feb 26 23:24:19 frede92 postfix/smtp[8221]: warning: host frede92.lir.dk[86.52.232.17]:25 replied to HELO/EHLO with my own hostname frede92.lir.dk
Feb 26 23:24:19 frede92 postfix/smtp[8223]: warning: host frede92.lir.dk[86.52.232.17]:25 greeted me with my own hostname frede92.lir.dk
Feb 25 06:29:50 frede92 postfix/trivial-rewrite[25282]: warning: do not list domain frede92.lir.dk in BOTH mydestination and virtual_mailbox_domains

postconf -n:

Code:
alias_database = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = frede92.lir.dk.local
myhostname = frede92.lir.dk
mynetworks_style = host
myorigin = $myhostname
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP ispCP 1.0 Priamos Managed 1.0.0 RC3 OMEGA
smtpd_data_restrictions = reject_multi_recipient_bounce,                               reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,                               permit_sasl_authenticated,                               reject_invalid_helo_hostname,                               reject_non_fqdn_helo_hostname
smtpd_recipient_restrictions = reject_non_fqdn_recipient,                               reject_unknown_recipient_domain,                               permit_mynetworks,                               permit_sasl_authenticated,                               reject_unauth_destination,                               reject_unlisted_recipient,                               check_policy_service inet:127.0.0.1:12525,                               check_policy_service inet:127.0.0.1:60000,                               permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sender_restrictions = reject_non_fqdn_sender,                               reject_unknown_sender_domain,                               permit_mynetworks,                               permit_sasl_authenticated
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001


Hope thats all you guys need to help me!
02-29-2008 06:35 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: Mail not working?
ok, before we try the google thing you have to remove the other problems.

your "mail.warn" helps you!!!!! it's clear, it's english - what do you need more?

Shall I read it for you and send an mpg? Smile
02-29-2008 09:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #8
RE: Mail not working?
i clearly understand it.

But i dont know what i shall do to fix the problem?
02-29-2008 06:31 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: Mail not working?
you should not use the same hostname/domainname in mydestination (this is set to $myhostname, $mydomain, which is frede92.lir.dk, frede92.lir.dk.local) and in virtual_mailbox_domains:

you cannot use frede92.lir.dk in ispcp as a domain name or you need to give you host (at least for posfix) another name. If lir.dk is your tld, then add another hostname in front (e.g. frede92.lir.dk -> ispcp.frede92.lir.dk). Change this also in main.cf from postfix.

And please don't use the same hostname (FQHN) with two servers... you also don't like it when you have to talk with your double...

then try to connect to port 25 and have a look whats happening in the log.
(This post was last modified: 02-29-2008 07:45 PM by joximu.)
02-29-2008 07:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #10
RE: Mail not working?
well, actually i didnt understand 100% of the first part..

I will try to reinstall it all, when i got my new server up and running.

And then, when im going to give a hostname in debain, i may not use frede92.lir.dk because thats my domain name, but i must use e.g. ispcp.frede92.lir.dk, right ?
02-29-2008 08:01 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)