>>Привет колеги:)
>>
>>как то неполучается forward сделать на постификсе, .
>>дайте пожалуйста ссылку или как либо обьяцните.
>>
>>благодарю заранее
>
>Незачто. Что значит форвард? Может имелось в виду релей? Конфиг и кусок
>лога на котором вы что-то пытаетесь сделать в студию. da replay. nemnogo o sisteme: stoit linuks server, na nem postfix s cyrusom.
s cyradm -user cyrus -server localhost ja sozdaju juzerov,
zadaju im parol passwd <polzovatel>
zatem aliasi zapisivaju, i delaju newaliases.
i dopustim 4elovek v otpusk ushel, to emu nado sdelat avtomati4eskij replay, 4to on v otpuske,
daju konfig, mozet 4toto drugoje nado, ne tolko etot konfig, i mozet log drugoj nuzen?
main.cf:
----------------------------------------------
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450
local_destination_concurrency_limit = 20
local_destination_recipient_limit = 300
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_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = 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 = mail.mpd.lv
mydomain = mpd.lv
myorigin = $mydomain
relay_domains = $mydestination
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = $myhostname localhost.$mydomain localhost $mydomain
defer_transports =
mynetworks_style = subnet
disable_dns_lookups = no
relayhost =
mailbox_command =
mailbox_transport = cyrus
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access,
permit_mynetworks,
permit_sasl_authenticated,
permit_tls_clientcerts,
reject_invalid_hostname,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
reject_unauth_destination,
reject_non_fqdn_recipient,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client l1.spews.dnsbl.sorbs.net,
reject_rbl_client combined.njabl.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client dialups.mail-abuse.org,
reject_rbl_client opm.blitzed.org,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client dul.dnsbl.sorbs.net,
reject_rhsbl_sender rhsbl.sorbs.net,
reject_rhsbl_client rhsbl.sorbs.net
maps_rbl_domains = bl.spamcop.net
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_data_restrictions = permit_mynetworks,
reject_unauth_pipelining
#--------------------SECURITY SASL AUTH-----------------
smtpd_sasl_application_name = smtpd
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_authenticated_header = yes
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 2
smtpd_tls_receive_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 20480000
content_filter=
-----------------------------------------------------
master.cf
smtp inet n - n - 2 smtpd -o content_filter=smtp:[127.0.0.1]:10024
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
localhost:10025 inet n - n - - smtpd -o content_filter=
scache unix - - n - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
------------------------------
log
Aug 28 11:05:01 mail postfix/smtpd[28334]: 125102B226: client=smtp4.CREBIT.EE[193.40.195.168]
Aug 28 11:05:01 mail postfix/cleanup[28337]: 125102B226: message-id=<EC921B49128B2D458C53B60F456AFC51047492C3@manny.int.hansa.ee>
Aug 28 11:05:03 mail postfix/qmgr[11829]: 125102B226: from=<Grazvydas.Brazaitis@hansa.lv>, size=178315, nrcpt=1 (queue active)
Aug 28 11:05:03 mail postfix/smtpd[28334]: disconnect from smtp4.CREBIT.EE[193.40.195.168]
Aug 28 11:05:03 mail postfix/smtpd[28341]: connect from localhost[127.0.0.1]
Aug 28 11:05:03 mail postfix/smtpd[28341]: 8D5672B35B: client=localhost[127.0.0.1]
Aug 28 11:05:03 mail postfix/cleanup[28337]: 8D5672B35B: message-id=<EC921B49128B2D458C53B60F456AFC51047492C3@manny.int.hansa.ee>
Aug 28 11:05:03 mail postfix/qmgr[11829]: 8D5672B35B: from=<Grazvydas.Brazaitis@hansa.lv>, size=178719, nrcpt=1 (queue active)
Aug 28 11:05:03 mail postfix/smtpd[28341]: disconnect from localhost[127.0.0.1]
Aug 28 11:05:03 mail postfix/smtp[28352]: 125102B226: to=<d.zvinyte@mpd.lv>, relay=127.0.0.1[127.0.0.1], delay=47, status=sent (250 2.6.0 Ok, id=28318-07, from MTA([127.0.0.1]:10025): 250 Ok: queued as 8D5672B35B)
Aug 28 11:05:03 mail postfix/qmgr[11829]: 125102B226: removed
Aug 28 11:05:04 mail postfix/pipe[28395]: 8D5672B35B: to=<donataz@mpd.lv>, orig_to=<d.zvinyte@mpd.lv>, relay=cyrus, delay=1, status=sent (mpd.lv)
Aug 28 11:05:04 mail postfix/qmgr[11829]: 8D5672B35B: removed