ispCP - Board - Support
Mail not working? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Mail not working? (/thread-2588.html)

Pages: 1 2


Mail not working? - DiXeoN - 02-28-2008 04:00 AM

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?


RE: Mail not working? - Zothos - 02-28-2008 04:05 AM

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....


RE: Mail not working? - DiXeoN - 02-28-2008 04:08 AM

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


RE: Mail not working? - BeNe - 02-28-2008 06:06 AM

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


RE: Mail not working? - DiXeoN - 02-28-2008 07:09 AM

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


RE: Mail not working? - DiXeoN - 02-29-2008 06:35 AM

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!


RE: Mail not working? - joximu - 02-29-2008 09:49 AM

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


RE: Mail not working? - DiXeoN - 02-29-2008 06:31 PM

i clearly understand it.

But i dont know what i shall do to fix the problem?


RE: Mail not working? - joximu - 02-29-2008 07:45 PM

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.


RE: Mail not working? - DiXeoN - 02-29-2008 08:01 PM

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 ?