HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   DNS Config Problem (http://www.howtoforge.com/forums/showthread.php?t=248)

bolinux 13th August 2005 19:09

DNS Config Problem
 
Hallo,

zuerst einmal vielen Dank für die Wahnsinns Anleitung für Suse uns ISPConfig.
Hat alles wunderbar geklappt, hab jetzt nur ein Problem mit der DNS Config.
Wie, wo und was muss ich im ISPConfig eintragen das alles funktioniert, also www geht aber Mail geht nicht hab folgende Fehlermeldung:

Quote:

Das E-Mail-System konnte diese Nachricht nicht übermitteln, ohne einen besonderen Grund dafür anzugeben. Sie die Adresse, und versuchen Sie es dann erneut. Wenn die Übermittlung nochmals fehlschlägt, wenden Sie sich an den Systemadministrator. < advx.xyz.com #5.0.0 X-Postfix; mail for yxz.de loops back to myself>
Hab die Domains bei Lycos wo ich diverse DNS Parameter setzen kann, oder gleich einen anderen DNS-Server
zum verwalten der Zonen angeben kann, ist das dann meine Server?

Danke schon mal

bolinux

Suse 9.3 ISPconfig 2.0.6

falko 13th August 2005 20:19

Ok, I answer in English so that the others can understand this, too. :)

Quote:

Wie, wo und was muss ich im ISPConfig eintragen das alles funktioniert, also www geht aber Mail geht nicht hab folgende Fehlermeldung:

Quote:
Das E-Mail-System konnte diese Nachricht nicht übermitteln, ohne einen besonderen Grund dafür anzugeben. Sie die Adresse, und versuchen Sie es dann erneut. Wenn die Übermittlung nochmals fehlschlägt, wenden Sie sich an den Systemadministrator. < advx.xyz.com #5.0.0 X-Postfix; mail for yxz.de loops back to myself>
You need to put the domain xyz.de into /etc/postfix/local-host-names and restart Postfix. Please have a look at this post:
http://www.howtoforge.com/forums/sho...80&postcount=2

bolinux 13th August 2005 20:34

thx for your fast reply!

ok, I answer in English to, but i do not think others can understand this! :rolleyes:

i resolve the problem, i have make a bad dns entry in my lycos dns controle pannel. :confused:

now it works fine!

but one question more: why do my mail client not need "authentication" for smtp? is this okay?

bolinux

till 13th August 2005 20:38

Quote:

Originally Posted by bolinux
thx for your fast reply!

ok, I answer in English to, but i do not think others can understand this! :rolleyes:

i resolve the problem, i have make a bad dns entry in my lycos dns controle pannel. :confused:

now it works fine!

but one question more: why do my mail client not need "authentication" for smtp? is this okay?

bolinux

You never need SMTP-Auth for local Domains. But when you try to send an email to e.g. an yahoo mail account, it should fail without smtp-auth.

bolinux 13th August 2005 20:44

Okay, you mean only exsisting domain user can send mail via my server?
i m, a littel paranoid about some body rapped my server. :eek:

bolinux

till 13th August 2005 20:48

Quote:

Originally Posted by bolinux
Okay, you mean only exsisting domain user can send mail via my server?
i m, a littel paranoid about some body rapped my server. :eek:

bolinux

Yes, only existing domain users can use your server as mailrelay. You can check this by sending an email trough your server to a recipient outside your server without smtp-auth enabled in your mailclient. Sending this mail should fail.

bolinux 13th August 2005 21:02

No, it works without smtp-auth too! :confused:
How to fix this? i use your install suse howto, maybe i fail?

bolinux 13th August 2005 21:04

Quote:

Originally Posted by bolinux
No, it works without smtp-auth too! :confused:
How to fix this? i use your install suse howto, maybe i fail?

here my main.cfg

inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
#virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = advx.$mydomain
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
#mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes
smtpd_use_tls = yes
smtp_use_tls = yes
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
mydomain = xyz.com
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox = Maildir/

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names

till 13th August 2005 21:07

Quote:

Originally Posted by bolinux
No, it works without smtp-auth too! :confused:
How to fix this? i use your install suse howto, maybe i fail?

Do you have this line in your postfix main.cf?

smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_ relay_domains

and have you restarted postfix after changing main.cf?

/etc/init.d/postfix restart

bolinux 13th August 2005 21:08

yes, i have!?


All times are GMT +2. The time now is 20:22.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.