Hello Petur,
Petur Kirke píše v Po 16. 02. 2009 v 21:40 +0000:
I have 2 more questions:
1)
When i create one contact with fred-client (create_contact), i need to
specify 2 different email addresses. One is named "email", and the
other is name "notification email".
When an update is made to one domain, lets say the customer is
changing the address information for one domain. In this case, will
the email notification be sent to the "notification email" ?
And the "email" is just for information ?
Can you explain this brief ?
notifyemail
-----------
This email is used for EPP commmands notification. If contact filled
this email (it can be empty) we send him notification email after almost
every EPP command which concerns this contact. These are types of emails
used in this communication:
fred=> select * from mail_type where id in (10,11,12,13,15);
id | name |
subject
----+-----------------------+-------------------------------------------------------------------
10 | notification_create | Oznámení o registraci / Registration
notification
11 | notification_update | Oznámení změn / Notification of changes
12 | notification_transfer | Oznámení o transferu / Transfer
notification
13 | notification_renew | Oznámení o prodloužení platnosti / Domain
name renew notification
15 | notification_delete | Oznámení o zrušení / Delete notification
(5 rows)
email
-----
This email is required attribute of contact and we send to this email
any other email communication. This means automatic (for example
information about expiration of domain) and manual (our helpdesk need to
send him some other important information) sending. These are types of
emails used in this automatic communication:
fred=> select * from mail_type where id in (1,2,3,4,5,6,7,8,9,14,16,20);
id | name |
subject
----+------------------------------+--------------------------------------------------------------------------------------------------------
1 | sendauthinfo_pif | Zaslání autorizační informace /
Sending authorization information
2 | sendauthinfo_epp | Zaslání autorizační informace /
Sending authorization information
3 | expiration_notify | Upozornění na nutnost úhrady
domény / Reminder of the need to settle fees for the domain
4 | expiration_dns_owner | Oznámení o vyřazení domény z DNS /
Notification about inactivation of the domain from DNS
5 | expiration_register_owner | Oznámení o zrušení domény /
Notification about cancellation of the domain
6 | expiration_dns_tech | Oznámení o vyřazení domény z DNS /
Notification about withdrawal of the domain from DNS
7 | expiration_register_tech | Oznámení o zrušení domény /
Notification about cancellation of the domain
8 | expiration_validation_before | Oznámení vypršení validace enum
domény / Notification about expiration of the enum domain validation
9 | expiration_validation | Oznámení o vypršení validace enum
domény / Notification about expiration of the enum domain validation
14 | notification_unused | Oznámení o zrušení / Delete
notification
16 | techcheck | Výsledek technického testu /
Technical check result
20 | request_block | Informace o vyřízení žádosti /
Information about processing of request
Remaining mailtypes (invoice_*) are used for communication with
registrars.
2)
Which email software can be used with Fred ? Sendmail ?
And i need to setup one email software, before all the mail functions in Fred is working,
right ?
You can use any mailer which has command line sending client with
parameters compatible with Sendmail. This client can be configured
in /etc/fred/pyfred.conf:
Petur
________________________________________
Fra: fred-users-bounces(a)lists.nic.cz [fred-users-bounces(a)lists.nic.cz] På vegne
af Jaromír Talíř [jaromir.talir(a)nic.cz]
Sendt: 13. februar 2009 14:28
Til: fred-users(a)lists.nic.cz
Emne: Re: SV: sending emails to customers
This procedure is imporant part of Fred processes. It automates lot of
things. According to fred-admin --help it's just shortcut for list of
other things:
--object_regular_procedure shortcut for 2x update_object_states,
notify_state changes,
poll_create_statechanges
, object_delete_candidates,
poll_create_low_credit,
notify_letters_create
--update_object_states - This command update state of objects - it
compares actual time, expiration dates on domains, last usage dates on
contact and nssets and mark those object with flags like (expired,
ouzone, deleteCandidate...). It's called twice to catch race condition -
if somebody should renew domain during this procedure. It's state is
reverted back in second run. Domains with 'outzone' state are not
generation into zone dile
--notify_state_changes - Go through objects and find states that should
be followed by client notification. For those object/state combinations
send email to object owner. For example registrants are this way
notified about approaching expiration, about getting outzone, about
deleting of object...etc
--poll_create_statechanges - Similar to previous but this way registrars
are informed using 'poll messages' mechanism. New message is created in
system and registrars can download this message using poll EPP command.
--object_delete_candidates - All objects marked by state deleteCandidate
are deleted. Domains get this state 45 days after expiration date.
Contact and NSSets get this state after six months of not using them.
--poll_create_low_credit - Special check for credit of registrars. If
credit of registrar fall under some configured limit. New poll message
is created for this registrar with information that credit is low.
--notify_letters_create - Few weeks before deleteing of domain we send
regular paper letter to registrant with information that his domain is
really going to be deleted. This procedure generates PDF document with
those letters. Our staff download this PDF file using web administration
interface, print it on printer, put it into envelopes and send it.
We call this procedure each day at 2pm from cron script.
Regards
Jaromir
Petur Kirke píše v St 11. 02. 2009 v 15:40 +0000:
what does
fred-admin --object_regular_procedure
do ?
does it send all emails in a queue ? and empty the queue ?
petur
________________________________________
Fra: fred-users-bounces(a)lists.nic.cz [fred-users-bounces(a)lists.nic.cz] På vegne
af Jaromír Talíř [jaromir.talir(a)nic.cz]
Sendt: 2. februar 2009 14:37
Til: fred-users(a)lists.nic.cz
Emne: Re: sending emails to customers
Petur Kirke píše v Po 26. 01. 2009 v 14:33 +0000:
I think FRED contains one or more functions, that
can be used for
sending emails.
How do i send emails, and where can i find documentation about this ?
Sending emails to contacts is done in multiple situations. All these
situations are described in this document:
http://dsdng.nic.cz/attachment/wiki/attachments/communication_rules.pdf?for…
Chapter 7: Central registry communication
Emails are based on template systems and all email templates are stored
in database in mail_templates table. These templates contain variables
that are replaces with real content before sending. You can customize
these email templates the way you like.
Sending of emails take place during regular daily procedure accessible
through command line tool fred-admin. You should put into crontab this
call with daily period:
fred-admin --object_regular_procedure
Regards,
Jaromir
regards
Petur
This email and its attachments may be confidential and are intended
solely for the use of the individual to whom it is addressed.
If you are not the intended recipient or authorized to receive
information for the intended recipient you are notified that
disclosing, copying, distributing or taking any action in reliance on
the contents of this information is strictly prohibited. If the email
contains proposals, they are valid for 30 days following the date of
email transmission. Finally, the recipient should check this email and
any attachment for the presence of viruses. The company accepts no
liability for any damage caused by any virus transmitted by email.
_______________________________________________
Fred-users mailing list
Fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users
This email and its attachments may be confidential and are intended solely for the use of
the individual to whom it is addressed.
If you are not the intended recipient or authorized to receive information for the
intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. If the
email contains proposals, they are valid for 30 days following the date of email
transmission. Finally, the recipient should check this email and any attachment for the
presence of viruses. The company accepts no liability for any damage caused by any virus
transmitted by email.
_______________________________________________
Fred-users mailing list
Fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users
This email and its attachments may be confidential and are intended solely for the use of
the individual to whom it is addressed.
If you are not the intended recipient or authorized to receive information for the
intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. If the
email contains proposals, they are valid for 30 days following the date of email
transmission. Finally, the recipient should check this email and any attachment for the
presence of viruses. The company accepts no liability for any damage caused by any virus
transmitted by email.
_______________________________________________
Fred-users mailing list
Fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users