PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [Postfix] user kann absenderaddresse ändern



.:DENNIS:.
17.05.06, 17:43
hallo,

ich hab SuSE 10.0 und Postfix als Mailserver!
Nun ist das Problem, das ein User seine Absenderadresse ändern kann!
Heist:
username@domain.de kann verändert werden zu username2@domain.de

dies möchte ich verhindern, mit ausnahme von zwei Usern! Wie mache ich das??

meine postfixconf:


command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname = skydoom.de
mydomain = skydoom.de
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5


sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
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 = skydoom.de
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains = skydoom.de
mydestination = $myhostname, localhost.$mydomain, skydoom.de,
defer_transports =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
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_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
myorigin = skydoom.de
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
fallback_relay = skydoom.de
mydomain = skydoom.de
relayhost = [mail.selfhost.de]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous


was muss ich tun??

thx im vorraus!

grüße
dennis

tschloss
17.05.06, 18:34
Afaik gibt es da keine Standardmethode.
Gegen was sollte man das überhaupt checken (bestenfalls gegen eine Anmeldung, die ja auch schon über den Standard hinausgeht). Den Domainnamen evtl. aber den User?

Wenn du was findest, sag mal Bescheid.

Greetz
Thomas

.:DENNIS:.
17.05.06, 18:41
hmm...dann werd ich wohl weiter suchen müssen...

grüße
dennis