Forward a copy of each mail to another smtp-server

2009-02-22 Thread Kai Szymanski
Hi!

Because i have to move from one server to another one (new hardware and
new provider) with all domains, i also have to move all emailaccounts to
the new server. Because i wan't to move "step by step" i have to think
about synchronisation of the email-accounts. My prefered way would be to
forward a copy of each incoming mail (old server) to the new server by smtp.

Is there a way to do so with postfix ?

Thanks a lot!

Best regards,
  Kai.



Postfix sometimes say's "Missing MXA record"

2009-04-20 Thread Kai Szymanski
Hi!

After moving our mailserver to another machine (with updated debian) our
postfix sometimes say's:

> I'm sorry to have to inform you that your message could not
> be delivered to one or more recipients. It's attached below.
>
> For further assistance, please send mail to 
>
> If you do so, please include this problem report. You can
> delete your own text from the attached returned message.
>
>The mail system
>
> : host mail.ourhost.bar[a.b.c.d] said: 554 5.7.7
> Missing MXA record . (in reply to end of DATA command)

The configuration is the same than the configuration on the old server.
In the logfile find:

smtpd: >>> CHECKING RECIPIENT MAPS <<<
smtpd: ctable_locate: leave existing entry key recipi...@ourhost.bar
smtpd: maps_find: recipient_canonical_maps: recipi...@ourhost.bar: not found
smtpd: match_string: ourhost.bar ~? mail.outhost.bar
smtpd: match_string: ourhost.bar ~? localhost.outhost.bar
smtpd: match_string: ourhost.bar ~? localhost
smtpd: match_list_match: ourhost.bar: no match
smtpd: maps_find: recipient_canonical_maps: @ourhost.bar: not found
smtpd: mail_addr_find: recipi...@ourhost.bar -> (not found)
smtpd: maps_find: canonical_maps: recipi...@ourhost.bar: not found
smtpd: match_string: ourhost.bar ~? mail.outhost.bar
smtpd: match_string: ourhost.bar ~? localhost.outhost.bar
smtpd: match_string: ourhost.bar ~? localhost
smtpd: match_list_match: ourhost.bar: no match
smtpd: maps_find: canonical_maps: @ourhost.bar: not found
smtpd: mail_addr_find: recipi...@ourhost.bar -> (not found)smtpd:
maps_find: virtual_alias_maps:
hash:/etc/postfix/virtualusers(0,lock|fold_fix): recipi...@ourhost.bar =
ste...@l
smtpd[16682]: mail_addr_find: recipi...@ourhost.bar -> recipi...@localhost
smtpd: smtpd_check_rewrite: trying: permit_inet_interfaces
smtpd: permit_inet_interfaces: localhost 127.0.0.1
smtpd: before input_transp_cleanup: cleanup flags =
enable_header_body_filter enable_automatic_bcc enable_address_mapp
smtpd: after input_transp_cleanup: cleanup flags =
enable_header_body_filter enable_automatic_bcc enable_address_mappi
smtpd: connect to subsystem public/cleanup
smtpd: public/cleanup socket: wanted attribute: queue_id
smtpd: input attribute name: queue_id
smtpd: input attribute value: 521D38B4068
smtpd: public/cleanup socket: wanted attribute: (list terminator)
smtpd: input attribute name: (end)
smtpd: send attr flags = 178
smtpd: 521D38B4068: client=localhost[127.0.0.1]
smtpd: > localhost[127.0.0.1]: 250 2.1.5 Ok

Looks ok...but the message never reaches recipi...@outhost.bar. This
only sometimes happens (most time the message will reach the client).

Thanks for your help.

Best regards,
  Kai.



Re: Postfix sometimes say's "Missing MXA record"

2009-04-20 Thread Kai Szymanski
Hi!

Shame on me...problem was'nt postfix. The spamfilter did the mistake
(no: The postmaster who configured it...that's me ;).

Sorry!

Best regards,
  Kai.



Encrypt attachments

2012-03-29 Thread Kai Szymanski

Hi!

For a customer i have to implement "on the fly" encryption for 
attachments. Means:


1) Send Mail to Customer

- Postfix receive email by smtp from local sender

- Check if Recipient is in DB. If not => Forward message by smtp to 
customer


- If customer is in DB, detach Attachments, create a encrypted 
zip-Archiv (password comes from db), re-attach it to email and forward 
it by smtp to customer


Is there a place where i can find more informations about doing it or 
exists there a "ready" solution ?


Thanks a lot!

Best regards,
  Kai.



Re: Encrypt attachments

2012-03-29 Thread Kai Szymanski

Hi Andreas,

That's why e-mail encryption (S/MIME, PGP) was invented for. Why 
reinvent the wheel?


You are right...and not ;)

Problem: If we use for example gpg rhe !other side! also have to use gpg 
and needs to have a key infrastructure implemented. Most of the 
"customer customers" don't have very much "computer skills" to realize 
that kind of things. They can use for example Winzip but nothing 
moreso i seek for "the middle course" beweeen security <-> usibility.


But maybe i'am wrong ?

Thanks!

Best regards,
  Kai.

--
Kai Szymanski

Auf dem Peterswerder 17
28205 Bremen

EMail k...@codebiz.de / Web http://www.codebiz.de

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und löschen Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail und der 
darin enthaltenen Informationen sind nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly forbidden.