Current time: 05-07-2024, 06:46 AM Hello There, Guest! (LoginRegister)


Post Reply 
Postfix mailversand
Author Message
Tolga Offline
Junior Member
*

Posts: 32
Joined: Feb 2007
Reputation: 0
Post: #1
Postfix mailversand
Hallo zusammen,

ich arbeite mit ispcp seit geraumer zeit und bin auch voll zufrieden.
Jetzt habe ich ein problem und weiss nicht genau wie ich es lösen soll.

Es ist zwar nicht direkt ein ispcp problem aber vielleicht kann mir trozdem jemand helfen.

folgende server:

Debian etch
linux-vserver
ispcp RC4


Ich habe also 2 vserver. Diese sitzen hinter einem Cisco Router mit jeweils eigenen IP adressen.

server 1 lola ip 88.248.22.23
server 2 lula ip 88.248.22.24

Jetzt möchte ein user der auf lola sitzt einem user der auf lula sitzt eine mail schreiben.

DNS einträge und alles ist auch gemacht. die mailversendung nach aussen funktionert ebenfalls wunderbar. nur können die maschinen sich gegenseitig keine mails schicken.

die fehlermeldung ist immer die selbe:
Code:
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
E562971D083     1174 Wed Apr 30 15:22:45  user@abc.de
             (connect to mail.bac.de[88.248.22.24]: Connection refused)
                                         user@bac.de

Und diese meldung kommt in jede richtung.

Das muss irgendeine einstellung im postfix sein komme aber einfach nicht hinter.

könnte mir mal jemand nen tip geben ???

vielen dank im vorraus.

tolga
04-30-2008 11:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
--Nachtfalke--
Unregistered

 
Post: #2
RE: Postfix mailversand
poste mal deine postfix config.
04-30-2008 11:54 PM
Quote this message in a reply
Tolga Offline
Junior Member
*

Posts: 32
Joined: Feb 2007
Reputation: 0
Post: #3
RE: Postfix mailversand
--Nachtfalke-- Wrote:poste mal deine postfix config.

Maschine 1
Code:
command_directory            = /usr/sbin
daemon_directory             = /usr/lib/postfix

# Some common configuration parameters
inet_interfaces              = all
mynetworks_style             = host
mynetworks                   = 127.0.0.1,88.248.22.23



myhostname                   = abc.def.de
mydomain                     = def.de
myorigin                     = $myhostname

smtpd_banner                 = $myhostname ESMTP 18 Managed
setgid_group                 = postdrop

# Receiving messages parameters
mydestination                = $myhostname, $mydomain
append_dot_mydomain          = no
append_at_myorigin           = yes
local_transport              = local
virtual_transport            = virtual
transport_maps               = hash:/etc/postfix/ispcp/transport
alias_maps                   = hash:/etc/aliases
alias_database               = hash:/etc/aliases

# Delivering local messages parameters
mail_spool_directory         = /var/mail
# Mailboxquota
# => 0 for unlimited
# => 104857600 for 100 MB
mailbox_size_limit           = 0
mailbox_command              = procmail -a "$EXTENSION"

biff                         = no
recipient_delimiter          = +

local_destination_recipient_limit = 1000
local_recipient_maps         = unix:passwd.byname $alias_database

# ispCP Autoresponder parameters
ispcp-arpl_destination_recipient_limit = 1

# Delivering virtual messages parameters
virtual_mailbox_base         = /var/mail/virtual
virtual_mailbox_limit        = 0

virtual_mailbox_domains      = hash:/etc/postfix/ispcp/domains
virtual_mailbox_maps         = hash:/etc/postfix/ispcp/mailboxes

virtual_alias_maps           = hash:/etc/postfix/ispcp/aliases

virtual_minimum_uid          = 1000
virtual_uid_maps             = static:1000
virtual_gid_maps             = static:8

# SASL paramters
smtpd_sasl_auth_enable       = yes
smtpd_sasl_security_options  = noanonymous
smtpd_sasl_local_domain      = bcd.de
broken_sasl_auth_clients     = yes

smtpd_helo_required          = yes
smtpd_helo_restrictions      = permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_invalid_helo_hostname,
                               reject_non_fqdn_helo_hostname

smtpd_sender_restrictions    = reject_non_fqdn_sender,
                               reject_unknown_sender_domain,
                               permit_mynetworks,
                               permit_sasl_authenticated

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_data_restrictions      = reject_multi_recipient_bounce,
                               reject_unauth_pipelining

content_filter               = amavis:[127.0.0.1]:10024
smtpd_sasl_authenticated_header = yes

Maschine 2

Code:
command_directory = /usr/sbin
daemon_directory  = /usr/lib/postfix
program_directory = /usr/lib/postfix

inet_interfaces  = all
mynetworks_style = host

myhostname = bac.bac.de
mydomain   = bac.de
myorigin   = $mydomain

smtpd_banner = $myhostname Managed ESMTP 32.2
setgid_group = postdrop
mydestination       = $myhostname, $mydomain
append_dot_mydomain = no
append_at_myorigin  = yes
local_transport     = local
virtual_transport   = virtual
transport_maps      = hash:/etc/postfix/ispcp/transport
mail_spool_directory = /var/mail

mailbox_size_limit = 0
mailbox_command    = procmail -a "$EXTENSION"

biff = no
alias_database                    = hash:/etc/aliases
alias_maps = hash:/etc/aliases
daemon_timeout = 3600s
local_destination_recipient_limit = 1000
local_destination_concurrency_limit = 1000
bounce_queue_lifetime = 12h
maximal_queue_lifetime = 24h
local_recipient_maps              = unix:passwd.byname $alias_database
ispcp-arpl_destination_recipient_limit = 1

#
# Delivering virtual messages parameters;
#

virtual_mailbox_base    = /var/mail/virtual
virtual_mailbox_limit   = 0

virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_maps    = hash:/etc/postfix/ispcp/mailboxes

virtual_alias_maps      = hash:/etc/postfix/ispcp/aliases

virtual_minimum_uid     = 1001
virtual_uid_maps        = static:1001
virtual_gid_maps        = static:8

smtpd_sasl_auth_enable       = yes
smtpd_sasl2_auth_enable      = yes
smtpd_sasl_security_options  = noanonymous
smtpd_sasl_local_domain      = bac.de
broken_sasl_auth_clients     = yes
smtpd_sender_restrictions    = permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_unauth_destination

smtpd_recipient_restrictions = permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_unauth_destination
content_filter = amavis:[127.0.0.1]:10024

hoffe du findest was !!

grüße
tolga
05-01-2008 12:05 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: Postfix mailversand
ich bezweifle das das ein Problem von Postfix ist...

Machst du 1:1 NAT?

Was zeigt ein Portscan auf Port 25?

Was zeigt ein tcpdump mitschnitt?


Ich tippe eher auf ein Netzwerk/ Firewallproblem...
05-01-2008 12:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Tolga Offline
Junior Member
*

Posts: 32
Joined: Feb 2007
Reputation: 0
Post: #5
RE: Postfix mailversand
rbtux Wrote:ich bezweifle das das ein Problem von Postfix ist...

Machst du 1:1 NAT?

Was zeigt ein Portscan auf Port 25?

Was zeigt ein tcpdump mitschnitt?


Ich tippe eher auf ein Netzwerk/ Firewallproblem...

Hi nochmal,

ich sollte vielleicht noch folgendes hinzufügen.

Beide Maschinen sitzen hinter einem Cisco Router.
Haben aber unterschiedliche leitungen.

Ich habe jetzt mal versucht mails zu versenden von 2 maschinen die auf der gleichen leitung sitzen.
Das funktioniert auch.
Nur wenn der Cisco von der einen auf die andere Leitung rüber soll das schafft er nicht.

Vielleicht also doch eine einstellung vom Cisco.
Wobei die mir zugesichert hatten das es nicht an ihrem gerät liegt.

nun gut, es war sowieso geplant die eine leitung abzuschalten...
dann muss ich das eben beschleunigen jetzt.

danke nochmal für die hilfe..

grüße
tolga
05-01-2008 07:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: Postfix mailversand
routing tabellen korrekt??
05-01-2008 09:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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